ccs_s Struct Reference

client campaign structure More...

#include <cp_campaign.h>

Collaboration diagram for ccs_s:
Collaboration graph
[legend]

Data Fields

equipDef_t eMission
market_t eMarket
linkedList_tmissions
battleParam_t battleParameters
int lastInterestIncreaseDelay
int overallInterest
int interest [INTERESTCATEGORY_MAX]
int lastMissionSpawnedDelay
vec2_t mapPos
vec2_t mapSize
int credits
int civiliansKilled
int aliensKilled
date_t date
qboolean XVIShowMap
qboolean breathingMailSent
float timer
vec3_t angles
vec2_t center
float zoom
aircraft_tinterceptAircraft
mission_tselectedMission
aircraft_tselectedAircraft
aircraft_tselectedUFO
mapAction_t mapAction
baseAction_t baseAction
int gameTimeScale
int gameLapse
aircraft_tmissionAircraft
qboolean paid
employee_t employees [MAX_EMPL][MAX_EMPLOYEES]
int numEmployees [MAX_EMPL]
technology_t technologies [MAX_TECHNOLOGIES]
int numTechnologies
base_t bases [MAX_BASES]
int numBases
baseTemplate_t baseTemplates [MAX_BASETEMPLATES]
int numBaseTemplates
int numAircraft
linkedList_talienBases
nation_t nations [MAX_NATIONS]
int numNations
linkedList_tcities
int numCities
aircraftProjectile_t projectiles [MAX_PROJECTILESONGEOSCAPE]
int numProjectiles
transfer_t transfers [MAX_TRANSFERS]
int numTransfers
int numComponents
components_t components [MAX_ASSEMBLIES]
linkedList_tstoredUFOs
teamDef_talienTeams [MAX_TEAMDEFS]
int numAliensTD
alienTeamCategory_t alienCategories [ALIENCATEGORY_MAX]
int numAlienCategories
pediaChapter_t upChapters [MAX_PEDIACHAPTERS]
int numChapters
int numUnreadMails
eventMail_t eventMails [MAX_EVENTMAILS]
int numEventMails
campaignEvents_t campaignEvents [MAX_CAMPAIGNS]
int numCampaignEventDefinitions
building_t buildingTemplates [MAX_BUILDINGS]
int numBuildingTemplates
building_t buildings [MAX_BASES][MAX_BUILDINGS]
int numBuildings [MAX_BASES]
installationTemplate_t installationTemplates [MAX_INSTALLATION_TEMPLATES]
int numInstallationTemplates
installation_t installations [MAX_INSTALLATIONS]
int numInstallations
production_queue_t productions [MAX_BASES]
aircraft_t ufos [MAX_UFOONGEOSCAPE]
int numUFOs
msgCategory_t messageCategories [MAX_MESSAGECATEGORIES]
int numMsgCategories
msgCategoryEntry_t msgCategoryEntries [NT_NUM_NOTIFYTYPE+MAX_MESSAGECATEGORIES]
int numMsgCategoryEntries
rank_t ranks [MAX_RANKS]
int numRanks
technology_tteamDefTechs [MAX_TEAMDEFS]
technology_tobjDefTechs [MAX_OBJDEFS]
campaign_tcurCampaign
stats_t campaignStats
missionResults_t missionResults
campaign_t campaigns [MAX_CAMPAIGNS]
int numCampaigns
salary_t salaries [MAX_CAMPAIGNS]
aircraft_t aircraftTemplates [MAX_AIRCRAFT]
int numAircraftTemplates

Detailed Description

client campaign structure

See also:
csi_t

Definition at line 362 of file cp_campaign.h.


Field Documentation

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().

Todo:
move into the base node extra data

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 432 of file cp_campaign.h.

Referenced by B_GetBaseTemplate(), and B_ParseBaseTemplate().

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]

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]

how many civilians were killed already

Definition at line 379 of file cp_campaign.h.

Referenced by CP_LoadXML(), CP_MissionEnd(), and CP_SaveXML().

Definition at line 459 of file cp_campaign.h.

Referenced by CL_GetComponentsByID(), CL_GetComponentsByItem(), and CL_ParseComponents().

employee_t ccs_s::employees[MAX_EMPL][MAX_EMPLOYEES]
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().

Definition at line 405 of file cp_campaign.h.

Referenced by CL_CampaignRun(), CL_UpdateTime(), and MAP_DrawMapMarkers().

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().

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().

msgCategory_t ccs_s::messageCategories[MAX_MESSAGECATEGORIES]

Definition at line 515 of file cp_campaign.h.

Referenced by MSO_ParseCategories().

msgCategoryEntry_t ccs_s::msgCategoryEntries[NT_NUM_NOTIFYTYPE+MAX_MESSAGECATEGORIES]
nation_t ccs_s::nations[MAX_NATIONS]

Definition at line 433 of file cp_campaign.h.

Referenced by B_GetBaseTemplate(), and B_ParseBaseTemplate().

int ccs_s::numBuildings[MAX_BASES]

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 477 of file cp_campaign.h.

Referenced by RS_ParseTechnologies(), UP_GenerateSummary(), and UP_ParseChapters().

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]

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 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().

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().

Definition at line 532 of file cp_campaign.h.

Referenced by RS_GetTechForItem(), and RS_InitTree().

Definition at line 411 of file cp_campaign.h.

Referenced by CL_CampaignRun(), CP_LoadXML(), and CP_SaveXML().

aircraftProjectile_t ccs_s::projectiles[MAX_PROJECTILESONGEOSCAPE]
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]
technology_t ccs_s::technologies[MAX_TECHNOLOGIES]
float ccs_s::timer

Definition at line 384 of file cp_campaign.h.

Referenced by CL_CampaignRun().

transfer_t ccs_s::transfers[MAX_TRANSFERS]
aircraft_t ccs_s::ufos[MAX_UFOONGEOSCAPE]
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 -

See also:
CP_IsXVIResearched

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

The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2