mp_team.h File Reference

Multiplayer team management headers. More...

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

Go to the source code of this file.

Functions

void MP_SaveTeamMultiplayer_f (void)
 Stores a team in a specified teamslot (multiplayer).
void MP_LoadTeamMultiplayer_f (void)
 Loads the selected teamslot.
void MP_MultiplayerTeamSlotComments_f (void)
 Reads tha comments from team files.
void MP_SaveTeamState_f (void)
 Will remove those actors that should not be used in the team.
void MP_ToggleActorForTeam_f (void)
 This will activate/deactivate the actor for the team.
void MP_AutoTeam_f (void)
void MP_UpdateMenuParameters_f (void)
 Displays actor info and equipment and unused items in proper (filter) category.
void MP_TeamSelect_f (void)
qboolean MP_LoadDefaultTeamMultiplayer (void)

Detailed Description

Multiplayer team management headers.

Definition in file mp_team.h.


Function Documentation

void MP_AutoTeam_f ( void   ) 

Definition at line 60 of file mp_team.c.

References GAME_MP_AutoTeam(), and MP_UpdateActiveTeamList().

Referenced by MP_CallbacksInit().

qboolean MP_LoadDefaultTeamMultiplayer ( void   ) 

Definition at line 373 of file mp_team.c.

References MP_LoadTeamMultiplayer().

Referenced by CL_Connect_f().

void MP_LoadTeamMultiplayer_f ( void   ) 

Loads the selected teamslot.

Definition at line 381 of file mp_team.c.

References Cmd_Argc(), Cmd_Argv(), Com_Printf(), Com_sprintf(), MAX_OSPATH, and MP_LoadTeamMultiplayer().

Referenced by MP_CallbacksInit().

void MP_MultiplayerTeamSlotComments_f ( void   ) 
void MP_SaveTeamMultiplayer_f ( void   ) 

Stores a team in a specified teamslot (multiplayer).

Definition at line 250 of file mp_team.c.

References _, chrDisplayList, Cmd_Argc(), Cmd_Argv(), Com_Printf(), Com_sprintf(), Cvar_GetString(), MAX_OSPATH, MP_SaveTeamMultiplayer(), name, chr_list_s::num, UI_Popup(), and va().

Referenced by MP_CallbacksInit().

void MP_SaveTeamState_f ( void   ) 

Will remove those actors that should not be used in the team.

See also:
GAME_MP_ToggleActorForTeam_f

Definition at line 93 of file mp_team.c.

References characterActive, chr_list_s::chr, chrDisplayList, i, chr_list_s::num, and character_s::ucn.

Referenced by MP_CallbacksInit().

void MP_TeamSelect_f ( void   ) 
void MP_ToggleActorForTeam_f ( void   ) 

This will activate/deactivate the actor for the team.

See also:
GAME_MP_SaveTeamState_f

Definition at line 71 of file mp_team.c.

References characterActive, chrDisplayList, Cmd_Argc(), Cmd_Argv(), Com_Printf(), and chr_list_s::num.

Referenced by MP_CallbacksInit().

void MP_UpdateMenuParameters_f ( void   ) 

Displays actor info and equipment and unused items in proper (filter) category.

Note:
This function is called everytime the multiplayer equipment screen for the team pops up.

Definition at line 433 of file mp_team.c.

References chr_list_s::chr, chrDisplayList, Cvar_Set(), i, lengthof, MP_GetEquipment(), character_s::name, name, chr_list_s::num, TEXT_STANDARD, UI_ResetData(), and va().

Referenced by MP_CallbacksInit().


Generated by  doxygen 1.6.2