UFO: Alien Invasion
|
Share stuff between the different cgame implementations. More...
Go to the source code of this file.
Data Structures | |
struct | geoscapeData_s |
Macros | |
#define | TEXT_DOMAIN "ufoai" |
#define | _(String) gettext(String) |
#define | gettext_noop(String) String |
#define | N_(String) gettext_noop (String) |
#define | INVDEF(containerID) (&csi.ids[(containerID)]) |
#define | XVI_WIDTH 512 |
#define | XVI_HEIGHT 256 |
#define | RADAR_WIDTH 512 |
#define | RADAR_HEIGHT 256 |
#define | MapDef_ForeachSingleplayer(var) MapDef_ForeachCondition(var, (var)->singleplayer) |
#define | MapDef_ForeachSingleplayerCampaign(var) MapDef_ForeachCondition(var, (var)->singleplayer && (var)->campaign) |
Typedefs | |
typedef struct geoscapeData_s | geoscapeData_t |
Enumerations | |
enum | connstate_t { ca_uninitialized, ca_disconnected, ca_connecting, ca_connected, ca_active } |
Functions | |
mapDef_t * | Com_GetMapDefinitionByID (const char *mapDefID) |
Variables | |
memPool_t * | cl_genericPool |
Share stuff between the different cgame implementations.
Definition in file cl_shared.h.
#define _ | ( | String | ) | gettext(String) |
Definition at line 43 of file cl_shared.h.
Referenced by AC_Init_f(), AII_UpdateOneInstallationDelay(), AII_WeightToName(), AIM_AircraftEquipMenuUpdate(), AIM_AircraftItemtypeName(), AIM_AircraftStart_f(), AIM_UpdateAircraftItemList(), AIM_UpdateItemDescription(), AIR_AircraftFillList_f(), AIR_AircraftSelect(), AIR_AircraftStatusToName(), AIR_CampaignRun(), AIR_ChangeAircraftName_f(), AIR_CheckMoveIntoNewHomebase(), AIR_GeoSelectAircraft_f(), AIR_LoadAircraftXML(), AIR_Move(), AIR_NewAircraft(), AIR_Refuel(), AIR_SendAircraftPursuingUFO(), AIR_SendAircraftToMission(), AIRFIGHT_ActionsAfterAirfight(), AIRFIGHT_ExecuteActions(), AL_AddAliens(), AM_AlienCollect(), AM_DisplayResults(), AM_Go_f(), B_BaseInit_f(), B_BuildBase_f(), B_BuildBuilding_f(), B_BuildingDestroy_f(), B_BuildingOpenAfterClick_f(), B_Destroy_AntimaterStorage_f(), B_FillMap_f(), B_InitCallbacks(), B_ListBuildings_f(), B_SellOrAddItems(), B_SetBaseTitle_f(), B_UpdateBuildingConstructions(), BDEF_AddSlotToSlotList(), BDEF_BaseDefenceMenuUpdate_f(), BDEF_SetAutoFire(), BDEF_UpdateAircraftItemList(), BS_Buy_f(), BS_FillMarket_f(), BS_MarketAircraftDescription(), CAP_CheckOverflow(), CHAR_UpdateStats(), CL_ActorAppear(), CL_ActorCheckAction(), CL_ActorDie(), CL_ActorGetSkillString(), CL_ActorInvMove(), CL_ActorReactionFireAddTarget(), CL_ActorReload(), CL_ActorRevitalised(), CL_ActorStateChange(), CL_ActorWound(), CL_AddTargetingBox(), CL_CanMultiplayerStart(), CL_ConnectionlessPacket(), CL_DisplayHomebasePopup(), CL_DisplayPopupInterceptMission(), CL_DisplayPopupInterceptUFO(), CL_DoEndRound(), CL_EventAddMail(), CL_NewLanguage(), CL_NextRound_f(), CL_ParseMessageID(), CL_ParseServerMessage(), CL_PopupInterceptClick_f(), CL_RContextCvarChange(), CL_RImagesCvarChange(), CL_Translate(), CL_ViewLoadMedia(), CL_WeaponSkillToName(), CLMN_AddBindings(), CLMN_AddUIBindings(), CP_BaseAttackMissionDestroyBase(), CP_BaseAttackPrepareBattle(), CP_BaseAttackStartMission(), CP_CheckLostCondition(), CP_CreateBattleParameters(), CP_EndGame_f(), CP_MissionAddToGeoscape(), CP_MissionEndActions(), CP_MissionGetMessage(), CP_SpawnUFOCarrier_f(), CP_TEAM_FillBDEFEmployeeList_f(), CP_TEAM_FillEmployeeList_f(), CP_ToDifficultyName(), CP_UFOCarrierMissionUpdate(), CP_UpdateActorAircraftVar(), CP_UpdateCredits(), CP_UpdateTime(), Date_GetMonthName(), uiButtonNode::draw(), E_EmployeeDelete_f(), E_EmployeeHire_f(), E_HireEmployee(), G_ActionCheck(), G_ActionCheckForCurrentTeam(), G_ActorInvMove(), G_CheckFlood(), G_CheckForceEndRound(), G_ClientShoot(), G_ClientStateChange(), G_MissionReset(), G_MissionTouch(), G_ReactionFireCanBeEnabled(), G_ShootGrenade(), GAME_CP_CampaignDescription_f(), GAME_CP_CharacterCvars(), GAME_CP_InitMissionBriefing(), GAME_MP_BookmarkAdd_f(), GAME_MP_Connect_f(), GAME_MP_EndRoundAnnounce(), GAME_MP_InitUI_f(), GAME_MP_MapInfo(), GAME_MP_ParseServerInfoMessage(), GAME_MP_ParseTeamInfoMessage(), GAME_MP_Results(), GAME_MP_SelectTeam_Init_f(), GAME_MP_SetTeamNum(), GAME_MP_StartServer_f(), GAME_SaveTeam_f(), GAME_SK_InitMissionBriefing(), GAME_SK_Results(), GAME_StartBattlescape(), GEO_Draw(), GEO_DrawMapOneMission(), GEO_DrawMarkers(), GEO_GetAircraftText(), GEO_GetMissionText(), GEO_GetUFOText(), GEO_UpdateGeoscapeDock(), HOS_EntryWoundData(), HOS_GetRank(), HUD_ActorWoundData_f(), HUD_CheckReload(), HUD_CheckShooting(), HUD_DisplayFiremodeEntry(), HUD_FireWeapon_f(), HUD_GetPenaltyString(), HUD_PopupFiremodeReservation(), HUD_ReloadLeft_f(), HUD_ReloadRight_f(), HUD_ToggleCrouchReservation_f(), HUD_ToggleReaction_f(), HUD_UpdateActor(), HUD_UpdateActorCvar(), HUD_UpdateActorFireMode(), HUD_UpdateActorLoad_f(), HUD_UpdateActorMove(), HUD_UpdateActorStats(), HUD_UpdateButtons(), HUD_WeaponCanBeReloaded(), IN_JoystickInitMenu(), INS_BuildInstallation_f(), INS_DestroyInstallation(), INS_DestroyInstallation_f(), INS_FillTypes_f(), INS_FillUFOYardData_f(), INS_SetInstallationTitle(), INS_UpdateInstallationData(), INV_ItemDescription(), INV_MoveItem(), INV_UpdateActorLoad_f(), Irc_Logic_ReadMessages(), Irc_Proto_ProcessServerMsg(), MIS_GetName(), MIS_InitResultScreen(), MS_LoadXML(), MS_TimestampedText(), NAT_GetHappinessString(), NAT_HandleBudget(), NAT_ListStats_f(), NAT_SetHappiness(), PR_AircraftInfo(), PR_CheckFrame(), PR_DisassemblyInfo(), PR_FinishDisassembly(), PR_FinishProduction(), PR_GetName(), PR_ItemProductionInfo(), PR_ProductionIncrease_f(), PR_ProductionInfo(), PR_QueueNext(), PR_RequirementsInfo(), PR_UpdateProductionList(), RS_AssignScientist(), RS_CheckRequirements(), RS_FillTechnologyList_f(), RS_GetDetails_f(), RS_MarkCollected(), RS_MarkOneResearchable(), RS_ParseTechnologies(), RS_ResearchFinish(), RS_ResearchRun(), SAV_GameContinue_f(), SAV_GameLoad(), SAV_GameLoad_f(), SAV_GameQuickLoad_f(), SAV_GameQuickSave_f(), SAV_GameSave(), SAV_GameSave_f(), SAV_GameSaveAllowed(), SCR_DrawDownloading(), STAT_GetExpenses_f(), STATS_Update_f(), Think_NextMapTrigger(), Touch_NextMapTrigger(), TR_CargoList(), TR_DestinationCapacityList_f(), TR_EmptyTransferCargo(), TR_FillAliens(), TR_FillEmployees(), TR_FillItems(), TR_List_f(), TR_TransferEnd(), TR_TransferStart_f(), TUT_GetTutorials_f(), UFO_CampaignCheckEvents(), UFO_GetName(), UFO_SearchAircraftTarget(), UFO_TypeToName(), UI_BaseInventoryNodeDrawItems(), UI_BaseInventoryNodeGetItem(), UI_DrawFree(), UI_GetItemTooltip(), UI_RegisterFont(), UI_Tooltip(), UI_Window_SetCloseButton(), UI_Window_SetDragButton(), UP_AircraftDescription(), UP_AircraftItemDescription(), UP_AircraftStatToName(), UP_Article(), UP_BuildingDescription(), UP_ChangeDisplay(), UP_DisplayTechTree(), UP_GenerateSummary(), UP_OpenMail_f(), UP_SetMailHeader(), UP_UGVDescription(), UR_DialogInitSell_f(), UR_DialogStartSell_f(), UR_DialogStartStore_f(), UR_ProcessActive(), US_DestroyStoredUFO_f(), US_FillUFOTransfer_f(), and US_TransferUFO().
#define gettext_noop | ( | String | ) | String |
Definition at line 44 of file cl_shared.h.
#define INVDEF | ( | containerID | ) | (&csi.ids[(containerID)]) |
Definition at line 47 of file cl_shared.h.
Referenced by actorL_throwgrenade(), AI_TryToReloadWeapon(), AIL_findweapons(), CL_ActorGetContainerForReload(), CL_ActorInvMove(), CL_InvAdd(), CL_InvAmmo(), CL_InvDel(), CL_InvReload(), CP_CleanupAircraftTeam(), CP_CleanupTeam(), G_ActorReload(), G_AddItemToFloor(), G_ClientAction(), G_ClientGetWeaponFromInventory(), G_ClientShoot(), G_InventoryDropToFloorCheck(), G_InventoryRemoveItemByID(), G_InventoryToFloor(), G_MissionTouch(), G_MoralePanic(), G_ReadItem(), G_SendInventory(), G_SpawnItemOnFloor(), GAME_LoadInventory(), GAME_NetSendInventory(), GAME_SaveItem(), HUD_CalcReloadTime(), TEST_F(), UI_ContainerNodeAddItem(), UI_ContainerNodeAutoPlaceItem(), UI_ContainerNodeUpdateEquipment(), UI_DrawFree(), and UI_GetContainerNodeByContainerIDX().
#define MapDef_ForeachSingleplayer | ( | var | ) | MapDef_ForeachCondition(var, (var)->singleplayer) |
Definition at line 82 of file cl_shared.h.
#define MapDef_ForeachSingleplayerCampaign | ( | var | ) | MapDef_ForeachCondition(var, (var)->singleplayer && (var)->campaign) |
Definition at line 83 of file cl_shared.h.
Referenced by CP_ChooseMap(), CP_ResetCampaignData(), CP_SaveMapDefStatXML(), NAT_ScriptSanityCheck(), and TEST_F().
#define N_ | ( | String | ) | gettext_noop (String) |
Definition at line 45 of file cl_shared.h.
Referenced by ACTOR_InitStartup(), CL_InitLocal(), CL_ServerEventsInit(), Con_Init(), HUD_InitCallbacks(), and IN_Init().
#define RADAR_HEIGHT 256 |
Definition at line 52 of file cl_shared.h.
Referenced by CP_AddRadarCoverage(), CP_InitializeRadarOverlay(), CP_UploadRadarCoverage(), and uiGeoscapeNode::onLoading().
#define RADAR_WIDTH 512 |
Definition at line 51 of file cl_shared.h.
Referenced by CP_DrawRadarOverlayRow(), CP_DrawXVIOverlayRow(), CP_InitializeRadarOverlay(), CP_RadarGet(), CP_UploadRadarCoverage(), and uiGeoscapeNode::onLoading().
#define TEXT_DOMAIN "ufoai" |
Definition at line 42 of file cl_shared.h.
Referenced by CL_Init().
#define XVI_HEIGHT 256 |
Definition at line 50 of file cl_shared.h.
Referenced by CP_ChangeXVILevel(), CP_DecreaseXVILevelEverywhere(), CP_GetXVILevel(), CP_GetXVIMapDimensions(), CP_IncreaseXVILevel(), CP_InitializeXVIOverlay(), CP_SetXVILevel(), and uiGeoscapeNode::onLoading().
#define XVI_WIDTH 512 |
Definition at line 49 of file cl_shared.h.
Referenced by CP_ChangeXVILevel(), CP_DecreaseXVILevelEverywhere(), CP_DrawXVIOverlayPixel(), CP_DrawXVIOverlayRow(), CP_GetXVILevel(), CP_GetXVIMapDimensions(), CP_InitializeXVIOverlay(), CP_SetXVILevel(), CP_XVIGetAlpha(), and uiGeoscapeNode::onLoading().
typedef struct geoscapeData_s geoscapeData_t |
enum connstate_t |
Definition at line 74 of file cl_shared.h.
mapDef_t* Com_GetMapDefinitionByID | ( | const char * | mapDefID | ) |
Definition at line 3620 of file scripts.cpp.
Referenced by GAME_GetImportData(), and TEST_F().
memPool_t* cl_genericPool |
permanent client data - menu, fonts
Definition at line 86 of file cl_main.cpp.
Referenced by CIN_ROQ_DecodeInfo(), CL_ParseEvent(), CL_ParseLanguages(), CL_ParseSequence(), CL_ParseTipOfTheDay(), CL_ParticleAppear(), GAME_AllocInventoryMemory(), GAME_FreeAllInventory(), GAME_LoadTeam(), GAME_SaveTeam(), GAME_StrDup(), M_ParseMusic(), SEQ_ExecuteObj2D(), EventsTest::SetUpTestCase(), ParticleTest::SetUpTestCase(), ScriptTest::SetUpTestCase(), MapDefStatsTest::SetUpTestCase(), FootStepTest::SetUpTestCase(), MapDefTest::SetUpTestCase(), MapDefMassRMATest::SetUpTestCase(), CampaignTest::SetUpTestCase(), and UI_DrawModelNode().