client campaign structure More...
#include <cp_campaign.h>
client campaign structure
Definition at line 362 of file cp_campaign.h.
aircraft_t ccs_s::aircraftTemplates[MAX_AIRCRAFT] |
Available aircraft types/templates/samples.
Definition at line 542 of file cp_campaign.h.
Referenced by AIR_GetAircraftSilent(), AIR_ParseAircraft(), AIR_ScriptSanityCheck(), BS_BuyType(), PR_UpdateProductionList(), RS_InitTree(), UFO_AddToGeoscape(), and UFO_GetByType().
Definition at line 439 of file cp_campaign.h.
Referenced by AB_BuildBase(), AB_DestroyBase(), AB_GetAlienBaseNumber(), AB_GetNext(), AB_LoadXML(), and CL_ResetSinglePlayerData().
alienTeamCategory_t ccs_s::alienCategories[ALIENCATEGORY_MAX] |
different alien team available that will be used in mission
Definition at line 469 of file cp_campaign.h.
Referenced by CL_ParseAlienTeam(), CL_ResetSinglePlayerData(), CP_IsAlienEquipmentSelectable(), and CP_SetAlienTeamByInterest().
how many aliens were killed already
Definition at line 380 of file cp_campaign.h.
Referenced by CP_LoadXML(), CP_MissionEnd(), CP_SaveXML(), and GAME_CP_Results().
teamDef_t* ccs_s::alienTeams[MAX_TEAMDEFS] |
Definition at line 465 of file cp_campaign.h.
Referenced by CL_ResetSinglePlayerData(), TR_LoadXML(), and TR_SaveXML().
3d geoscape rotation
Definition at line 386 of file cp_campaign.h.
Referenced by CP_CampaignInit(), CP_LoadXML(), CP_SaveXML(), MAP3D_ScreenToMap(), MAP3D_SmoothRotate(), MAP_3DMapToScreen(), MAP_Draw3DMarkerIfVisible(), MAP_DrawMap(), MAP_Scroll_f(), MAP_StartCenter(), MAP_Zoom_f(), and UI_MapNodeCapturedMouseMove().
Definition at line 402 of file cp_campaign.h.
Referenced by B_BuildingClick_f(), B_ResetBuildingCurrent(), UI_BaseMapNodeClick(), and UI_BaseMapNodeDraw().
base_t ccs_s::bases[MAX_BASES] |
Definition at line 427 of file cp_campaign.h.
Referenced by B_GetBaseByIDX(), B_GetFoundedBaseCount(), B_SetBaseTitle_f(), B_UpdateBaseData(), and MAP_GetGeoscapeAngle().
baseTemplate_t ccs_s::baseTemplates[MAX_BASETEMPLATES] |
Definition at line 432 of file cp_campaign.h.
Referenced by B_GetBaseTemplate(), and B_ParseBaseTemplate().
Structure used to remember every parameter used during last battle
Definition at line 368 of file cp_campaign.h.
Referenced by CL_AutoMissionAlienCollect(), CL_GameAutoGo(), CL_HandleNationData(), CP_CreateAlienTeam(), CP_CreateCivilianTeam(), CP_GetWinProbabilty(), CP_IsAlienEquipmentSelectable(), CP_MissionEnd(), CP_MissionRemove(), CP_SetAlienEquipmentByInterest(), CP_SetAlienTeamByInterest(), CP_SetMissionVars(), CP_StartMissionMap(), and CP_StartSelectedMission().
status flag indicating that mail about died aliens due to missing breathing tech was sent
Definition at line 383 of file cp_campaign.h.
Referenced by AC_LoadXML(), AC_SaveXML(), and AL_AddAliens().
building_t ccs_s::buildings[MAX_BASES][MAX_BUILDINGS] |
Definition at line 491 of file cp_campaign.h.
Referenced by B_BuildingDestroy(), B_Destroy(), B_GetNextBuilding(), B_LoadXML(), B_SetBuildingByClick(), and E_LoadXML().
building_t ccs_s::buildingTemplates[MAX_BUILDINGS] |
Definition at line 488 of file cp_campaign.h.
Referenced by B_BuildFromTemplate(), B_BuildingInit(), B_GetBuildingTemplate(), B_ParseBaseTemplate(), B_ParseBuildings(), B_ScriptSanityCheck(), B_UpdateBaseCapacities(), BaseSummary_Init(), and RS_InitTree().
campaignEvents_t ccs_s::campaignEvents[MAX_CAMPAIGNS] |
holds all campaign events (cl_event.c)
Definition at line 483 of file cp_campaign.h.
Referenced by CL_ParseCampaignEvents(), and CP_GetEventsByID().
campaign_t ccs_s::campaigns[MAX_CAMPAIGNS] |
Definition at line 538 of file cp_campaign.h.
Referenced by CL_GetCampaign(), CL_ParseCampaign(), GAME_CP_CampaignListClick_f(), and GAME_CP_GetCampaigns_f().
Definition at line 535 of file cp_campaign.h.
Referenced by AB_BuildBase(), AIR_NewAircraft(), B_BuildBase_f(), B_BuildFromTemplate(), B_SetUpBase(), CL_AllowTimeScale(), CL_HandleNationData(), CL_SetGameTime(), CL_StatsUpdate_f(), CP_BaseAttackStartMission(), CP_CreateNewMission(), CP_MissionBegin(), INS_BuildInstallation_f(), STATS_LoadXML(), STATS_SaveXML(), UFO_DetectNewUFO(), and US_StoreUFO().
latitude and longitude of the point we're looking at on earth
Definition at line 387 of file cp_campaign.h.
Referenced by CP_CampaignInit(), CP_LoadXML(), CP_SaveXML(), MAP_DrawMap(), MAP_MapToScreen(), MAP_ScreenToMap(), MAP_Scroll_f(), MAP_SmoothTranslate(), MAP_StartCenter(), MAP_Zoom_f(), UI_MapNodeCapturedMouseMove(), and UI_MapNodeZoom().
Definition at line 446 of file cp_campaign.h.
Referenced by CL_ParseCities(), CL_ResetSinglePlayerData(), CP_ChooseCity(), and NAT_ScriptSanityCheck().
how many civilians were killed already
Definition at line 379 of file cp_campaign.h.
Referenced by CP_LoadXML(), CP_MissionEnd(), and CP_SaveXML().
components_t ccs_s::components[MAX_ASSEMBLIES] |
Definition at line 459 of file cp_campaign.h.
Referenced by CL_GetComponentsByID(), CL_GetComponentsByItem(), and CL_ParseComponents().
int ccs_s::credits |
actual credits amount
Definition at line 378 of file cp_campaign.h.
Referenced by B_BaseInit_f(), B_BuildBase_f(), B_CheckCredits(), B_ConstructBuilding(), B_InitialEquipment(), B_SellOrAddItems(), B_SetUpFirstBase(), BS_BuyAircraft_f(), BS_BuyItem_f(), BS_BuyType(), BS_CheckAndDoBuyItem(), BS_ProcessCraftItemSale(), BS_SellAircraft_f(), BS_SellItem_f(), CL_StatsUpdate_f(), CL_UpdateCredits(), CP_CheckLostCondition(), CP_NationHandleBudget(), CP_SaveXML(), INS_BuildInstallation_f(), PR_ProductionFrame(), and UR_DialogStartSell_f().
Current running campaign
Definition at line 534 of file cp_campaign.h.
Referenced by B_BuildBase_f(), B_InitCallbacks(), B_SetUpFirstBase(), BS_InitMarket(), CL_CampaignRunMarket(), CL_StatsUpdate_f(), CP_CampaignInit(), CP_CheckCampaignEvents(), CP_CheckLostCondition(), CP_GetSalaryAdminEmployee(), CP_GetSalaryBaseEmployee(), CP_GetSalaryRankBonusEmployee(), CP_GetWinProbabilty(), CP_IncreaseAlienInterest(), CP_IsRunning(), CP_SaveXML(), CP_StartXVISpreading_f(), E_CreateEmployeeAtIndex(), E_InitialEmployees(), GAME_CP_GetTeam(), MAP_DrawMap(), MAP_Init(), NAT_SetHappiness(), and RS_InitTree().
current date
Definition at line 381 of file cp_campaign.h.
Referenced by AB_BaseSearchedByNations(), B_CheckBuildingConstruction(), B_CheckBuildingStatusForMenu_f(), B_ConstructBuilding(), BaseSummary_Init(), CL_CampaignRun(), CL_CampaignRunMarket(), CL_EventAddMail_f(), CL_UpdateTime(), CP_BaseAttackGoToBase(), CP_BaseAttackMissionLeave(), CP_BuildBaseSetUpBase(), CP_BuildBaseSubvertGovernment(), CP_CampaignInit(), CP_CheckMissionEnd(), CP_CreateNewMission(), CP_HarvestMissionGo(), CP_HarvestMissionStart(), CP_InterceptAircraftMissionSet(), CP_InterceptAttackInstallation(), CP_InterceptNextStage(), CP_LoadXML(), CP_MissionBegin(), CP_MissionStageEnd(), CP_ReconMissionAerial(), CP_ReconMissionGround(), CP_ReconMissionGroundGo(), CP_ReconMissionLeave(), CP_ReduceXVIEverywhere(), CP_SaveXML(), CP_SpawnCrashSiteMission(), CP_SpawnRescueMission(), CP_SupplySetStayAtBase(), CP_TerrorMissionGo(), CP_TerrorMissionStart(), CP_XVIMissionStart(), INS_SelectInstallation(), INS_SetUpInstallation(), INS_UpdateInstallationData(), MAP_DrawMap(), MAP_IsNight(), MS_AddNewMessageSound(), RS_MarkCollected(), RS_MarkOneResearchable(), RS_ResearchFinish(), SAV_GameSave(), TR_TransferAlienAfterMissionStart(), TR_TransferCheck(), TR_TransferStart(), UFO_DetectNewUFO(), UI_BaseMapNodeDraw(), UR_DialogStartStore_f(), UR_ProcessActive(), and US_StoreUFO().
Prices, evolution and number of items on market
Definition at line 364 of file cp_campaign.h.
Referenced by B_SellOrAddItems(), BS_AddAircraftToMarket(), BS_AddItemToMarket(), BS_Autosell_f(), BS_BuyItem_f(), BS_BuyType(), BS_CheckAndDoBuyItem(), BS_GetAircraftBuyingPrice(), BS_GetAircraftOnMarket(), BS_GetAircraftSellingPrice(), BS_GetItemBuyingPrice(), BS_GetItemSellingPrice(), BS_GetMinMaxValueByItemID(), BS_InitMarket(), BS_LoadXML(), BS_MarketScroll_f(), BS_RemoveAircraftFromMarket(), BS_RemoveItemFromMarket(), BS_SaveXML(), and CL_CampaignRunMarket().
Definition at line 363 of file cp_campaign.h.
Referenced by AII_CarriedItems(), CP_MissionEnd(), CP_StartSelectedMission(), and GAME_CP_GetEquipmentDefinition().
employee_t ccs_s::employees[MAX_EMPL][MAX_EMPLOYEES] |
Definition at line 415 of file cp_campaign.h.
Referenced by CL_CleanTempInventory(), CP_MissionEnd(), E_CreateEmployeeAtIndex(), E_DeleteAllEmployees(), E_DeleteEmployee(), E_DeleteEmployeesExceedingCapacity(), E_GetNext(), E_LoadXML(), E_RefreshUnhiredEmployeeGlobalList(), and E_ResetEmployees().
eventMail_t ccs_s::eventMails[MAX_EVENTMAILS] |
holds all event mails (cl_event.c)
Definition at line 480 of file cp_campaign.h.
Referenced by CL_GetEventMail(), and CL_ParseEventMails().
int ccs_s::gameLapse |
Definition at line 406 of file cp_campaign.h.
Referenced by CL_GameTimeFast(), CL_GameTimeSlow(), CL_GameTimeStop(), CL_IsTimeStopped(), CL_SetGameTime(), and CL_UpdateTime().
Definition at line 405 of file cp_campaign.h.
Referenced by CL_CampaignRun(), CL_UpdateTime(), and MAP_DrawMapMarkers().
installation_t ccs_s::installations[MAX_INSTALLATIONS] |
Definition at line 501 of file cp_campaign.h.
Referenced by CL_StatsUpdate_f(), INS_DestroyInstallation(), INS_GetInstallationByIDX(), INS_SetInstallationTitle(), and MAP_GetGeoscapeAngle().
installationTemplate_t ccs_s::installationTemplates[MAX_INSTALLATION_TEMPLATES] |
Definition at line 497 of file cp_campaign.h.
Referenced by INS_GetInstallationTemplateFromInstallationID(), INS_InitStartup(), and INS_ParseInstallations().
selected aircraft for interceptions
Definition at line 390 of file cp_campaign.h.
Referenced by AIR_Move(), AIR_SendAircraftToMission(), CL_GameAutoGo(), CP_BaseAttackStartMission(), GAME_CP_MissionAutoCheck_f(), MAP_NotifyAircraftRemoved(), and MAP_ResetAction().
int ccs_s::interest[INTERESTCATEGORY_MAX] |
interest of aliens: determine which actions aliens will undertake
Definition at line 372 of file cp_campaign.h.
Referenced by AB_DestroyBase(), CL_ChangeIndividualInterest(), CL_ResetAlienInterest(), CP_CreateNewMission(), CP_LoadInterestsXML(), CP_SaveInterestsXML(), and CP_SelectNewMissionType().
How many hours since last increase of alien overall interest
Definition at line 370 of file cp_campaign.h.
Referenced by CL_ResetAlienInterest(), CP_IncreaseAlienInterest(), CP_LoadInterestsXML(), and CP_SaveInterestsXML().
How many days since last mission has been spawned
Definition at line 373 of file cp_campaign.h.
Referenced by CL_ResetAlienInterest(), CP_InitializeSpawningDelay(), CP_LoadInterestsXML(), CP_SaveInterestsXML(), and CP_SpawnNewMissions().
Definition at line 398 of file cp_campaign.h.
Referenced by B_BaseResetStatus(), B_BuildBase_f(), B_SelectBase(), CP_BaseAttackMissionIsFailure(), CP_BaseAttackStartMission(), INS_BuildInstallation_f(), INS_SelectInstallation(), MAP_DrawMap(), MAP_MapClick(), MAP_MultiSelectExecuteAction_f(), MAP_ResetAction(), and MAP_SelectMission().
geoscape map position (from the menu node)
Definition at line 375 of file cp_campaign.h.
Referenced by MAP3D_ScreenToMap(), MAP_3DMapToScreen(), MAP_Draw3DMarkerIfVisible(), MAP_DrawMap(), MAP_MapToScreen(), and MAP_ScreenToMap().
geoscape map size (from the menu node)
Definition at line 376 of file cp_campaign.h.
Referenced by MAP3D_ScreenToMap(), MAP_3DMapToScreen(), MAP_Draw3DMarkerIfVisible(), MAP_DrawMap(), MAP_MapDrawLine(), MAP_MapToScreen(), MAP_ScreenToMap(), MAP_Scroll_f(), and UI_MapNodeCapturedMouseMove().
msgCategory_t ccs_s::messageCategories[MAX_MESSAGECATEGORIES] |
Definition at line 515 of file cp_campaign.h.
Referenced by MSO_ParseCategories().
aircraft pointer for mission handling
Definition at line 408 of file cp_campaign.h.
Referenced by AIR_Move(), CP_BaseAttackMissionDestroyBase(), CP_BaseAttackMissionIsFailure(), CP_BaseAttackStartMission(), CP_CreateBattleParameters(), CP_MissionEnd(), CP_StartSelectedMission(), GAME_CP_MissionAutoGo_f(), GAME_CP_Results(), and GAME_CP_Spawn().
Definition at line 536 of file cp_campaign.h.
Referenced by AII_CollectingItems(), CL_GameAutoGo(), CL_HandleNationData(), CP_InitMissionResults(), CP_MissionEnd(), CP_StartSelectedMission(), GAME_CP_Results(), UFO_MissionResultToString(), and UR_DialogInit_f().
Missions spawned (visible on geoscape or not)
Definition at line 366 of file cp_campaign.h.
Referenced by CL_DisplayPopupAircraft(), CL_ResetSinglePlayerData(), CP_CheckBaseAttacks_f(), CP_CheckMissionEnd(), CP_CheckNewMissionDetectedOnGeoscape(), CP_CountMission(), CP_CountMissionActive(), CP_CountMissionOnGeoscape(), CP_CreateNewMission(), CP_GetMissionByIDSilent(), CP_LoadMissionsXML(), CP_MissionNotifyBaseDestroyed(), CP_MissionNotifyInstallationDestroyed(), CP_MissionRemove(), CP_SaveMissionsXML(), CP_SetMissionName(), CP_SpreadXVI(), CP_TerrorInCity(), CP_UFORemoveFromGeoscape(), CP_UpdateMissionVisibleOnGeoscape(), MAP_DrawMapMarkers(), MAP_GetGeoscapeAngle(), MAP_GetMissionByIDX(), MAP_MapClick(), MAP_UpdateGeoscapeDock(), and NAT_UpdateHappinessForAllNations().
msgCategoryEntry_t ccs_s::msgCategoryEntries[NT_NUM_NOTIFYTYPE+MAX_MESSAGECATEGORIES] |
Definition at line 519 of file cp_campaign.h.
Referenced by MSO_InitList(), MSO_ParseCategories(), MSO_Toggle_f(), and MSO_UpdateVisibleButtons().
nation_t ccs_s::nations[MAX_NATIONS] |
Definition at line 442 of file cp_campaign.h.
Referenced by CL_HandleNationData(), CL_NationDrawStats(), CL_NationsMaxFunding(), CL_NationStatsUpdate_f(), CL_ParseNations(), CL_StatsUpdate_f(), CP_CheckLostCondition(), CP_ChooseNation(), CP_GetAverageXVIRate(), CP_NationBackupMonthlyData(), CP_NationHandleBudget(), CP_UpdateNationXVIInfection(), E_InitialEmployees(), E_RandomNation(), E_RefreshUnhiredEmployeeGlobalList(), MAP_DrawMapMarkers(), MAP_GetNation(), NAT_GetNationByID(), NAT_GetNationByIDX(), and NAT_SaveXML().
Definition at line 436 of file cp_campaign.h.
Referenced by AIR_Add(), AIR_Delete(), AIR_LoadXML(), PR_UpdateProductionList(), STATS_LoadXML(), TR_CargoList(), TR_CargoListSelect_f(), TR_CheckAircraft(), TR_EmptyTransferCargo(), TR_LoadXML(), TR_NotifyAircraftRemoved(), TR_SaveXML(), and TR_TransferStart().
Number of aircraft templates.
Definition at line 543 of file cp_campaign.h.
Referenced by AIR_GetAircraftSilent(), AIR_ParseAircraft(), AIR_ScriptSanityCheck(), BS_BuyType(), PR_UpdateProductionList(), RS_InitTree(), UFO_AddToGeoscape(), and UFO_GetByType().
Definition at line 471 of file cp_campaign.h.
Referenced by CL_ParseAlienTeam(), CL_ResetSinglePlayerData(), and CP_SetAlienTeamByInterest().
Definition at line 466 of file cp_campaign.h.
Referenced by AC_AlienClick(), AC_InitCallbacks(), AC_KillAll(), AC_KillOne_f(), AC_SaveXML(), AC_UpdateMenu(), AL_AddAliens(), AL_CountAll(), AL_CountInBase(), AL_RemoveAliens(), BaseSummary_Init(), CL_ResetSinglePlayerData(), TR_CargoList(), TR_CargoListSelect_f(), TR_CheckAlien(), TR_EmptyTransferCargo(), TR_LoadXML(), TR_SaveXML(), TR_TransferAlienAfterMissionStart(), TR_TransferListClear_f(), TR_TransferListSelect_f(), TR_TransferSelect(), and TR_TransferStart().
int ccs_s::numBases |
Definition at line 429 of file cp_campaign.h.
Referenced by AIR_AircraftGetFromIDX(), AIR_AircraftsNotifyMissionRemoved(), AIR_IsEmployeeInAircraft(), AIR_PostLoadInitMissions(), AIR_RemoveEmployee(), B_BaseInit_f(), B_BuildBase_f(), B_BuildingOpenAfterClick(), B_GetInstallationLimit(), B_InitCallbacks(), B_LoadXML(), B_MarkBuildingDestroy(), B_MoveAircraftOnGeoscapeToOtherBases(), B_NextBase_f(), B_PrevBase_f(), B_SaveXML(), B_SelectBase(), B_SetBaseTitle_f(), B_UpdateBaseCount(), BaseSummary_SelectBase_f(), BDEF_AddBattery_f(), BDEF_AutoSelectTarget(), BDEF_RemoveBattery_f(), CL_CampaignRun(), CL_DisplayPopupInterceptMission(), CL_DisplayPopupInterceptUFO(), CL_ResetSinglePlayerData(), CL_StatsUpdate_f(), CP_BaseAttackChooseBase(), CP_CheckLostCondition(), E_LoadXML(), MAP_GetGeoscapeAngle(), MAP_MapClick(), MAP_MultiSelectExecuteAction_f(), MAP_ResetAction(), MAP_SetOverlay(), PR_LoadXML(), PR_ProductionBase(), PR_SaveXML(), RS_InitTree(), RS_MarkStoryLineEventResearched(), SAV_GameSave(), TR_Init_f(), TR_InitBaseList(), TR_LoadXML(), TR_TransferAliensFromMission_f(), and UFO_CampaignCheckEvents().
Definition at line 433 of file cp_campaign.h.
Referenced by B_GetBaseTemplate(), and B_ParseBaseTemplate().
int ccs_s::numBuildings[MAX_BASES] |
Definition at line 493 of file cp_campaign.h.
Referenced by B_BuildingDestroy(), B_Destroy(), B_GetNextBuilding(), B_LoadXML(), and B_SetBuildingByClick().
Definition at line 489 of file cp_campaign.h.
Referenced by B_BuildFromTemplate(), B_BuildingInit(), B_GetBuildingTemplate(), B_ParseBaseTemplate(), B_ParseBuildings(), B_ScriptSanityCheck(), B_UpdateBaseCapacities(), BaseSummary_Init(), CL_ReadSinglePlayerData(), and RS_InitTree().
how many event definitions (script-id: events) parsed
Definition at line 484 of file cp_campaign.h.
Referenced by CL_ParseCampaignEvents(), and CP_GetEventsByID().
Definition at line 539 of file cp_campaign.h.
Referenced by CL_GetCampaign(), CL_ParseCampaign(), GAME_CP_CampaignListClick_f(), and GAME_CP_GetCampaigns_f().
Definition at line 477 of file cp_campaign.h.
Referenced by RS_ParseTechnologies(), UP_GenerateSummary(), and UP_ParseChapters().
int ccs_s::numCities |
Definition at line 447 of file cp_campaign.h.
Referenced by CL_ParseCities(), CL_ReadSinglePlayerData(), and CP_ChooseCity().
Definition at line 458 of file cp_campaign.h.
Referenced by CL_GetComponentsByID(), CL_GetComponentsByItem(), and CL_ParseComponents().
int ccs_s::numEmployees[MAX_EMPL] |
Definition at line 417 of file cp_campaign.h.
Referenced by CP_GetSalaryAdministrative(), CP_MissionEnd(), E_CreateEmployeeAtIndex(), E_DeleteAllEmployees(), E_DeleteEmployee(), E_DeleteEmployeesExceedingCapacity(), E_GetNext(), E_GetUnhiredEmployee(), E_HireForBuilding(), E_LoadXML(), E_ResetEmployees(), TR_CargoList(), TR_CargoListSelect_f(), TR_CheckEmployee(), TR_EmptyTransferCargo(), and TR_TransferStart().
how many eventmails (script-id: mail) parsed
Definition at line 481 of file cp_campaign.h.
Referenced by CL_GetEventMail(), and CL_ParseEventMails().
Definition at line 503 of file cp_campaign.h.
Referenced by BDEF_AutoSelectTarget(), CL_DisplayPopupInterceptUFO(), CL_StatsUpdate_f(), CP_InterceptMissionSet(), INS_BuildInstallation_f(), INS_DestroyInstallation(), INS_GetFirstUFOYard(), INS_GetFirstUnfoundedInstallation(), INS_InitCallbacks(), INS_LoadXML(), INS_SaveXML(), INS_SelectInstallation(), INS_SelectInstallation_f(), INS_SetInstallationTitle(), MAP_GetGeoscapeAngle(), MAP_MapClick(), MAP_MultiSelectExecuteAction_f(), MAP_SetOverlay(), UFO_CampaignCheckEvents(), UR_DialogInitStore_f(), and UR_DialogStartStore_f().
Definition at line 498 of file cp_campaign.h.
Referenced by INS_GetInstallationTemplateFromInstallationID(), INS_InitStartup(), and INS_ParseInstallations().
Definition at line 516 of file cp_campaign.h.
Referenced by MSO_ParseCategories().
Definition at line 520 of file cp_campaign.h.
Referenced by MSO_InitList(), and MSO_ParseCategories().
Definition at line 443 of file cp_campaign.h.
Referenced by CL_HandleNationData(), CL_NationSelect_f(), CL_NationsMaxFunding(), CL_NationStatsUpdate_f(), CL_ParseNations(), CL_ReadSinglePlayerData(), CL_StatsUpdate_f(), CP_CheckLostCondition(), CP_ChooseNation(), CP_GetAverageXVIRate(), CP_NationBackupMonthlyData(), CP_NationHandleBudget(), CP_NationStatsClick_f(), CP_UpdateNationXVIInfection(), E_InitialEmployees(), E_RandomNation(), E_RefreshUnhiredEmployeeGlobalList(), MAP_DrawMapMarkers(), MAP_GetNation(), NAT_GetNationByID(), NAT_GetNationByIDX(), NAT_SaveXML(), UR_DialogFillNations(), UR_DialogGetCurrentNationIndex(), UR_DialogInitSell_f(), UR_DialogSelectSellNation_f(), UR_DialogStartSell_f(), and UR_SortNations().
Definition at line 451 of file cp_campaign.h.
Referenced by AIRFIGHT_AddProjectile(), AIRFIGHT_BaseShoot(), AIRFIGHT_CampaignRunProjectiles(), AIRFIGHT_ExecuteActions(), AIRFIGHT_InstallationShoot(), AIRFIGHT_LoadXML(), AIRFIGHT_RemoveProjectile(), AIRFIGHT_RemoveProjectileAimingAircraft(), AIRFIGHT_SaveXML(), AIRFIGHT_UpdateProjectileForDestroyedAircraft(), and MAP_DrawMapMarkers().
int ccs_s::numRanks |
Definition at line 526 of file cp_campaign.h.
Referenced by CL_GetRankByIdx(), CL_GetRankIdx(), CL_ParseRanks(), CL_ReadSinglePlayerData(), and CL_UpdateCharacterStats().
Definition at line 423 of file cp_campaign.h.
Referenced by BaseSummary_Init(), CL_ParseResearchableCampaignStates(), CL_ParseResearchedCampaignItems(), CL_ReadSinglePlayerData(), RS_CountScientistsInBase(), RS_GetTechWithMostScientists(), RS_InitGUIData(), RS_InitTree(), RS_IsValidTechIndex(), RS_MarkResearchable(), RS_ParseTechnologies(), RS_RequiredLinksAssign(), RS_ResearchRun(), RS_SaveXML(), RS_ScriptSanityCheck(), and UP_Click_f().
Definition at line 455 of file cp_campaign.h.
Referenced by E_DeleteEmployee(), TR_GetNext(), TR_LoadXML(), TR_TransferAlienAfterMissionStart(), TR_TransferCheck(), and TR_TransferStart().
int ccs_s::numUFOs |
The current amount of UFOS on the geoscape.
Definition at line 512 of file cp_campaign.h.
Referenced by AIR_LoadAircraftXML(), AIR_LoadXML(), AIR_PostLoadInitMissions(), AIR_SendAircraftPursuingUFO(), BDEF_AutoTarget(), MAP_DrawMapMarkers(), MAP_GetGeoscapeAngle(), MAP_GetUFOAngle(), MAP_MapClick(), MAP_MultiSelectExecuteAction_f(), MAP_UpdateGeoscapeDock(), RADAR_SetRadarAfterLoading(), UFO_AddToGeoscape(), UFO_CampaignCheckEvents(), UFO_CampaignRunUFOs(), UFO_NotifyPhalanxAircraftRemoved(), UFO_RemoveFromGeoscape(), and UFO_UpdateAlienInterestForAllBasesAndInstallations().
only for faster access (don't cycle all techs every frame)
Definition at line 478 of file cp_campaign.h.
Referenced by MS_AddNewMessageSound(), UP_GetUnreadMails(), UP_SetAllMailsRead_f(), and UP_SetMailHeader().
technology_t* ccs_s::objDefTechs[MAX_OBJDEFS] |
Definition at line 532 of file cp_campaign.h.
Referenced by RS_GetTechForItem(), and RS_InitTree().
overall interest of aliens: how far is the player in the campaign
Definition at line 371 of file cp_campaign.h.
Referenced by CL_ChangeIndividualInterest(), CL_ResetAlienInterest(), CP_CheckCampaignEvents(), CP_CreateAlienTeam(), CP_CreateNewMission(), CP_IncreaseAlienInterest(), CP_LoadInterestsXML(), CP_SaveInterestsXML(), CP_SpawnNewMissions(), MAP_DrawMap(), and UFO_ShouldAppearOnGeoscape().
Definition at line 411 of file cp_campaign.h.
Referenced by CL_CampaignRun(), CP_LoadXML(), and CP_SaveXML().
production_queue_t ccs_s::productions[MAX_BASES] |
Definition at line 507 of file cp_campaign.h.
Referenced by BaseSummary_Init(), PR_DecreaseProduction(), PR_EmptyQueue(), PR_LoadXML(), PR_ProductionBase(), PR_ProductionDown_f(), PR_ProductionIncrease_f(), PR_ProductionListClick_f(), PR_ProductionListRightClick_f(), PR_ProductionQueueBase(), PR_ProductionRollBottom_f(), PR_ProductionRun(), PR_ProductionStop_f(), PR_ProductionType_f(), PR_ProductionUp_f(), PR_QueueNext(), PR_SaveXML(), PR_UpdateProductionList(), and US_RemoveStoredUFO().
aircraftProjectile_t ccs_s::projectiles[MAX_PROJECTILESONGEOSCAPE] |
Definition at line 450 of file cp_campaign.h.
Referenced by AIRFIGHT_AddProjectile(), AIRFIGHT_BaseShoot(), AIRFIGHT_CampaignRunProjectiles(), AIRFIGHT_ExecuteActions(), AIRFIGHT_InstallationShoot(), AIRFIGHT_LoadXML(), AIRFIGHT_RemoveProjectile(), AIRFIGHT_RemoveProjectileAimingAircraft(), AIRFIGHT_SaveXML(), AIRFIGHT_UpdateProjectileForDestroyedAircraft(), and MAP_DrawMapMarkers().
rank_t ccs_s::ranks[MAX_RANKS] |
Definition at line 524 of file cp_campaign.h.
Referenced by CL_GetRankByIdx(), CL_GetRankIdx(), and CL_ParseRanks().
salary_t ccs_s::salaries[MAX_CAMPAIGNS] |
Definition at line 540 of file cp_campaign.h.
Referenced by CL_ParseCampaign(), CL_ParseSalary(), CP_GetSalaryAdminEmployee(), CP_GetSalaryBaseEmployee(), and CP_GetSalaryRankBonusEmployee().
Currently selected aircraft
Definition at line 393 of file cp_campaign.h.
Referenced by CL_PopupChangeHomebase_f(), CP_SpawnRescueMission(), MAP_DrawMap(), MAP_DrawMapOnePhalanxAircraft(), MAP_MapClick(), MAP_MultiSelectExecuteAction_f(), MAP_NotifyAircraftRemoved(), MAP_ResetAction(), and MAP_SelectAircraft().
Currently selected mission on geoscape
Definition at line 392 of file cp_campaign.h.
Referenced by CP_BaseAttackStartMission(), CP_ChangeNationHappiness_f(), CP_StartSelectedMission(), GAME_CP_MissionAutoCheck_f(), GAME_CP_MissionAutoGo_f(), GAME_CP_Results(), GAME_CP_Results_f(), MAP_DrawMap(), MAP_DrawMapOneMission(), MAP_MultiSelectExecuteAction_f(), MAP_NotifyMissionRemoved(), MAP_ResetAction(), and MAP_SelectMission().
Currently selected UFO
Definition at line 394 of file cp_campaign.h.
Referenced by CL_PopupInterceptBaseClick_f(), MAP_DrawMap(), MAP_DrawMapMarkers(), MAP_MultiSelectExecuteAction_f(), MAP_NotifyUFODisappear(), MAP_NotifyUFORemoved(), MAP_ResetAction(), and MAP_SelectUFO().
Definition at line 462 of file cp_campaign.h.
Referenced by CL_ResetSinglePlayerData(), US_GetNext(), US_LoadXML(), US_RemoveStoredUFO(), US_StoredUFOCount(), and US_StoreUFO().
technology_t* ccs_s::teamDefTechs[MAX_TEAMDEFS] |
Definition at line 529 of file cp_campaign.h.
Referenced by AL_FillInContainment(), CL_ReadSinglePlayerData(), and GAME_CP_TeamIsKnown().
technology_t ccs_s::technologies[MAX_TECHNOLOGIES] |
Definition at line 421 of file cp_campaign.h.
Referenced by AIM_AircraftEquipMenuClick_f(), RS_CountScientistsInBase(), RS_GetTechByIDX(), RS_InitTree(), RS_IsResearched_idx(), RS_ParseTechnologies(), RS_ScriptSanityCheck(), and UP_Click_f().
float ccs_s::timer |
Definition at line 384 of file cp_campaign.h.
Referenced by CL_CampaignRun().
transfer_t ccs_s::transfers[MAX_TRANSFERS] |
Definition at line 454 of file cp_campaign.h.
Referenced by E_DeleteEmployee(), TR_GetNext(), TR_LoadXML(), TR_TransferAlienAfterMissionStart(), TR_TransferCheck(), and TR_TransferStart().
aircraft_t ccs_s::ufos[MAX_UFOONGEOSCAPE] |
Definition at line 511 of file cp_campaign.h.
Referenced by AIR_LoadAircraftXML(), AIR_LoadXML(), AIR_SaveAircraftXML(), AIR_SendAircraftPursuingUFO(), AIRFIGHT_LoadXML(), AIRFIGHT_SaveXML(), BDEF_AutoTarget(), CP_LoadMissionsXML(), CP_SaveMissionsXML(), MAP_DrawMapMarkers(), MAP_GetGeoscapeAngle(), MAP_GetUFOAngle(), MAP_MapClick(), MAP_MultiSelectExecuteAction_f(), MAP_UpdateGeoscapeDock(), UFO_CampaignCheckEvents(), UFO_GetByIDX(), and UFO_RemoveFromGeoscape().
pediaChapter_t ccs_s::upChapters[MAX_PEDIACHAPTERS] |
number of alien team categories defined
Definition at line 475 of file cp_campaign.h.
Referenced by RS_ParseTechnologies(), UP_GenerateSummary(), and UP_ParseChapters().
means that PHALANX has a map of XVI -
Definition at line 382 of file cp_campaign.h.
Referenced by CP_CampaignInit(), CP_LoadXML(), CP_SaveXML(), CP_StartXVISpreading_f(), and CP_UpdateXVIMapButton().
float ccs_s::zoom |
zoom used when looking at earth
Definition at line 388 of file cp_campaign.h.
Referenced by CP_CampaignInit(), CP_LoadXML(), CP_SaveXML(), MAP3D_SmoothRotate(), MAP_DrawAircraftHealthBar(), MAP_DrawMap(), MAP_MapDrawLine(), MAP_MapToScreen(), MAP_ScreenToMap(), MAP_Scroll_f(), MAP_SmoothTranslate(), MAP_StartCenter(), MAP_Zoom_f(), UI_MapNodeCapturedMouseMove(), and UI_MapNodeZoom().