Changeset 7037 in orxonox.OLD for trunk/src/util/multiplayer_team_deathmatch.cc
- Timestamp:
- Feb 6, 2006, 12:05:23 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/multiplayer_team_deathmatch.cc
r7035 r7037 35 35 this->setClassID(CL_MULTIPLAYER_TEAM_DEATHMATCH, "MultiplayerTeamDeathmatch"); 36 36 37 this->bLocalPlayerDead = false; 38 this->deathTimeout = 10.0f; // 5 seconds 39 37 40 if( root != NULL) 38 41 this->loadParams(root); … … 50 53 { 51 54 GameRules::loadParams(root); 55 56 LoadParam(root, "death-penalty-timeout", this, MultiplayerTeamDeathmatch, setDeathPenaltyTimeout) 57 .describe("sets the time in seconds a player has to wait for respawn"); 58 59 LoadParam(root, "max-kills", this, MultiplayerTeamDeathmatch, setMaxKills) 60 .describe("sets the maximal kills for winning condition"); 52 61 } 53 62 … … 74 83 */ 75 84 void MultiplayerTeamDeathmatch::tick(float dt) 76 {} 85 { 86 87 } 77 88 78 89
Note: See TracChangeset
for help on using the changeset viewer.