cl_game_multiplayer.h File Reference

Multiplayer game type headers. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const mapDef_tGAME_MP_MapInfo (int step)
void GAME_MP_InitStartup (void)
void GAME_MP_AutoTeam (void)
void GAME_MP_Shutdown (void)
void GAME_MP_Results (struct dbuffer *msg, int winner, int *numSpawned, int *numAlive, int numKilled[][MAX_TEAMS], int numStunned[][MAX_TEAMS])
 After a mission was finished this function is called.
int GAME_MP_GetTeam (void)
void GAME_MP_EndRoundAnnounce (int playerNum, int team)
void GAME_MP_StartBattlescape (qboolean isTeamPlay)
equipDef_tGAME_MP_GetEquipmentDefinition (void)

Detailed Description

Multiplayer game type headers.

Definition in file cl_game_multiplayer.h.


Function Documentation

void GAME_MP_AutoTeam ( void   ) 
void GAME_MP_EndRoundAnnounce ( int  playerNum,
int  team 
)

Definition at line 52 of file cl_game_multiplayer.c.

References _, cl, CL_PlayerGetName(), Com_sprintf(), and HUD_DisplayMessage().

equipDef_t* GAME_MP_GetEquipmentDefinition ( void   ) 

Definition at line 285 of file cl_game_multiplayer.c.

int GAME_MP_GetTeam ( void   ) 

Definition at line 278 of file cl_game_multiplayer.c.

References cl_team, and cvar_s::integer.

void GAME_MP_InitStartup ( void   ) 
const mapDef_t* GAME_MP_MapInfo ( int  step  ) 
void GAME_MP_Results ( struct dbuffer msg,
int  winner,
int *  numSpawned,
int *  numAlive,
int  numKilled[][MAX_TEAMS],
int  numStunned[][MAX_TEAMS] 
)

After a mission was finished this function is called.

Parameters:
msg The network message buffer
winner The winning team
numSpawned The amounts of all spawned actors per team
numAlive The amount of survivors per team
numKilled The amount of killed actors for all teams. The first dimension contains the attacker team, the second the victim team
numStunned The amount of stunned actors for all teams. The first dimension contains the attacker team, the second the victim team

Definition at line 214 of file cl_game_multiplayer.c.

References _, CL_Drop(), cls, Com_sprintf(), i, lengthof, popupText, client_static_s::team, UI_MAX_SMALLTEXTLEN, and UI_Popup().

void GAME_MP_Shutdown ( void   ) 
void GAME_MP_StartBattlescape ( qboolean  isTeamPlay  ) 

Definition at line 46 of file cl_game_multiplayer.c.

References qtrue, UI_ExecuteConfunc(), and UI_InitStack().


Generated by  doxygen 1.6.2