doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
idMultiplayerGame Class Reference

#include <MultiplayerGame.h>

Public Types

enum  gameState_t {
  INACTIVE = 0, WARMUP, COUNTDOWN, GAMEON,
  SUDDENDEATH, GAMEREVIEW, NEXTGAME, STATE_COUNT
}
 
enum  msg_evt_t {
  MSG_SUICIDE = 0, MSG_KILLED, MSG_KILLEDTEAM, MSG_DIED,
  MSG_VOTE, MSG_VOTEPASSED, MSG_VOTEFAILED, MSG_SUDDENDEATH,
  MSG_FORCEREADY, MSG_JOINEDSPEC, MSG_TIMELIMIT, MSG_FRAGLIMIT,
  MSG_TELEFRAGGED, MSG_JOINTEAM, MSG_HOLYSHIT, MSG_COUNT
}
 
enum  vote_flags_t {
  VOTE_RESTART = 0, VOTE_TIMELIMIT, VOTE_FRAGLIMIT, VOTE_GAMETYPE,
  VOTE_KICK, VOTE_MAP, VOTE_SPECTATORS, VOTE_NEXTMAP,
  VOTE_COUNT, VOTE_NONE
}
 
enum  vote_result_t {
  VOTE_UPDATE, VOTE_FAILED, VOTE_PASSED, VOTE_ABORTED,
  VOTE_RESET
}
 

Public Member Functions

 idMultiplayerGame ()
 
void Shutdown (void)
 
void Reset (void)
 
void SpawnPlayer (int clientNum)
 
void Run (void)
 
bool Draw (int clientNum)
 
void PlayerVote (int clientNum, playerVote_t vote)
 
void PlayerDeath (idPlayer *dead, idPlayer *killer, bool telefrag)
 
