Changeset 9141 in orxonox.OLD for branches/presentation/src/util
- Timestamp:
- Jul 4, 2006, 3:18:25 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/util/multiplayer_team_deathmatch.cc
r9119 r9141 305 305 return "models/creatures/doom_guy.md2"; 306 306 else if ( team == 1 ) 307 return "models/creatures/ doom_guy.md2";307 return "models/creatures/male.md2"; 308 308 else 309 309 return ""; 310 } 311 312 std::string MultiplayerTeamDeathmatch::getPlayableModelTextureFileName( int userId, int team, ClassID classId ) 313 { 314 if ( classId == CL_FPS_PLAYER ) 315 { 316 if ( team == 0 ) 317 return "maps/doom_guy.png"; 318 else 319 return "maps/male_fiend.pcx"; 320 } 321 322 return ""; 323 } 324 325 float MultiplayerTeamDeathmatch::getPlayableScale( int userId, int team, ClassID classId ) 326 { 327 if ( classId == CL_FPS_PLAYER ) 328 { 329 return 10.0f; 330 } 331 332 return 1.0f; 310 333 } 311 334 … … 781 804 } 782 805 783 std::string MultiplayerTeamDeathmatch::getPlayableModelTextureFileName( int userId, int team, ClassID classId ) 784 { 785 if ( classId == CL_FPS_PLAYER ) 786 { 787 return "maps/doom_guy.png"; 788 } 789 790 return ""; 791 } 792 793 float MultiplayerTeamDeathmatch::getPlayableScale( int userId, int team, ClassID classId ) 794 { 795 if ( classId == CL_FPS_PLAYER ) 796 { 797 return 10.0f; 798 } 799 800 return 1.0f; 801 } 806
Note: See TracChangeset
for help on using the changeset viewer.