- Timestamp:
- Jul 25, 2006, 2:16:40 PM (18 years ago)
- Location:
- branches/proxy/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/util/multiplayer_team_deathmatch.cc
r9416 r9455 306 306 307 307 if ( team == 0 || team == 1 ) 308 return CL_ FPS_PLAYER;308 return CL_TURBINE_HOVER; 309 309 310 310 assert( false ); … … 313 313 std::string MultiplayerTeamDeathmatch::getPlayableModelFileName( int userId, int team, ClassID classId ) 314 314 { 315 if (classId == CL_TURBINE_HOVER) 316 return "models/ships/hoverglider_mainbody.obj"; 315 317 if ( team == 0 ) 316 318 return "models/creatures/doom_guy.md2"; -
branches/proxy/src/world_entities/spawning_point.cc
r9452 r9455 201 201 * Just override this function with whatever you want to be drawn. 202 202 */ 203 void SpawningPoint::draw() 203 void SpawningPoint::draw() const 204 204 { 205 205 } -
branches/proxy/src/world_entities/spawning_point.h
r9008 r9455 50 50 virtual void loadParams(const TiXmlElement* root); 51 51 52 inline int getTeamId() { return this->teamId; }53 inline void setTeamId( int teamId ) { this->teamId = teamId; }52 inline int getTeamId() const { return this->teamId; } 53 inline void setTeamId( int teamId ) { this->teamId = teamId; } 54 54 55 55 void pushEntity(Playable* entity, float delay = 0); … … 63 63 64 64 virtual void tick(float dt); 65 virtual void draw() ;65 virtual void draw() const; 66 66 67 67 68 68 private: 69 69 void spawn(Playable* entity); 70 70 71 71 void sendRespawnMessage( int uniqueId ); 72 72 static bool respawnMessageHandler( MessageId messageId, byte * data, int dataLength, void * someData, int userId );
Note: See TracChangeset
for help on using the changeset viewer.