campaign_s Struct Reference

#include <cp_campaign.h>

Collaboration diagram for campaign_s:
Collaboration graph
[legend]

Data Fields

int idx
char id [MAX_VAR]
char name [MAX_VAR]
int team
char researched [MAX_VAR]
char equipment [MAX_VAR]
char market [MAX_VAR]
char asymptoticMarket [MAX_VAR]
const equipDef_tmarketDef
const equipDef_tasymptoticMarketDef
char text [MAX_VAR]
char map [MAX_VAR]
int soldiers
int scientists
int workers
int ugvs
int credits
int num
signed int difficulty
float minhappiness
int negativeCreditsUntilLost
int maxAllowedXVIRateUntilLost
qboolean visible
date_t date
int basecost
char firstBaseTemplate [MAX_VAR]
qboolean finished
const campaignEvents_tevents

Detailed Description

campaign definition

Definition at line 293 of file cp_campaign.h.


Field Documentation

name of the market list containing items on market at the end of the game

Definition at line 301 of file cp_campaign.h.

Referenced by BS_InitMarket().

market definition for this campaign (how many items on the market) containing finale items

Definition at line 303 of file cp_campaign.h.

Referenced by BS_InitMarket(), and CL_CampaignRunMarket().

base building cost for empty base

Definition at line 318 of file cp_campaign.h.

Referenced by B_BuildBase_f(), B_InitCallbacks(), and CP_CheckLostCondition().

start with x credits

Definition at line 310 of file cp_campaign.h.

Referenced by CP_CampaignInit(), and GAME_CP_CampaignListClick_f().

starting date for this campaign

Definition at line 317 of file cp_campaign.h.

Referenced by CP_CampaignInit().

char campaign_s::equipment[MAX_VAR]

name of the equipment list to use on campaign start

Definition at line 299 of file cp_campaign.h.

Referenced by B_SetUpFirstBase().

Definition at line 321 of file cp_campaign.h.

Referenced by CL_ParseCampaign(), and CP_CheckCampaignEvents().

Definition at line 320 of file cp_campaign.h.

template to use for setting up the first base

Definition at line 319 of file cp_campaign.h.

Referenced by B_SetUpFirstBase().

char campaign_s::id[MAX_VAR]

own index in global campaign array

Definition at line 294 of file cp_campaign.h.

Referenced by CL_ParseCampaign(), CP_GetSalaryAdminEmployee(), CP_GetSalaryBaseEmployee(), and CP_GetSalaryRankBonusEmployee().

char campaign_s::map[MAX_VAR]

geoscape map

Definition at line 305 of file cp_campaign.h.

Referenced by MAP_DrawMap(), and MAP_Init().

char campaign_s::market[MAX_VAR]

name of the market list containing initial items on market

Definition at line 300 of file cp_campaign.h.

Referenced by BS_InitMarket().

market definition for this campaign (how many items on the market) containing initial items

Definition at line 302 of file cp_campaign.h.

Referenced by BS_InitMarket(), and CL_CampaignRunMarket().

0 - 100 - the average rate of XVI over all nations before you've lost the game

Definition at line 315 of file cp_campaign.h.

Referenced by CL_StatsUpdate_f(), and CP_CheckLostCondition().

minimum value of mean happiness before the game is lost

Definition at line 313 of file cp_campaign.h.

Referenced by CP_CheckLostCondition(), GAME_CP_CampaignListClick_f(), and NAT_SetHappiness().

char campaign_s::name[MAX_VAR]

name of the campaign

Definition at line 296 of file cp_campaign.h.

Referenced by GAME_CP_CampaignListClick_f(), and GAME_CP_GetCampaigns_f().

bankrupt - negative credits until you've lost the game

Definition at line 314 of file cp_campaign.h.

Referenced by CL_StatsUpdate_f(), CP_CheckLostCondition(), and GAME_CP_CampaignListClick_f().

Definition at line 311 of file cp_campaign.h.

char campaign_s::researched[MAX_VAR]

name of the researched tech list to use on campaign start

Definition at line 298 of file cp_campaign.h.

Referenced by CL_ParseCampaign(), CL_ParseResearchableCampaignStates(), CL_ParseResearchedCampaignItems(), and RS_InitTree().

start with x scientists

Definition at line 307 of file cp_campaign.h.

Referenced by E_InitialEmployees(), and GAME_CP_CampaignListClick_f().

start with x soldiers

Definition at line 306 of file cp_campaign.h.

Referenced by E_InitialEmployees(), and GAME_CP_CampaignListClick_f().

what team can play this campaign

Definition at line 297 of file cp_campaign.h.

Referenced by CL_ParseCampaign(), E_CreateEmployeeAtIndex(), GAME_CP_CampaignListClick_f(), and GAME_CP_GetTeam().

char campaign_s::text[MAX_VAR]

placeholder for gettext stuff

Definition at line 304 of file cp_campaign.h.

Referenced by GAME_CP_CampaignListClick_f().

start with x ugvs (robots)

Definition at line 309 of file cp_campaign.h.

Referenced by E_InitialEmployees().

visible in campaign menu?

Definition at line 316 of file cp_campaign.h.

Referenced by GAME_CP_CampaignListClick_f(), and GAME_CP_GetCampaigns_f().

start with x workers

Definition at line 308 of file cp_campaign.h.

Referenced by E_InitialEmployees(), and GAME_CP_CampaignListClick_f().


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

Generated by  doxygen 1.6.2