Changeset 9117 in orxonox.OLD for branches/presentation/src/util
- Timestamp:
- Jul 4, 2006, 1:21:19 PM (18 years ago)
- Location:
- branches/presentation/src/util
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/util/multiplayer_team_deathmatch.cc
r9110 r9117 792 792 } 793 793 794 float MultiplayerTeamDeathmatch::getPlayableScale( int userId, int team, ClassID classId ) 795 { 796 if ( classId == CL_FPS_PLAYER ) 797 { 798 return 10.0f; 799 } 800 801 return 1.0f; 802 } -
branches/presentation/src/util/multiplayer_team_deathmatch.h
r9110 r9117 41 41 virtual std::string getPlayableModelTextureFileName( int userId, int team, ClassID classId ); 42 42 virtual std::string getPlayableModelFileName( int userId, int team, ClassID classId ); 43 virtual float getPlayableScale( int userId, int team, ClassID classId ); 43 44 44 45 virtual void registerSpawn( WorldEntity * we ); -
branches/presentation/src/util/network_game_rules.cc
r9110 r9117 68 68 69 69 70 float NetworkGameRules::getPlayableScale( int userId, int team, ClassID classId ) 71 { 72 return 1.0f; 73 } -
branches/presentation/src/util/network_game_rules.h
r9110 r9117 24 24 virtual std::string getPlayableModelFileName( int userId, int team, ClassID classId ); 25 25 virtual std::string getPlayableModelTextureFileName( int userId, int team, ClassID classId ); 26 virtual float getPlayableScale( int userId, int team, ClassID classId ); 26 27 27 28 virtual PlayerStats * getNewPlayerStats( int userId ){ return new PlayerStats( userId ); }
Note: See TracChangeset
for help on using the changeset viewer.