Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 12, 2006, 10:49:23 PM (19 years ago)
Author:
rennerc
Message:

players can change teams while playing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/util/multiplayer_team_deathmatch.h

    r8147 r8331  
    2727
    2828
    29 class MultiplayerTeamDeathmatch : public NetworkGameRules
     29class MultiplayerTeamDeathmatch : public NetworkGameRules, public EventListener
    3030{
    3131
     
    5555   
    5656    int getRandomTeam();
     57   
     58    virtual void process(const Event &event);
    5759
    5860  protected:
     
    7476    float              gameStateTimer;             //!< if less than 0 -> change game state
    7577
     78    bool               bShowTeamChange;            //!< if true -> show team change dialog
     79
    7680    OrxGui::GLGuiBox* box;
    7781
     
    8791    void onButtonTeam0();
    8892    void onButtonTeam1();
     93    void onButtonCancel();
    8994    void onButtonExit();
    9095};
Note: See TracChangeset for help on using the changeset viewer.