UFO: Alien Invasion
Loading...
Searching...
No Matches
cp_cgame_callbacks.cpp File Reference
#include "../../cl_shared.h"
#include "../../input/cl_keys.h"
#include "../../ui/ui_dataids.h"
#include "cp_cgame_callbacks.h"
#include "cp_campaign.h"
#include "cp_character.h"
#include "cp_missions.h"
#include "cp_mission_triggers.h"
#include "cp_team.h"
#include "cp_geoscape.h"
#include "../../battlescape/cl_hud.h"
#include "cp_mission_callbacks.h"
#include "cp_save_callbacks.h"
#include "cp_base_callbacks.h"
Include dependency graph for cp_cgame_callbacks.cpp:

Go to the source code of this file.

Macros

#define MAXCAMPAIGNTEXT   4096

Functions

static void GAME_CP_Results_f (void)
static const char * CP_ToDifficultyName (const int difficulty)
 Translate the difficulty int to a translated string.
static void GAME_CP_GetCampaigns_f (void)
 Fill the campaign list with available campaigns.
static void GAME_CP_CampaignDescription_f (void)
 Script function to show description of the selected a campaign.
static void GAME_CP_Start_f (void)
 Starts a new single-player game.
static void AL_AddAlienTypeToAircraftCargo_ (void *data, const teamDef_t *teamDef, int amount, bool dead)
void GAME_CP_Results (dbuffer *msg, int winner, int *numSpawned, int *numAlive, int numKilled[][MAX_TEAMS], int numStunned[][MAX_TEAMS], bool nextmap)
 After a mission was finished this function is called.
bool GAME_CP_Spawn (linkedList_t **chrList)
bool GAME_CP_ItemIsUseable (const objDef_t *od)
bool GAME_CP_TeamIsKnown (const teamDef_t *teamDef)
 Checks whether the team is known at this stage already.
character_tGAME_CP_GetSelectedChr (void)
 Returns the currently selected character.
void GAME_CP_Drop (void)
void GAME_CP_Frame (float secondsSinceLastFrame)
void GAME_CP_DrawBaseLayoutTooltip (int baseIdx, int x, int y)
 Draws basename as tooltip for baselayout widget.
void GAME_CP_DrawBaseLayout (int baseIdx, int x1, int y1, int totalMarge, int w, int h, int padding, const vec4_t bgcolor, const vec4_t color)
const char * GAME_CP_GetTeamDef (void)
void GAME_CP_InitMissionBriefing (const char **title, linkedList_t **victoryConditionsMsgIDs, linkedList_t **missionBriefingMsgIDs)
void GAME_CP_InitializeBattlescape (dbuffer *msg, const linkedList_t *team)
 Changes some actor states for a campaign game.
equipDef_tGAME_CP_GetEquipmentDefinition (void)
void GAME_CP_CharacterCvars (const character_t *chr)
const char * GAME_CP_GetItemModel (const char *string)
void GAME_CP_InitStartup (void)
void GAME_CP_Shutdown (void)

Variables

const cgame_import_tcgi
static char campaignDesc [MAXCAMPAIGNTEXT]
static const cmdList_t cgameCallbacks []

Macro Definition Documentation

◆ MAXCAMPAIGNTEXT

#define MAXCAMPAIGNTEXT   4096

Definition at line 114 of file cp_cgame_callbacks.cpp.

Function Documentation

◆ AL_AddAlienTypeToAircraftCargo_()

void AL_AddAlienTypeToAircraftCargo_ ( void * data,
const teamDef_t * teamDef,
int amount,
bool dead )
inlinestatic

Definition at line 184 of file cp_cgame_callbacks.cpp.

References AL_AddAlienTypeToAircraftCargo(), and data.

Referenced by GAME_CP_Results().

◆ CP_ToDifficultyName()

const char * CP_ToDifficultyName ( const int difficulty)
inlinestatic

Translate the difficulty int to a translated string.

Parameters
[in]difficultyThe difficulty level of the game

Definition at line 77 of file cp_cgame_callbacks.cpp.

References _, cgi, and ERR_DROP.

Referenced by GAME_CP_CampaignDescription_f().

◆ GAME_CP_CampaignDescription_f()

◆ GAME_CP_CharacterCvars()

◆ GAME_CP_DrawBaseLayout()

void GAME_CP_DrawBaseLayout ( int baseIdx,
int x1,
int y1,
int totalMarge,
int w,
int h,
int padding,
const vec4_t bgcolor,
const vec4_t color )

Definition at line 406 of file cp_cgame_callbacks.cpp.

References B_GetBaseByIDX(), B_GetBuildingAt, B_IsTileBlocked, BASE_SIZE, cgi, and base_t::founded.

Referenced by GetCGameAPI().

