Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7039 in orxonox.OLD for trunk/src/util/multiplayer_team_deathmatch.h


Ignore:
Timestamp:
Feb 6, 2006, 12:47:01 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.h

    r7037 r7039  
    1616class ObjectManager;
    1717class Player;
     18class Billboard;
    1819
    1920
     
    3738    inline void setDeathPenaltyTimeout(float time) { this->deathTimeout = time; }
    3839    inline void setMaxKills(int kills) { this->maxKills = kills; }
     40    void setDeathScreen(const char* imageName);
    3941
    4042  protected:
     
    4446    bool               bLocalPlayerDead;           //!< true if the local player is dead
    4547    float              deathTimeout;               //!< timeout a player cannot play if he/she dies
     48    float              timeout;                    //!< time counted if player dead
    4649    int                maxKills;                   //!< max kills for winning condition
    4750
    4851    int                teamAKills;                 //!< kills of team A
    4952    int                teamBKills;                 //!< kills of team B
     53
     54    Billboard*         deathScreen;                //!< the death screen
    5055};
    5156
Note: See TracChangeset for help on using the changeset viewer.