Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7040 in orxonox.OLD


Ignore:
Timestamp:
Feb 6, 2006, 12:49:15 AM (18 years ago)
Author:
patrick
Message:

trunk: game rules definitions added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/multiplayer_team_deathmatch.cc

    r7039 r7040  
    4040  this->bLocalPlayerDead = false;
    4141  this->deathTimeout = 10.0f;     // 5 seconds
     42
    4243  this->deathScreen = new Billboard();
    4344  this->deathScreen->setSize(State::getResX(), State::getResY());
     45  this->deathScreen->setAbsCoor2D(State::getResX()/2.0f, State::getResY()/2.0f);
     46  //this->deathScreen->setVisibility(false);
    4447
    4548  if( root != NULL)
     
    5760void MultiplayerTeamDeathmatch::loadParams(const TiXmlElement* root)
    5861{
    59   GameRules::loadParams(root);
     62  GameRules::loadParams(root) ;
    6063
    6164  LoadParam(root, "death-penalty-timeout", this, MultiplayerTeamDeathmatch, setDeathPenaltyTimeout)
Note: See TracChangeset for help on using the changeset viewer.