|
UFO: Alien Invasion
|

Go to the source code of this file.
Data Structures | |
| struct | actorSkin_t |
Macros | |
| #define | MAX_WHOLETEAM 32 |
| #define | MAX_TEAMDATASIZE 32768 |
Functions | |
| void | CL_GenerateCharacter (character_t *chr, const char *teamDefName) |
| Generates the skills and inventory for a character and for a 2x2 unit. | |
| void | CL_UpdateCharacterValues (const character_t *chr) |
| const char * | CL_ActorGetSkillString (const int skill) |
| Return the skill string for the given skill level. | |
| void | TEAM_InitStartup (void) |
| actorSkin_t * | CL_AllocateActorSkin (const char *name) |
| Allocate a skin from the cls structure. | |
| unsigned int | CL_GetActorSkinCount (void) |
| Get number of registered actorskins. | |
Variables | |
| linkedList_t * | chrDisplayList |
| List of currently displayed or equipable characters. | |
| const char * CL_ActorGetSkillString | ( | const int | skill | ) |
Return the skill string for the given skill level.
| [in] | skill | a skill value between 0 and MAX_SKILL |
Definition at line 165 of file cl_team.cpp.
References _, Com_Printf(), and MAX_SKILL.
Referenced by CL_CharacterSkillAndScoreCvars(), CL_UGVCvars(), and GAME_GetImportData().
| actorSkin_t * CL_AllocateActorSkin | ( | const char * | name | ) |
Allocate a skin from the cls structure.
Definition at line 44 of file cl_team.cpp.
References cls, com_genericPool, actorSkin_t::id, actorSkin_t::idx, index, lengthof, Mem_PoolStrDup, name, OBJZERO, R_ModAllocateActorSkin(), and Sys_Error().
Referenced by CL_ParseActorSkin().
| void CL_GenerateCharacter | ( | character_t * | chr, |
| const char * | teamDefName ) |
Generates the skills and inventory for a character and for a 2x2 unit.
| [in] | chr | The employee to create character data for. |
| [in] | teamDefName | Which team to use for creation. |
Definition at line 235 of file cl_team.cpp.
References ACTOR_HAND_NOT_SET, CHRSH_CharGenAbilitySkills(), cls, Com_GetCharacterValues(), GAME_IsMultiplayer(), character_t::init(), character_t::inv, character_t::reservedTus, character_t::RFmode, FiremodeSettings::set(), chrReservations_t::shotSettings, character_t::state, STATE_REACTION, and character_t::ucn.
Referenced by GAME_AppendTeamMember(), GAME_GetImportData(), and GetCharacter().
Get number of registered actorskins.
Definition at line 63 of file cl_team.cpp.
References cls.
Referenced by CL_ParseActorSkin(), and GAME_LoadCharacter().
| void CL_UpdateCharacterValues | ( | const character_t * | chr | ) |
Definition at line 218 of file cl_team.cpp.
References CL_ActorCvars(), CL_CharacterSkillAndScoreCvars(), CL_UGVCvars(), GAME_CharacterCvars(), teamDef_t::robot, and character_t::teamDef.
Referenced by CL_ActorSelect(), CL_ActorUpdate_f(), GAME_ActorSelect_f(), GAME_GetImportData(), and cgame_import_t::void().
Definition at line 339 of file cl_team.cpp.
References CL_ChangeSkin_f(), CL_ChangeSkinForWholeTeam_f(), CL_InitSkin_f(), and Cmd_AddCommand().
Referenced by CL_InitLocal().
|
extern |
List of currently displayed or equipable characters.
Definition at line 38 of file cl_team.cpp.
Referenced by CL_ActorUpdate_f(), CL_ChangeSkin_f(), CL_ChangeSkinForWholeTeam_f(), GAME_ActorSelect_f(), GAME_AppendTeamMember(), GAME_GetSelectedChr(), GAME_IsTeamEmpty(), GAME_LoadTeamInfo(), GAME_ResetCharacters(), GAME_SaveTeam(), GAME_SaveTeam_f(), GAME_SaveTeamInfo(), GAME_SaveTeamState_f(), GAME_Spawn(), GAME_ToggleActorForTeam_f(), GAME_UpdateActiveTeamList(), GAME_UpdateInventory(), and GAME_UpdateTeamMenuParameters_f().