void AddChatLine (const char *fmt,...) id_attribute((format(printf
 
void void UpdateMainGui (void)
 
idUserInterfaceStartMenu (void)
 
const char * HandleGuiCommands (const char *menuCommand)
 
void SetMenuSkin (void)
 
void WriteToSnapshot (idBitMsgDelta &msg) const
 
void ReadFromSnapshot (const idBitMsgDelta &msg)
 
idMultiplayerGame::gameState_t GetGameState (void) const
 
void PlayGlobalSound (int to, snd_evt_t evt, const char *shader=NULL)
 
void PrintMessageEvent (int to, msg_evt_t evt, int parm1=-1, int parm2=-1)
 
void DisconnectClient (int clientNum)
 
void ClientCallVote (vote_flags_t voteIndex, const char *voteValue)
 
void ServerCallVote (int clientNum, const idBitMsg &msg)
 
void ClientStartVote (int clientNum, const char *voteString)
 
void ServerStartVote (int clientNum, vote_flags_t voteIndex, const char *voteValue)
 
void ClientUpdateVote (vote_result_t result, int yesCount, int noCount)
 
void CastVote (int clientNum, bool vote)
 
void ExecuteVote (void)
 
void WantKilled (int clientNum)
 
int NumActualClients (bool countSpectators, int *teamcount=NULL)
 
void DropWeapon (int clientNum)
 
void MapRestart (void)
 
void SwitchToTeam (int clientNum, int oldteam, int newteam)
 
bool IsPureReady (void) const
 
void ProcessChatMessage (int clientNum, bool team, const char *name, const char *text, const char *sound)
 
void ProcessVoiceChat (int clientNum, bool team, int index)
 
void Precache (void)
 
void ThrottleUserInfo (void)
 
void ToggleSpectate (void)
 
void ToggleReady (void)
 
void ToggleTeam (void)
 
void ClearFrags (int clientNum)
 
void EnterGame (int clientNum)
 
bool CanPlay (idPlayer *p)
 
bool IsInGame (int clientNum)
 
bool WantRespawn (idPlayer *p)
 
void ServerWriteInitialReliableMessages (int clientNum)
 
void ClientReadStartState (const idBitMsg &msg)
 
void ClientReadWarmupTime (const idBitMsg &msg)
 
void ServerClientConnect (int clientNum)
 
void PlayerStats (int clientNum, char *data, const int len)
 
bool IsGametypeFlagBased (void)
 
bool IsGametypeTeamBased (void)
 

Static Public Member Functions

static void ForceReady_f (const idCmdArgs &args)
 
static void DropWeapon_f (const idCmdArgs &args)
 
static void MessageMode_f (const idCmdArgs &args)
 
static void VoiceChat_f (const idCmdArgs &args)
 
static void VoiceChatTeam_f (const idCmdArgs &args)
 
static void Vote_f (const idCmdArgs &args)
 
static void CallVote_f (const idCmdArgs &args)
 

Static Public Attributes

static const char * GameStateStrings [STATE_COUNT]
 
static const char * GlobalSoundStrings [SND_COUNT]
 

Private Member Functions

void UpdatePlayerRanks ()
 
void UpdateRankColor (idUserInterface *gui, const char *mask, int i, const idVec3 &vec)
 
void UpdateScoreboard (idUserInterface *scoreBoard, idPlayer *player)
 
void ClearGuis (void)
 
void DrawScoreBoard (idPlayer *player)
 
void UpdateHud (idPlayer *player, idUserInterface *hud)
 
bool Warmup (void)
 
void CheckVote (void)
 
bool AllPlayersReady (void)
 
idPlayerFragLimitHit (void)
 
idPlayerFragLeader (void)
 
bool TimeLimitHit (void)
 
void NewState (gameState_t news, idPlayer *player=NULL)
 
void UpdateWinsLosses (idPlayer *winner)
 
void FillTourneySlots (void)
 
void CycleTourneyPlayers (void)
 
void UpdateTourneyLine (void)
 
const char * GameTime (void)
 
void Clear (void)
 
bool EnoughClientsToPlay (void)
 
void ClearChatData (void)
 
void DrawChat (void)
 
void CheckRespawns (idPlayer *spectator=NULL)
 
void ForceReady ()
 
void CheckAbortGame (void)
 
void MessageMode (const idCmdArgs &args)
 
void DisableMenu (void)
 
void SetMapShot (void)
 
void TeamScore (int entityNumber, int team, int delta)
 
void VoiceChat (const idCmdArgs &args, bool team)
 
void DumpTourneyLine (void)
 
void SuddenRespawn (void)
 

Private Attributes

gameState_t gameState
 
gameState_t nextState
 
int pingUpdateTime
 
mpPlayerState_t playerState [MAX_CLIENTS]
 
vote_flags_t vote
 
int voteTimeOut
 
int voteExecTime
 
float yesVotes
 
float noVotes
 
idStr voteValue
 
idStr voteString
 
bool voted
 
int kickVoteMap [MAX_CLIENTS]
 
int nextStateSwitch
 
int warmupEndTime
 
int matchStartedTime
 
int currentTourneyPlayer [2]
 
int lastWinner
 
idStr warmupText
 
bool one
 
bool two
 
bool three
 
idUserInterfacescoreBoard
 
idUserInterfacespectateGui
 
idUserInterfaceguiChat
 
idUserInterfacemainGui
 
idListGUImapList
 
idUserInterfacemsgmodeGui
 
int currentMenu
 
int nextMenu
 
bool bCurrentMenuMsg
 
mpChatLine_t chatHistory [NUM_CHAT_NOTIFY]
 
int chatHistoryIndex
 
int chatHistorySize
 
bool chatDataUpdated
 
int lastChatLineTime
 
int numRankedPlayers
 
idPlayerrankedPlayers [MAX_CLIENTS]
 
bool pureReady
 
int fragLimitTimeout
 
int switchThrottle [3]
 
int voiceChatThrottle
 
gameType_t lastGameType
 
int startFragLimit
 

Static Private Attributes

static const char * MPGuis []
 
static const char * ThrottleVars []
 
static const char * ThrottleVarsInEnglish []
 
static const int ThrottleDelay []
 

Detailed Description

Definition at line 134 of file MultiplayerGame.h.

Member Enumeration Documentation

Enumerator
INACTIVE 
WARMUP 
COUNTDOWN 
GAMEON 
SUDDENDEATH 
GAMEREVIEW 
NEXTGAME 
STATE_COUNT 

Definition at line 170 of file MultiplayerGame.h.

Enumerator
MSG_SUICIDE 
MSG_KILLED 
MSG_KILLEDTEAM 
MSG_DIED 
MSG_VOTE 
MSG_VOTEPASSED 
MSG_VOTEFAILED 
MSG_SUDDENDEATH 
MSG_FORCEREADY 
MSG_JOINEDSPEC 
MSG_TIMELIMIT 
MSG_FRAGLIMIT 
MSG_TELEFRAGGED 
MSG_JOINTEAM 
MSG_HOLYSHIT 
MSG_COUNT 

Definition at line 190 of file MultiplayerGame.h.

Enumerator
VOTE_RESTART 
VOTE_TIMELIMIT 
VOTE_FRAGLIMIT 
VOTE_GAMETYPE 
VOTE_KICK 
VOTE_MAP 
VOTE_SPECTATORS 
VOTE_NEXTMAP 
VOTE_COUNT 
VOTE_NONE 

Definition at line 227 of file MultiplayerGame.h.

Enumerator
VOTE_UPDATE 
VOTE_FAILED 
VOTE_PASSED 
VOTE_ABORTED 
VOTE_RESET 

Definition at line 240 of file MultiplayerGame.h.

Constructor & Destructor Documentation

idMultiplayerGame::idMultiplayerGame ( )

Definition at line 107 of file MultiplayerGame.cpp.

Member Function Documentation

void idMultiplayerGame::AddChatLine ( const char *  fmt,
  ... 
)

Definition at line 2611 of file MultiplayerGame.cpp.

bool idMultiplayerGame::AllPlayersReady ( void  )
private

Definition at line 907 of file MultiplayerGame.cpp.

void idMultiplayerGame::CallVote_f ( const idCmdArgs args)
static

Definition at line 3214 of file MultiplayerGame.cpp.

bool idMultiplayerGame::CanPlay ( idPlayer p)

Definition at line 3923 of file MultiplayerGame.cpp.

void idMultiplayerGame::CastVote ( int  clientNum,
bool  vote 
)

Definition at line 3352 of file MultiplayerGame.cpp.

void idMultiplayerGame::CheckAbortGame ( void  )
private

Definition at line 3560 of file MultiplayerGame.cpp.

void idMultiplayerGame::CheckRespawns ( idPlayer spectator = NULL)
private

Definition at line 2991 of file MultiplayerGame.cpp.

void idMultiplayerGame::CheckVote ( void  )
private

Definition at line 1716 of file MultiplayerGame.cpp.

void idMultiplayerGame::Clear ( void  )
private

Definition at line 247 of file MultiplayerGame.cpp.

void idMultiplayerGame::ClearChatData ( void  )
private

Definition at line 2600 of file MultiplayerGame.cpp.

ID_INLINE void idMultiplayerGame::ClearFrags ( int  clientNum)

Definition at line 474 of file MultiplayerGame.h.

void idMultiplayerGame::ClearGuis ( void  )
private

Definition at line 293 of file MultiplayerGame.cpp.

void idMultiplayerGame::ClientCallVote ( vote_flags_t  voteIndex,
const char *  voteValue 
)

Definition at line 3335 of file MultiplayerGame.cpp.

void idMultiplayerGame::ClientReadStartState ( const idBitMsg msg)

Definition at line 4115 of file MultiplayerGame.cpp.

void idMultiplayerGame::ClientReadWarmupTime ( const idBitMsg msg)

Definition at line 4140 of file MultiplayerGame.cpp.

void idMultiplayerGame::ClientStartVote ( int  clientNum,
const char *  voteString 
)

Definition at line 3247 of file MultiplayerGame.cpp.

void idMultiplayerGame::ClientUpdateVote ( vote_result_t  result,
int  yesCount,
int  noCount 
)

Definition at line 3280 of file MultiplayerGame.cpp.

void idMultiplayerGame::CycleTourneyPlayers ( void  )
private

Definition at line 1620 of file MultiplayerGame.cpp.

void idMultiplayerGame::DisableMenu ( void  )
private

Definition at line 2125 of file MultiplayerGame.cpp.

void idMultiplayerGame::DisconnectClient ( int  clientNum)

Definition at line 3547 of file MultiplayerGame.cpp.

bool idMultiplayerGame::Draw ( int  clientNum)

Definition at line 2383 of file MultiplayerGame.cpp.

void idMultiplayerGame::DrawChat ( void  )
private

Definition at line 2637 of file MultiplayerGame.cpp.

void idMultiplayerGame::DrawScoreBoard ( idPlayer player)
private

Definition at line 2573 of file MultiplayerGame.cpp.

void idMultiplayerGame::DropWeapon ( int  clientNum)

Definition at line 3135 of file MultiplayerGame.cpp.

void idMultiplayerGame::DropWeapon_f ( const idCmdArgs args)
static

Definition at line 3149 of file MultiplayerGame.cpp.

void idMultiplayerGame::DumpTourneyLine ( void  )
private

Definition at line 1387 of file MultiplayerGame.cpp.

bool idMultiplayerGame::EnoughClientsToPlay ( void  )
private

Definition at line 892 of file MultiplayerGame.cpp.

void idMultiplayerGame::EnterGame ( int  clientNum)

Definition at line 3932 of file MultiplayerGame.cpp.

void idMultiplayerGame::ExecuteVote ( void  )

Definition at line 1658 of file MultiplayerGame.cpp.

void idMultiplayerGame::FillTourneySlots ( void  )
private

Definition at line 1528 of file MultiplayerGame.cpp.

void idMultiplayerGame::ForceReady ( )
private

Definition at line 3102 of file MultiplayerGame.cpp.

void idMultiplayerGame::ForceReady_f ( const idCmdArgs args)
static

Definition at line 3122 of file MultiplayerGame.cpp.

idPlayer * idMultiplayerGame::FragLeader ( void  )
private

Definition at line 1068 of file MultiplayerGame.cpp.

idPlayer * idMultiplayerGame::FragLimitHit ( void  )
private

Definition at line 952 of file MultiplayerGame.cpp.

const char * idMultiplayerGame::GameTime ( void  )
private

Definition at line 825 of file MultiplayerGame.cpp.

ID_INLINE idMultiplayerGame::gameState_t idMultiplayerGame::GetGameState ( void  ) const

Definition at line 466 of file MultiplayerGame.h.

const char * idMultiplayerGame::HandleGuiCommands ( const char *  menuCommand)

Definition at line 2158 of file MultiplayerGame.cpp.

bool idMultiplayerGame::IsGametypeFlagBased ( void  )

Definition at line 4186 of file MultiplayerGame.cpp.

bool idMultiplayerGame::IsGametypeTeamBased ( void  )

Definition at line 4159 of file MultiplayerGame.cpp.

ID_INLINE bool idMultiplayerGame::IsInGame ( int  clientNum)

Definition at line 478 of file MultiplayerGame.h.

ID_INLINE bool idMultiplayerGame::IsPureReady ( void  ) const

Definition at line 470 of file MultiplayerGame.h.

void idMultiplayerGame::MapRestart ( void  )

Definition at line 3608 of file MultiplayerGame.cpp.

void idMultiplayerGame::MessageMode ( const idCmdArgs args)
private

Definition at line 3175 of file MultiplayerGame.cpp.

void idMultiplayerGame::MessageMode_f ( const idCmdArgs args)
static

Definition at line 3166 of file MultiplayerGame.cpp.

void idMultiplayerGame::NewState ( gameState_t  news,
idPlayer player = NULL 
)
private

Definition at line 1401 of file MultiplayerGame.cpp.

int idMultiplayerGame::NumActualClients ( bool  countSpectators,
int teamcount = NULL 
)

Definition at line 864 of file MultiplayerGame.cpp.

void idMultiplayerGame::PlayerDeath ( idPlayer dead,
idPlayer killer,
bool  telefrag 
)

Definition at line 1305 of file MultiplayerGame.cpp.

void idMultiplayerGame::PlayerStats ( int  clientNum,
char *  data,
const int  len 
)

Definition at line 1347 of file MultiplayerGame.cpp.

void idMultiplayerGame::PlayerVote ( int  clientNum,
playerVote_t  vote 
)

Definition at line 1378 of file MultiplayerGame.cpp.

void idMultiplayerGame::PlayGlobalSound ( int  to,
snd_evt_t  evt,
const char *  shader = NULL 
)

Definition at line 2761 of file MultiplayerGame.cpp.

void idMultiplayerGame::Precache ( void  )

Definition at line 3796 of file MultiplayerGame.cpp.

void idMultiplayerGame::PrintMessageEvent ( int  to,
msg_evt_t  evt,
int  parm1 = -1,
int  parm2 = -1 
)

Definition at line 2822 of file MultiplayerGame.cpp.

void idMultiplayerGame::ProcessChatMessage ( int  clientNum,
bool  team,
const char *  name,
const char *  text,
const char *  sound 
)

Definition at line 3707 of file MultiplayerGame.cpp.

void idMultiplayerGame::ProcessVoiceChat ( int  clientNum,
bool  team,
int  index 
)

Definition at line 4026 of file MultiplayerGame.cpp.

void idMultiplayerGame::ReadFromSnapshot ( const idBitMsgDelta msg)

Definition at line 2719 of file MultiplayerGame.cpp.

void idMultiplayerGame::Reset ( void  )

Definition at line 179 of file MultiplayerGame.cpp.

void idMultiplayerGame::Run ( void  )

Definition at line 1776 of file MultiplayerGame.cpp.

void idMultiplayerGame::ServerCallVote ( int  clientNum,
const idBitMsg msg 
)

Definition at line 3396 of file MultiplayerGame.cpp.

void idMultiplayerGame::ServerClientConnect ( int  clientNum)

Definition at line 213 of file MultiplayerGame.cpp.

void idMultiplayerGame::ServerStartVote ( int  clientNum,
vote_flags_t  voteIndex,
const char *  voteValue 
)

Definition at line 3221 of file MultiplayerGame.cpp.

void idMultiplayerGame::ServerWriteInitialReliableMessages ( int  clientNum)

Definition at line 4070 of file MultiplayerGame.cpp.

void idMultiplayerGame::SetMapShot ( void  )
private

Definition at line 2142 of file MultiplayerGame.cpp.

void idMultiplayerGame::SetMenuSkin ( void  )

Definition at line 146 of file MultiplayerGame.cpp.

void idMultiplayerGame::Shutdown ( void  )

Definition at line 137 of file MultiplayerGame.cpp.

void idMultiplayerGame::SpawnPlayer ( int  clientNum)

Definition at line 222 of file MultiplayerGame.cpp.

idUserInterface * idMultiplayerGame::StartMenu ( void  )

Definition at line 2019 of file MultiplayerGame.cpp.

void idMultiplayerGame::SuddenRespawn ( void  )
private

Definition at line 2965 of file MultiplayerGame.cpp.

void idMultiplayerGame::SwitchToTeam ( int  clientNum,
int  oldteam,
int  newteam 
)

Definition at line 3649 of file MultiplayerGame.cpp.

void idMultiplayerGame::TeamScore ( int  entityNumber,
int  team,
int  delta 
)
private

Definition at line 1286 of file MultiplayerGame.cpp.

void idMultiplayerGame::ThrottleUserInfo ( void  )

Definition at line 3898 of file MultiplayerGame.cpp.

bool idMultiplayerGame::TimeLimitHit ( void  )
private

Definition at line 1009 of file MultiplayerGame.cpp.

void idMultiplayerGame::ToggleReady ( void  )

Definition at line 3864 of file MultiplayerGame.cpp.

void idMultiplayerGame::ToggleSpectate ( void  )

Definition at line 3841 of file MultiplayerGame.cpp.

void idMultiplayerGame::ToggleTeam ( void  )

Definition at line 3881 of file MultiplayerGame.cpp.

void idMultiplayerGame::UpdateHud ( idPlayer player,
idUserInterface hud 
)
private

Definition at line 2510 of file MultiplayerGame.cpp.

void idMultiplayerGame::UpdateMainGui ( void  )

Definition at line 1973 of file MultiplayerGame.cpp.

void idMultiplayerGame::UpdatePlayerRanks ( )
private

Definition at line 372 of file MultiplayerGame.cpp.

void idMultiplayerGame::UpdateRankColor ( idUserInterface gui,
const char *  mask,
int  i,
const idVec3 vec 
)
private

Definition at line 440 of file MultiplayerGame.cpp.

void idMultiplayerGame::UpdateScoreboard ( idUserInterface scoreBoard,
idPlayer player 
)
private

Definition at line 451 of file MultiplayerGame.cpp.

void idMultiplayerGame::UpdateTourneyLine ( void  )
private

Definition at line 1576 of file MultiplayerGame.cpp.

void idMultiplayerGame::UpdateWinsLosses ( idPlayer winner)
private

Definition at line 1153 of file MultiplayerGame.cpp.

void idMultiplayerGame::VoiceChat ( const idCmdArgs args,
bool  team 
)
private

Definition at line 3976 of file MultiplayerGame.cpp.

void idMultiplayerGame::VoiceChat_f ( const idCmdArgs args)
static

Definition at line 3958 of file MultiplayerGame.cpp.

void idMultiplayerGame::VoiceChatTeam_f ( const idCmdArgs args)
static

Definition at line 3967 of file MultiplayerGame.cpp.

void idMultiplayerGame::Vote_f ( const idCmdArgs args)
static

Definition at line 3206 of file MultiplayerGame.cpp.

void idMultiplayerGame::WantKilled ( int  clientNum)

Definition at line 3596 of file MultiplayerGame.cpp.

bool idMultiplayerGame::WantRespawn ( idPlayer p)

Definition at line 3949 of file MultiplayerGame.cpp.

bool idMultiplayerGame::Warmup ( void  )
private

Definition at line 1767 of file MultiplayerGame.cpp.

void idMultiplayerGame::WriteToSnapshot ( idBitMsgDelta msg) const

Definition at line 2686 of file MultiplayerGame.cpp.

Member Data Documentation

bool idMultiplayerGame::bCurrentMenuMsg
private

Definition at line 349 of file MultiplayerGame.h.

bool idMultiplayerGame::chatDataUpdated
private

Definition at line 355 of file MultiplayerGame.h.

mpChatLine_t idMultiplayerGame::chatHistory[NUM_CHAT_NOTIFY]
private

Definition at line 352 of file MultiplayerGame.h.

int idMultiplayerGame::chatHistoryIndex
private

Definition at line 353 of file MultiplayerGame.h.

int idMultiplayerGame::chatHistorySize
private

Definition at line 354 of file MultiplayerGame.h.

int idMultiplayerGame::currentMenu
private

Definition at line 347 of file MultiplayerGame.h.

int idMultiplayerGame::currentTourneyPlayer[2]
private

Definition at line 333 of file MultiplayerGame.h.

int idMultiplayerGame::fragLimitTimeout
private

Definition at line 363 of file MultiplayerGame.h.

gameState_t idMultiplayerGame::gameState
private

Definition at line 308 of file MultiplayerGame.h.

const char * idMultiplayerGame::GameStateStrings
static
Initial value:
= {
"INACTIVE",
"WARMUP",
"COUNTDOWN",
"GAMEON",
"SUDDENDEATH",
"GAMEREVIEW",
"NEXTGAME"
}

Definition at line 180 of file MultiplayerGame.h.

const char * idMultiplayerGame::GlobalSoundStrings
static
Initial value:
= {
"sound/feedback/voc_youwin.wav",
"sound/feedback/voc_youlose.wav",
"sound/feedback/fight.wav",
"sound/feedback/vote_now.wav",
"sound/feedback/vote_passed.wav",
"sound/feedback/vote_failed.wav",
"sound/feedback/three.wav",
"sound/feedback/two.wav",
"sound/feedback/one.wav",
"sound/feedback/sudden_death.wav",
}

Definition at line 183 of file MultiplayerGame.h.

idUserInterface* idMultiplayerGame::guiChat
private

Definition at line 343 of file MultiplayerGame.h.

int idMultiplayerGame::kickVoteMap[MAX_CLIENTS]
private

Definition at line 325 of file MultiplayerGame.h.

int idMultiplayerGame::lastChatLineTime
private

Definition at line 356 of file MultiplayerGame.h.

gameType_t idMultiplayerGame::lastGameType
private

Definition at line 368 of file MultiplayerGame.h.

int idMultiplayerGame::lastWinner
private

Definition at line 334 of file MultiplayerGame.h.

idUserInterface* idMultiplayerGame::mainGui
private

Definition at line 344 of file MultiplayerGame.h.

idListGUI* idMultiplayerGame::mapList
private

Definition at line 345 of file MultiplayerGame.h.

int idMultiplayerGame::matchStartedTime
private

Definition at line 330 of file MultiplayerGame.h.

const char * idMultiplayerGame::MPGuis
staticprivate
Initial value:
= {
"guis/mphud.gui",
"guis/mpmain.gui",
"guis/mpmsgmode.gui",
"guis/netmenu.gui",
}

Definition at line 302 of file MultiplayerGame.h.

idUserInterface* idMultiplayerGame::msgmodeGui
private

Definition at line 346 of file MultiplayerGame.h.

int idMultiplayerGame::nextMenu
private

Definition at line 348 of file MultiplayerGame.h.

gameState_t idMultiplayerGame::nextState
private

Definition at line 309 of file MultiplayerGame.h.

int idMultiplayerGame::nextStateSwitch
private

Definition at line 328 of file MultiplayerGame.h.

float idMultiplayerGame::noVotes
private

Definition at line 321 of file MultiplayerGame.h.

int idMultiplayerGame::numRankedPlayers
private

Definition at line 359 of file MultiplayerGame.h.

bool idMultiplayerGame::one
private

Definition at line 338 of file MultiplayerGame.h.

int idMultiplayerGame::pingUpdateTime
private

Definition at line 310 of file MultiplayerGame.h.

mpPlayerState_t idMultiplayerGame::playerState[MAX_CLIENTS]
private

Definition at line 312 of file MultiplayerGame.h.

bool idMultiplayerGame::pureReady
private

Definition at line 362 of file MultiplayerGame.h.

idPlayer* idMultiplayerGame::rankedPlayers[MAX_CLIENTS]
private

Definition at line 360 of file MultiplayerGame.h.

idUserInterface* idMultiplayerGame::scoreBoard
private

Definition at line 341 of file MultiplayerGame.h.

idUserInterface* idMultiplayerGame::spectateGui
private

Definition at line 342 of file MultiplayerGame.h.

int idMultiplayerGame::startFragLimit
private

Definition at line 369 of file MultiplayerGame.h.

int idMultiplayerGame::switchThrottle[3]
private

Definition at line 365 of file MultiplayerGame.h.

bool idMultiplayerGame::three
private

Definition at line 338 of file MultiplayerGame.h.

const int idMultiplayerGame::ThrottleDelay
staticprivate
Initial value:
= {
8,
5,
5
}

Definition at line 305 of file MultiplayerGame.h.

const char * idMultiplayerGame::ThrottleVars
staticprivate
Initial value:
= {
"ui_spectate",
"ui_ready",
"ui_team",
}

Definition at line 303 of file MultiplayerGame.h.

const char * idMultiplayerGame::ThrottleVarsInEnglish
staticprivate
Initial value:
= {
"#str_06738",
"#str_06737",
"#str_01991",
}

Definition at line 304 of file MultiplayerGame.h.

bool idMultiplayerGame::two
private

Definition at line 338 of file MultiplayerGame.h.

int idMultiplayerGame::voiceChatThrottle
private

Definition at line 366 of file MultiplayerGame.h.

vote_flags_t idMultiplayerGame::vote
private

Definition at line 317 of file MultiplayerGame.h.

bool idMultiplayerGame::voted
private

Definition at line 324 of file MultiplayerGame.h.

int idMultiplayerGame::voteExecTime
private

Definition at line 319 of file MultiplayerGame.h.

idStr idMultiplayerGame::voteString
private

Definition at line 323 of file MultiplayerGame.h.

int idMultiplayerGame::voteTimeOut
private

Definition at line 318 of file MultiplayerGame.h.

idStr idMultiplayerGame::voteValue
private

Definition at line 322 of file MultiplayerGame.h.

int idMultiplayerGame::warmupEndTime
private

Definition at line 329 of file MultiplayerGame.h.

idStr idMultiplayerGame::warmupText
private

Definition at line 337 of file MultiplayerGame.h.

float idMultiplayerGame::yesVotes
private

Definition at line 320 of file MultiplayerGame.h.


The documentation for this class was generated from the following files: