Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 1, 2006, 6:36:55 PM (18 years ago)
Author:
rennerc
Message:

teamchoice works now

File:
1 edited

Legend:

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

    r8068 r8096  
    1212#include "network_game_rules.h"
    1313
     14#include "glgui_box.h"
    1415
    1516class TiXmlElement;
     
    3637
    3738    virtual int getTeamForNewUser();
    38     virtual ClassID getPlayableClassId( int team );
    39     virtual std::string getPlayableModelFileName( int team, ClassID classId );
     39    virtual ClassID getPlayableClassId( int userId, int team );
     40    virtual std::string getPlayableModelFileName( int userId, int team, ClassID classId );
    4041
    4142    virtual void onPlayerSpawn();
     
    7374    float              gameStateTimer;             //!< if less than 0 -> change game state
    7475
     76    OrxGui::GLGuiBox* box;
     77
     78
    7579    void calculateTeamScore();
    7680    void nextGameState();
    7781    void handleTeamChanges();
    7882    void teamChange( int userId );
     83    void assignPlayable();
     84   
     85    void onButtonSpectator();
     86    void onButtonRandom();
     87    void onButtonTeam0();
     88    void onButtonTeam1();
     89    void onButtonExit();
    7990};
    8091
Note: See TracChangeset for help on using the changeset viewer.