◆ GAME_CP_DrawBaseLayoutTooltip()

void GAME_CP_DrawBaseLayoutTooltip ( int baseIdx,
int x,
int y )

Draws basename as tooltip for baselayout widget.

Parameters
[in]baseIdxNumeric index of the base to show
[in]xHorizontal screen cordinate
[in]yVertical screen cordinate

Definition at line 398 of file cp_cgame_callbacks.cpp.

References B_GetFoundedBaseByIDX(), cgi, and base_t::name.

Referenced by GetCGameAPI().

◆ GAME_CP_Drop()

void GAME_CP_Drop ( void )
Todo
maybe create a savegame?

Definition at line 371 of file cp_cgame_callbacks.cpp.

References cgi.

Referenced by GetCGameAPI().

◆ GAME_CP_Frame()

void GAME_CP_Frame ( float secondsSinceLastFrame)

Definition at line 380 of file cp_cgame_callbacks.cpp.

References ccs, CP_CampaignRun(), CP_IsRunning(), and CP_OnGeoscape().

Referenced by GetCGameAPI().

◆ GAME_CP_GetCampaigns_f()

void GAME_CP_GetCampaigns_f ( void )
static

Fill the campaign list with available campaigns.

Definition at line 104 of file cp_cgame_callbacks.cpp.

References ccs, cgi, campaign_t::defaultCampaign, i, campaign_t::id, campaign_t::name, and campaign_t::visible.

◆ GAME_CP_GetEquipmentDefinition()

equipDef_t * GAME_CP_GetEquipmentDefinition ( void )

Definition at line 474 of file cp_cgame_callbacks.cpp.

References ccs.

Referenced by GetCGameAPI().

◆ GAME_CP_GetItemModel()

const char * GAME_CP_GetItemModel ( const char * string)

◆ GAME_CP_GetSelectedChr()

character_t * GAME_CP_GetSelectedChr ( void )

Returns the currently selected character.

Returns
The selected character or nullptr.

Definition at line 363 of file cp_cgame_callbacks.cpp.

References cgi, Employee::chr, and E_GetEmployeeFromChrUCN().

Referenced by GetCGameAPI().

◆ GAME_CP_GetTeamDef()

const char * GAME_CP_GetTeamDef ( void )

Definition at line 428 of file cp_cgame_callbacks.cpp.

References ccs, cgi, and V_TEAM.

Referenced by E_CreateEmployee(), and GetCGameAPI().

◆ GAME_CP_InitializeBattlescape()

void GAME_CP_InitializeBattlescape ( dbuffer * msg,
const linkedList_t * team )

Changes some actor states for a campaign game.

Parameters
teamThe team to change the states for
msgThe message buffer to write the states to

Definition at line 458 of file cp_cgame_callbacks.cpp.

References cgi, clc_initactorstates, LIST_Foreach, and NONE.

Referenced by GetCGameAPI().

◆ GAME_CP_InitMissionBriefing()

void GAME_CP_InitMissionBriefing ( const char ** title,
linkedList_t ** victoryConditionsMsgIDs,
linkedList_t ** missionBriefingMsgIDs )

◆ GAME_CP_InitStartup()

◆ GAME_CP_ItemIsUseable()

bool GAME_CP_ItemIsUseable ( const objDef_t * od)

Definition at line 337 of file cp_cgame_callbacks.cpp.

References RS_GetTechForItem(), and RS_IsResearched_ptr().

Referenced by GetCGameAPI().

◆ GAME_CP_Results()

void GAME_CP_Results ( dbuffer * msg,
int winner,
int * numSpawned,
int * numAlive,
int numKilled[][MAX_TEAMS],
int numStunned[][MAX_TEAMS],
bool nextmap )

After a mission was finished this function is called.

Parameters
msgThe network message buffer
winnerThe winning team
numSpawnedThe amounts of all spawned actors per team
numAliveThe amount of survivors per team
numKilledThe amount of killed actors for all teams. The first dimension contains the attacker team, the second the victim team
numStunnedThe amount of stunned actors for all teams. The first dimension contains
nextmapIf it was a follow-up map of the same mission the attacker team, the second the victim team

Definition at line 201 of file cp_cgame_callbacks.cpp.

References AII_CollectingItems(), AL_AddAlienTypeToAircraftCargo_(), missionResults_t::aliensKilled, missionResults_t::aliensStunned, missionResults_t::aliensSurvived, ccs, cgi, CHAR_ParseData(), missionResults_t::civiliansKilled, missionResults_t::civiliansKilledFriendlyFire, missionResults_t::civiliansSurvived, DRAW, GEO_GetMissionAircraft, i, LOST, MAX_TEAMS, MIS_InitResultScreen(), battleParam_t::mission, missionResults_t::mission, missionResults_t::ownKilled, missionResults_t::ownKilledFriendlyFire, missionResults_t::ownStunned, missionResults_t::ownSurvived, battleParam_t::retriable, missionResults_t::state, TEAM_CIVILIAN, and WON.

Referenced by GetCGameAPI().

◆ GAME_CP_Results_f()

void GAME_CP_Results_f ( void )
static

◆ GAME_CP_Shutdown()

void GAME_CP_Shutdown ( void )

◆ GAME_CP_Spawn()

bool GAME_CP_Spawn ( linkedList_t ** chrList)

◆ GAME_CP_Start_f()

void GAME_CP_Start_f ( void )
static

Starts a new single-player game.

See also
CP_CampaignInit
CP_InitMarket

Definition at line 164 of file cp_cgame_callbacks.cpp.

References cgi, CP_CampaignInit(), CP_GetCampaign(), and CP_IsRunning().

◆ GAME_CP_TeamIsKnown()

bool GAME_CP_TeamIsKnown ( const teamDef_t * teamDef)

Checks whether the team is known at this stage already.

Parameters
[in]teamDefThe team definition of the alien team
Returns
true if known, false otherwise.

Definition at line 348 of file cp_cgame_callbacks.cpp.

References ccs, cgi, CHRSH_IsTeamDefAlien(), ERR_DROP, teamDef_t::id, teamDef_t::idx, and RS_IsResearched_ptr().

Referenced by GetCGameAPI().

Variable Documentation

◆ campaignDesc

char campaignDesc[MAXCAMPAIGNTEXT]
static

Definition at line 115 of file cp_cgame_callbacks.cpp.

Referenced by GAME_CP_CampaignDescription_f().

◆ cgameCallbacks

const cmdList_t cgameCallbacks[]
static
Initial value:
= {
{"cp_results", GAME_CP_Results_f, "Parses and shows the game results"},
{"cp_getdescription", GAME_CP_CampaignDescription_f, nullptr},
{"cp_getcampaigns", GAME_CP_GetCampaigns_f, "Fill the campaign list with available campaigns"},
{"cp_start", GAME_CP_Start_f, "Start the new campaign"},
{nullptr, nullptr, nullptr}
}
static void GAME_CP_GetCampaigns_f(void)
Fill the campaign list with available campaigns.
static void GAME_CP_CampaignDescription_f(void)
Script function to show description of the selected a campaign.
static void GAME_CP_Results_f(void)
static void GAME_CP_Start_f(void)
Starts a new single-player game.

Definition at line 513 of file cp_cgame_callbacks.cpp.

Referenced by GAME_CP_InitStartup(), and GAME_CP_Shutdown().

◆ cgi

const cgame_import_t* cgi

Definition at line 39 of file cp_cgame_callbacks.cpp.

