Multiplayer team management headers. More...
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) |
Multiplayer team management headers.
Definition in file mp_team.h.
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 | ) |
Reads tha comments from team files.
Definition at line 111 of file mp_team.c.
References Com_Printf(), Cvar_Set(), qFILE_s::f, f, FILE_READ, FS_CloseFile(), FS_OpenFile(), FS_Read(), header, i, LittleLong(), MPTEAM_SAVE_FILE_VERSION, mpSaveFileHeader_s::name, mpSaveFileHeader_s::soldiercount, UI_ExecuteConfunc(), va(), mpSaveFileHeader_s::version, and qFILE_s::z.
Referenced by MP_CallbacksInit().
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.
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 | ) |
Definition at line 455 of file mp_team.c.
References chrDisplayList, cl_selected, Cmd_Argc(), Cmd_Argv(), Cmd_ExecuteString(), Com_Printf(), cvar_s::integer, chr_list_s::num, UI_ExecuteConfunc(), and va().
Referenced by MP_CallbacksInit().
void MP_ToggleActorForTeam_f | ( | void | ) |
This will activate/deactivate the actor for the team.
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.
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().