Skirmish game type headers. More...
Go to the source code of this file.
Functions | |
const mapDef_t * | GAME_SK_MapInfo (int step) |
void | GAME_SK_InitStartup (void) |
void | GAME_SK_Shutdown (void) |
void | GAME_SK_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_SK_GetTeam (void) |
Skirmish game type headers.
Definition in file cl_game_skirmish.h.
int GAME_SK_GetTeam | ( | void | ) |
Definition at line 253 of file cl_game_skirmish.c.
References cl_team, and cvar_s::integer.
void GAME_SK_InitStartup | ( | void | ) |
Definition at line 281 of file cl_game_skirmish.c.
References Cmd_AddCommand(), Cvar_ForceSet(), Cvar_Get(), GAME_InitMenuOptions(), GAME_SK_ChangeEquip_f(), GAME_SK_Restart_f(), and GAME_SK_Start_f().
const mapDef_t* GAME_SK_MapInfo | ( | int | step | ) |
Definition at line 235 of file cl_game_skirmish.c.
References mapDef_s::aircraft, cls, Com_GetMapDefByIDX(), client_static_s::currentSelectedMap, GAME_SK_HideDropships(), GAME_SK_HideUFOs(), mapDef_s::map, and mapDef_s::ufos.
void GAME_SK_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.
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 156 of file cl_game_skirmish.c.
References _, CL_Drop(), cls, Com_sprintf(), i, lengthof, popupText, client_static_s::team, TEAM_ALIEN, TEAM_CIVILIAN, UI_MAX_SMALLTEXTLEN, and UI_Popup().
void GAME_SK_Shutdown | ( | void | ) |
Definition at line 294 of file cl_game_skirmish.c.
References Cmd_RemoveCommand(), Cvar_Delete(), OPTION_DROPSHIPS, OPTION_UFOS, qfalse, SV_Shutdown(), and UI_ResetData().