Referenced by _Mem_Alloc(), AB_ChooseBaseToSupply(), AB_DestroyBase(), AB_GetAlienBaseNumber(), AB_InitStartup(), AB_LoadXML(), AB_SaveXML(), AB_Shutdown(), AC_Init_f(), AC_InitCallbacks(), AC_InitStartup(), AC_KillAll_f(), AC_KillExceeding_f(), AC_KillOne_f(), AC_LoadXML(), AC_ShutdownCallbacks(), AlienCargo::add(), AlienCargo::add(), AlienContainment::add(), ItemCargo::add(), AII_AddAmmoToSlot(), AII_AddItemToSlot(), AII_CollectingItems(), AII_GetCraftitemTechsByType(), AII_LoadOneSlotXML(), AII_ReloadWeapon(), AII_RepairAircraft(), AII_SaveOneSlotXML(), AII_SelectAircraftSlot(), AIM_AircraftEquipMenuClick_f(), AIM_AircraftEquipMenuUpdate(), AIM_AircraftEquipMenuUpdate_f(), AIM_AircraftEquipSlotSelect_f(), AIM_AircraftEquipZoneSelect_f(), AIM_AircraftItemtypeByName_f(), AIM_AircraftReturnToBase_f(), AIM_AircraftStart_f(), AIM_AutoEquipAircraft(), AIM_DrawAircraftSlots(), AIM_EmphazeAmmoSlotText(), AIM_InitCallbacks(), AIM_NoEmphazeAmmoSlotText(), AIM_SelectAircraft_f(), AIM_ShutdownCallbacks(), AIM_UpdateAircraftItemList(), AIM_UpdateItemDescription(), AIR_AddToAircraftTeam(), AIR_AircraftFillList_f(), AIR_AircraftGetFromIDX(), AIR_AircraftSelect(), AIR_AircraftStatusToName(), AIR_AssignInitial(), AIR_ChangeAircraftName_f(), AIR_Delete(), AIR_DeleteAircraft(), AIR_DestroyAircraft(), AIR_GeoSelectAircraft_f(), AIR_GetAircraft(), AIR_GetDestinationFindRoot(), AIR_GetDestinationWhilePursuing(), AIR_GetSlotItems(), AIR_GetTeamSize(), AIR_InitCallbacks(), AIR_InitStartup(), AIR_IsAircraftOnGeoscape(), AIR_IsInAircraftTeam(), AIR_LoadAircraftSlotsXML(), AIR_LoadAircraftXML(), AIR_LoadRouteXML(), AIR_LoadXML(), AIR_Move(), AIR_MoveAircraftIntoNewHomebase(), AIR_MoveEmployeeInventoryIntoStorage(), AIR_NewAircraft(), AIR_ParseAircraft(), AIR_PilotSurvivedCrash(), AIR_PostLoadInitMissions(), AIR_RemoveEmployee(), AIR_RemoveEmployees(), AIR_ResetAircraftTeam(), AIR_SaveAircraftSlotsXML(), AIR_SaveAircraftXML(), AIR_SaveRouteXML(), AIR_SaveXML(), AIR_ScriptSanityCheck(), AIR_SendAircraftPursuingUFO(), AIR_SendAircraftToMission(), AIR_SendAircraftToMission_f(), AIR_ShowAircraft_f(), AIR_ShowChangeHomebaseAircraft_f(), AIR_Shutdown(), AIR_ShutdownCallbacks(), AIR_StopAircraft_f(), AIRFIGHT_ActionsAfterAirfight(), AIRFIGHT_AddProjectile(), AIRFIGHT_ExecuteActions(), AIRFIGHT_InitStartup(), AIRFIGHT_LoadXML(), AIRFIGHT_ProbabilityToHit(), AIRFIGHT_ProjectileHits(), AIRFIGHT_SaveXML(), AL_AddAliens(), AlienCargo::AlienCargo(), AM_CalculateTeamScores(), AM_Check_f(), AM_CheckFire(), AM_CreateUnitChr(), AM_DestroyUnitChr(), AM_DisplayResults(), AM_DoFight(), AM_FillTeamFromAircraft(), AM_FillTeamFromBattleParams(), AM_Go(), AM_Go_f(), AM_UpdateSurivorsAfterBattle(), B_AddAntimatter(), B_AddBlockedTile(), B_AddBuildingToBasePos(), B_AntimatterInBase(), B_AssembleMap(), B_AssembleMap_f(), B_BaseInit_f(), B_Build(), B_BuildBase_f(), B_BuildBuilding(), B_BuildBuilding_f(), B_BuildFromTemplate(), B_BuildingDestroy(), B_BuildingDestroy_f(), B_BuildingOpenAfterClick_f(), B_BuildingScriptSanityCheck(), B_ChangeBaseName_f(), B_CheckBuildingConstruction(), B_CheckUpdateBuilding(), B_Destroy_AntimaterStorage_f(), B_FillBuildingInfo_f(), B_FillMap_f(), B_FireEvent(), B_GetBaseTemplate(), B_GetBuildingStatus(), B_GetBuildingTemplate(), B_GetNeighbours(), B_GetNumberOfBuildingsInBaseByBuildingType(), B_GetNumberOfBuildingsInBaseByTemplate(), B_InitCallbacks(), B_InitialEquipment(), B_InitStartup(), B_IsBuildingDestroyable(), B_ListBuildings_f(), B_LoadBaseSlotsXML(), B_LoadStorageXML(), B_LoadXML(), B_MakeBaseMapShot_f(), B_ParseBaseTemplate(), B_ParseBuildings(), B_ResetAllStatusAndCapacities(), B_SaveBaseSlotsXML(), B_SaveStorageXML(), B_SaveXML(), B_SelectBase(), B_SelectBase_f(), B_SellOrAddItems(), B_SetBaseTitle_f(), B_SetBuildingStatus(), B_SetCurrentSelectedBase(), B_SetUpFirstBase(), B_ShutdownCallbacks(), B_UpdateBaseCapacities(), BATTLE_SetVars(), BATTLE_Start(), BDEF_AddBattery(), BDEF_AddBattery_f(), BDEF_AddItem_f(), BDEF_AddSlotToSlotList(), BDEF_AutoTarget(), BDEF_BaseDefenceMenuUpdate_f(), BDEF_ChangeAutoFire(), BDEF_InitCallbacks(), BDEF_RemoveBattery(), BDEF_RemoveBattery_f(), BDEF_RemoveItem_f(), BDEF_SelectItem_f(), BDEF_SetAutoFire(), BDEF_ShutdownCallbacks(), BDEF_UpdateActiveBattery_f(), BDEF_UpdateAircraftItemList(), BS_AddAircraftToMarket(), BS_Buy_f(), BS_BuyAircraft(), BS_BuyItem(), BS_BuyUGV(), BS_FillMarket_f(), BS_GetAircraftBuyingPrice(), BS_GetAircraftOnMarket(), BS_GetAircraftSellingPrice(), BS_InitCallbacks(), BS_InitMarket(), BS_LoadXML(), BS_MarketAircraftDescription(), BS_MarketInfoClick_f(), BS_RemoveAircraftFromMarket(), BS_SaveXML(), BS_SellItem(), BS_SellUGV(), BS_SetAutosell_f(), BS_ShowInfo_f(), BS_ShutdownCallbacks(), CAP_CheckOverflow(), CAP_UpdateStorageCap(), CHAR_GetMaxExperiencePerMission(), CHAR_InitStartup(), CHAR_ParseData(), CHAR_Shutdown(), CHAR_UpdateData(), CHAR_UpdateStats(), CITY_Parse(), CL_DisplayHomebasePopup(), CL_DisplayPopupInterceptMission(), CL_DisplayPopupInterceptUFO(), CL_DoSwapSkills(), CL_EventAddMail(), CL_EventAddMail_f(), CL_ParseCampaignEvents(), CL_ParseEventMails(), CL_ParseNations(), CL_ParseRanks(), CL_PopupChangeHomebase_f(), CL_PopupInit(), CL_PopupInterceptBaseClick_f(), CL_PopupInterceptGetAircraft(), CL_PopupInterceptRClick_f(), CL_SwapSkills(), Com_GetMapDefByIDX(), Com_GetMapDefNumber(), COMP_GetComponentsByID(), COMP_ParseComponents(), CP_AddCampaignCommands(), CP_AddItemAsCollected_f(), CP_AddTechAsResearchable_f(), CP_AddWeaponAmmo(), CP_AttackUFOCarrier_f(), CP_BaseAttackGoToBase(), CP_BaseAttackMissionDestroyBase(), CP_BaseAttackMissionIsFailure(), CP_BaseAttackMissionNextStage(), CP_BaseAttackPrepareBattle(), CP_BaseAttackStartMission(), CP_BeginRescueMission(), CP_BuildBaseMissionNextStage(), CP_BuildBaseSetUpBase(), CP_CampaignInit(), CP_CampaignRunMarket(), CP_CampaignTriggerFunctions(), CP_ChangeNationHappiness_f(), CP_CheckLostCondition(), CP_CheckTriggerEvent(), CP_ChooseCity(), CP_ChooseMap(), CP_ChooseNation(), CP_CleanTempInventory(), CP_CleanupAircraftTeam(), CP_CleanupContainerWeapons(), CP_CleanupTeam(), CP_CreateBattleParameters(), CP_EndCampaign(), CP_EndGame_f(), CP_ExecuteMissionTrigger(), CP_FreeDynamicEventMail(), CP_GetAlienMissionTypeByID(), CP_GetCampaign(), CP_GetMissionByID(), CP_GetRandomPosOnGeoscape(), CP_GetRandomPosOnGeoscapeWithParameters(), CP_HarvestMissionGo(), CP_HarvestMissionNextStage(), CP_InitializeRadarOverlay(), CP_InitializeXVIOverlay(), CP_InitStartup(), CP_InterceptGoToInstallation(), CP_InterceptNextStage(), CP_ItemsSanityCheck(), CP_LoadMapDefStatXML(), CP_LoadXML(), CP_MapIsSelectable(), CP_MissionAddToGeoscape(), CP_MissionBegin(), CP_MissionChooseUFO(), CP_MissionEnd(), CP_MissionIsOver(), CP_MissionRemove(), CP_MissionStageEnd(), CP_OnGeoscape(), CP_ParseAlienTeam(), CP_ParseCampaign(), CP_ParseCampaignData(), CP_ParseEventTrigger(), CP_ParseResearchableCampaignStates(), CP_ParseResearchedCampaignItems(), CP_ParseSalary(), CP_Popup(), CP_RadarGet(), CP_ReadCampaignData(), CP_ReconMissionGroundGo(), CP_ReconMissionNextStage(), CP_RemoveCampaignCommands(), CP_RescueNextStage(), CP_ResetCampaignData(), CP_SaveMapDefStatXML(), CP_SaveXML(), CP_ScriptSanityCheck(), CP_SetAlienEquipmentByInterest(), CP_SetAlienTeamByInterest(), CP_SetEquipContainer(), CP_SetGameTime_f(), CP_SetMissionName(), CP_Shutdown(), CP_SpawnAlienBaseMission(), CP_SpawnCrashSiteMission(), CP_SpawnNewMissions(), CP_SpawnRescueMission(), CP_SpawnUFOCarrier_f(), CP_StartSelectedMission(), CP_SupplyGoToBase(), CP_SupplyMissionCreate(), CP_SupplyMissionNextStage(), CP_SupplySetStayAtBase(), CP_TEAM_AssignSoldierByUCN_f(), CP_TEAM_ChangeSkin_f(), CP_TEAM_DeEquipActor_f(), CP_TEAM_FillBDEFEmployeeList_f(), CP_TEAM_FillEmployeeList_f(), CP_TEAM_FillEquipSoldierList_f(), CP_TEAM_InitCallbacks(), CP_TEAM_SelectActorByUCN_f(), CP_TEAM_ShutdownCallbacks(), CP_TerrorMissionGo(), CP_TerrorMissionNextStage(), CP_ToDifficultyName(), CP_TriggerEvent(), CP_TriggerEventLoadXML(), CP_TriggerEventSaveXML(), CP_UFOCarrierMissionUpdate(), CP_UpdateActorAircraftVar(), CP_UpdateCredits(), CP_UpdateNationXVIInfection(), CP_UpdateTime(), CP_UpdateXVIMapButton(), CP_UploadRadarCoverage(), CP_UploadXVI(), CP_XVIGetAlpha(), CP_XVIInit(), CP_XVIMissionNextStage(), E_ChangeName_f(), E_CountByType(), E_CreateEmployee(), E_DeleteEmployee(), E_EmployeeDelete_f(), E_EmployeeHire_f(), E_EmployeeList_f(), E_EmployeeSelect(), E_EmployeeSelect_f(), E_GetCounts_f(), E_GetEmployeeByMenuIndex(), E_GetEmployeeString(), E_GetEmployeeTypeString(), E_GetHiredEmployees(), E_GetHiredRobot(), E_HireForBuilding(), E_InitCallbacks(), E_InitialEmployees(), E_InitStartup(), E_LoadXML(), E_SaveXML(), E_Shutdown(), E_ShutdownCallbacks(), E_UpdateGUICount_f(), ItemCargo::empty(), FS_CloseFile(), GAME_CP_CampaignDescription_f(), GAME_CP_CharacterCvars(), GAME_CP_DrawBaseLayout(), GAME_CP_DrawBaseLayoutTooltip(), GAME_CP_Drop(), GAME_CP_GetCampaigns_f(), GAME_CP_GetSelectedChr(), GAME_CP_GetTeamDef(), GAME_CP_InitializeBattlescape(), GAME_CP_InitMissionBriefing(), GAME_CP_InitStartup(), GAME_CP_Results(), GAME_CP_Results_f(), GAME_CP_Shutdown(), GAME_CP_Spawn(), GAME_CP_Start_f(), GAME_CP_TeamIsKnown(), GAME_GetImportData(), GAME_InitMenuOptions(), GAME_MP_AddChatMessage(), GAME_MP_AddServerToList(), GAME_MP_BookmarkAdd_f(), GAME_MP_CallbacksInit(), GAME_MP_CallbacksShutdown(), GAME_MP_CompleteNetworkAddress(), GAME_MP_Connect_f(), GAME_MP_Disconnect_f(), GAME_MP_EndRoundAnnounce(), GAME_MP_InitStartup(), GAME_MP_InitUI_f(), GAME_MP_MapInfo(), GAME_MP_NotifyEvent(), GAME_MP_ParseServerInfoMessage(), GAME_MP_ParseTeamInfoMessage(), GAME_MP_PingServer(), GAME_MP_PingServerCallback(), GAME_MP_PingServers_f(), GAME_MP_PrintServerList_f(), GAME_MP_QueryMasterServerThread(), GAME_MP_Rcon(), GAME_MP_Rcon_f(), GAME_MP_RconCallback(), GAME_MP_Reconnect_f(), GAME_MP_Results(), GAME_MP_RunFrame(), GAME_MP_SelectTeam_Init_f(), GAME_MP_ServerInfo_f(), GAME_MP_ServerInfoCallback(), GAME_MP_ServerListClick_f(), GAME_MP_ServerListDiscoveryCallback(), GAME_MP_ServerListInit(), GAME_MP_ServerListShutdown(), GAME_MP_SetTeamNum(), GAME_MP_Shutdown(), GAME_MP_StartBattlescape(), GAME_MP_StartGame_f(), GAME_MP_StartServer_f(), GAME_MP_TeamNum_f(), GAME_MP_UpdateGametype_f(), GAME_SK_ChangeEquip_f(), GAME_SK_GetRandomMapAssemblyNameForCraft(), GAME_SK_HideDropships(), GAME_SK_HideUFOs(), GAME_SK_InitMissionBriefing(), GAME_SK_InitStartup(), GAME_SK_MapInfo(), GAME_SK_Restart_f(), GAME_SK_Results(), GAME_SK_SetMissionParameters(), GAME_SK_Shutdown(), GAME_SK_Start_f(), GEO_3DMapDrawLine(), GEO_CenterOnPoint_f(), GEO_Click(), GEO_Draw(), GEO_Draw3DMarkerIfVisible(), GEO_DrawAircraftHealthBar(), GEO_DrawBeam(), GEO_DrawBullets(), GEO_DrawMapOneBase(), GEO_DrawMapOneInstallation(), GEO_DrawMapOneMission(), GEO_DrawMapOnePhalanxAircraft(), GEO_DrawMarkers(), GEO_DrawRadarInMap(), GEO_GetCivilianNumberByPosition(), GEO_GetColor(), GEO_GetNation(), GEO_GetTerrainTypeByPos(), GEO_Init(), GEO_InitStartup(), GEO_IsNationOverlayActivated(), GEO_IsRadarOverlayActivated(), GEO_IsXVIOverlayActivated(), GEO_MapDrawEquidistantPoints(), GEO_MapDrawLine(), GEO_PositionFitsTCPNTypes(), GEO_PrintParameterStringByPos(), GEO_RenderImage(), GEO_SelectObject_f(), GEO_SetOverlay(), GEO_SetOverlay_f(), GEO_Shutdown(), GEO_UpdateGeoscapeDock(), GetCGameAPI(), HOS_Entry(), HOS_EntryWoundData(), HOS_ImplantDetails_f(), HOS_Init_f(), HOS_InitCallbacks(), HOS_InitStartup(), HOS_ShutdownCallbacks(), INS_BuildInstallation_f(), INS_ChangeInstallationName_f(), INS_DestroyInstallation(), INS_DestroyInstallation_f(), INS_FillTypes_f(), INS_FillUFOYardData_f(), INS_FinishInstallation(), INS_GetCount(), INS_GetType(), INS_InitCallbacks(), INS_InitStartup(), INS_LoadXML(), INS_ParseInstallations(), INS_SaveXML(), INS_SelectInstallation(), INS_SelectInstallation_f(), INS_SelectType_f(), INS_SetCurrentSelectedInstallation(), INS_SetInstallationTitle(), INS_Shutdown(), INS_ShutdownCallbacks(), INS_UpdateInstallationLimit_f(), INT_ChangeIndividualInterest(), INT_InitStartup(), INT_LoadXML(), INT_SaveXML(), INT_Shutdown(), ItemCargo::ItemCargo(), AlienCargo::list(), ItemCargo::list(), LIST_Add(), LIST_CopyStructure(), LIST_Sort(), AlienCargo::load(), ItemCargo::load(), MIS_GeoSelectMission_f(), MIS_GetModel(), MIS_InitCallbacks(), MIS_InitResultScreen(), MIS_InitStartup(), MIS_IsSpawnedFromGround(), MIS_LoadXML(), MIS_SaveXML(), MIS_Shutdown(), MIS_ShutdownCallbacks(), MS_AddNewMessage(), MS_LoadXML(), MS_MessageSaveXML(), MS_SaveXML(), MSO_Init(), MSO_Init_f(), MSO_InitCallbacks(), MSO_InitList(), MSO_LoadXML(), MSO_ParseCategory(), MSO_ParseMessageSettings(), MSO_ParseOption(), MSO_ParseOptionType(), MSO_SaveXML(), MSO_Scroll_f(), MSO_Set(), MSO_Set_f(), MSO_SetAll_f(), MSO_Shutdown(), MSO_ShutdownCallbacks(), MSO_Toggle_f(), MSO_UpdateVisibleButtons(), NAT_DrawCharts_f(), NAT_GetNationByID(), NAT_InitStartup(), NAT_ListStats_f(), NAT_LoadXML(), NAT_SaveXML(), NAT_ScriptSanityCheck(), NAT_Shutdown(), NAT_UpdateHappinessForAllNations(), PR_AircraftInfo(), PR_DecreaseProduction(), PR_DisassemblyInfo(), PR_GetName(), PR_InitCallbacks(), PR_ItemProductionInfo(), PR_LoadXML(), PR_ProductionChange_f(), PR_ProductionDecrease_f(), PR_ProductionDown_f(), PR_ProductionIncrease_f(), PR_ProductionInfo(), PR_ProductionList_f(), PR_ProductionListClick_f(), PR_ProductionListRightClick_f(), PR_ProductionStop_f(), PR_ProductionType_f(), PR_ProductionUp_f(), PR_QueueDelete(), PR_RequirementsInfo(), PR_SaveXML(), PR_ShowActiveProduction_f(), PR_ShutdownCallbacks(), PR_UpdateProductionList(), PR_UpdateRequiredItemsInBasestorage(), RADAR_AddUFO(), RADAR_UpdateBaseRadarCoverage_f(), RADAR_UpdateInstallationRadarCoverage(), RS_AssignScientist(), RS_AssignTechLinks(), RS_Change_f(), RS_FillTechnologyList_f(), RS_GetDetails_f(), RS_GetTechByID(), RS_GetTechByProvided(), RS_GetTechForItem(), RS_GetTechForTeam(), RS_GetTechIdxByName(), RS_InitCallbacks(), RS_InitStartup(), RS_InitTree(), RS_LoadXML(), RS_MarkOneResearchable(), RS_MarkResearchable(), RS_MarkResearched(), RS_Max_f(), RS_ParseTechnologies(), RS_RemoveFiredScientist(), RS_RemoveScientist(), RS_RequiredLinksAssign(), RS_RequirementsMet(), RS_ResearchFinish(), RS_ResetTechs(), RS_SaveXML(), RS_ScriptSanityCheck(), RS_ShowActiveResearch_f(), RS_ShutdownCallbacks(), RS_Stop_f(), SAV_AddSubsystem(), SAV_GameContinue_f(), SAV_GameDelete_f(), SAV_GameLoad(), SAV_GameLoad_f(), SAV_GameQuickLoad_f(), SAV_GameQuickLoadInit_f(), SAV_GameQuickSave_f(), SAV_GameSave(), SAV_GameSave_f(), SAV_GameSaveAllowed(), SAV_GameSaveAllowed_f(), SAV_Init(), SAV_InitCallbacks(), SAV_ListSaveGames_f(), SAV_LoadHeader(), SAV_ShutdownCallbacks(), SAV_VerifyHeader(), AlienCargo::save(), ItemCargo::save(), STAT_GetExpenses_f(), STATS_InitStartup(), STATS_LoadXML(), STATS_SaveXML(), STATS_ShutDown(), STATS_Update_f(), TR_Add_f(), TR_AircraftListSelect(), TR_CargoList(), TR_ClearTempCargo(), TR_CountEmployeeInListArray(), TR_DestinationCapacityList_f(), TR_EmptyTransferCargo(), TR_Fill(), TR_Fill_f(), TR_FillAircraft(), TR_FillAliens(), TR_FillEmployees(), TR_FillItems(), TR_Init_f(), TR_InitBaseList(), TR_InitCallbacks(), TR_InitStartup(), TR_List_f(), TR_LoadXML(), TR_NotifyAircraftRemoved(), TR_SaveXML(), TR_SelectBase_f(), TR_Shutdown(), TR_ShutdownCallbacks(), TR_TransferBaseSelect(), TR_TransferEnd(), TR_TransferListClear_f(), TR_TransferStart(), TR_TransferStart_f(), UFO_CanDoMission(), UFO_DetectNewUFO(), UFO_GeoSelectUFO_f(), UFO_GetAvailableUFOsForMission(), UFO_GetByType(), UFO_GetNextOnGeoscape(), UFO_GetTechnologyFromType(), UFO_InitCallbacks(), UFO_InitStartup(), UFO_IsUFOSeenOnGeoscape(), UFO_RemoveFromGeoscape(), UFO_Shutdown(), UFO_ShutdownCallbacks(), UFO_TypeToName(), Employee::unequip(), Employee::unhire(), UP_AircraftDescription(), UP_AircraftItemDescription(), UP_Article(), UP_BuildingDescription(), UP_ChangeDisplay(), UP_Click_f(), UP_DisplayTechTree(), UP_DrawAssociatedAmmo(), UP_FindEntry_f(), UP_GenerateArticlesSummary(), UP_GenerateSummary(), UP_GetUnreadMails(), UP_InitStartup(), UP_MailClientClick_f(), UP_OpenCopyWith(), UP_OpenEventMail(), UP_OpenMail_f(), UP_OpenMailWith(), UP_OpenWith(), UP_ParseChapter(), UP_SetAllMailsRead_f(), UP_SetMailHeader(), UP_Shutdown(), UP_TechTreeClick_f(), UP_UGVDescription(), UR_DialogInitSell_f(), UR_DialogInitStore_f(), UR_DialogStartSell_f(), UR_DialogStartStore_f(), UR_InitCallbacks(), UR_InitStartup(), UR_Shutdown(), UR_ShutdownCallbacks(), US_DestroyStoredUFO_f(), US_FillUFOTransfer_f(), US_FillUFOTransferUFOs_f(), US_LoadXML(), US_RemoveStoredUFO(), US_RemoveUFOsExceedingCapacity(), US_SaveXML(), US_SelectStoredUfo_f(), US_StoredUFOCount(), US_StoreUFO(), US_TransferUFO(), US_TransferUFO_f(), XVI_LoadXML(), XVI_SaveXML(), AlienCargo::~AlienCargo(), and ItemCargo::~ItemCargo().