Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 26, 2006, 4:46:25 PM (18 years ago)
Author:
patrick
Message:

merged the network branche back to trunk

File:
1 edited

Legend:

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

    r8708 r8802  
    4141    virtual std::string getPlayableModelFileName( int userId, int team, ClassID classId );
    4242
    43     virtual void onPlayerSpawn();
    44     virtual void onPlayerDeath();
    45 
     43    virtual void registerSpawn( WorldEntity * we );
    4644
    4745    virtual void tick(float dt);
     
    5048    inline void setDeathPenaltyTimeout(float time) { this->deathTimeout = time; }
    5149    inline void setMaxKills(int kills) { this->maxKills = kills; }
    52     void setDeathScreen(const std::string& imageName);
    5350   
    5451    inline void setNumTeams( int numTeams ){ this->numTeams = numTeams; }
     
    5855   
    5956    virtual void process(const Event &event);
     57   
     58    void onKill( int killedUserId, int userId );
     59    void onRespawn( int userId );
    6060   
    6161    virtual void handleChatMessage( int userId, const std::string & message, int messageType );
     
    7373
    7474    std::map<int,int>  teamScore;                  //!< team score
    75 
    76     ImagePlane*        deathScreen;                //!< the death screen
    7775
    7876    int                currentGameState;           //!< game state
     
    10098   
    10199    void onInputEnter( const std::string & text );
     100   
     101    OrxGui::GLGuiBox* statsBox;
     102    OrxGui::GLGuiTable* table;
     103    void tickStatsTable();
     104   
     105    void showStats();
     106    void hideStats();
    102107};
    103108
Note: See TracChangeset for help on using the changeset viewer.