mission_s Struct Reference

mission definition More...

#include <cp_campaign.h>

Collaboration diagram for mission_s:
Collaboration graph
[legend]

Data Fields

int idx
char id [MAX_VAR]
mapDef_tmapDef
qboolean active
void * data
char location [MAX_VAR]
interestCategory_t category
missionStage_t stage
int initialOverallInterest
int initialIndividualInterest
date_t startDate
date_t finalDate
vec2_t pos
aircraft_tufo
qboolean onGeoscape
qboolean crashed
char onwin [MAX_VAR]
char onlose [MAX_VAR]
qboolean posAssigned

Detailed Description

mission definition

Note:
A mission is different from a map: a mission is the whole set of actions aliens will carry. For example, coming with a UFO on earth, land, explore earth, and leave with UFO

Definition at line 234 of file cp_campaign.h.


Field Documentation

char mission_s::id[MAX_VAR]

The individual interest value (of type type) when this event has been created

Definition at line 244 of file cp_campaign.h.

Referenced by CP_CreateNewMission(), CP_LoadMissionsXML(), and CP_SaveMissionsXML().

char mission_s::location[MAX_VAR]
char mission_s::onlose[MAX_VAR]

trigger command after you've lost a battle,

See also:
CP_ExecuteMissionTrigger

Definition at line 254 of file cp_campaign.h.

Referenced by CP_ExecuteMissionTrigger(), CP_LoadMissionsXML(), and CP_SaveMissionsXML().

char mission_s::onwin[MAX_VAR]

trigger command after you've won a battle,

See also:
CP_ExecuteMissionTrigger

Definition at line 253 of file cp_campaign.h.

Referenced by CP_CreateBattleParameters(), CP_ExecuteMissionTrigger(), CP_LoadMissionsXML(), and CP_SaveMissionsXML().

in which stage is this event?

Definition at line 242 of file cp_campaign.h.

Referenced by CL_DisplayPopupAircraft(), CL_GameAutoGo(), CP_BaseAttackGoToBase(), CP_BaseAttackMissionLeave(), CP_BaseAttackMissionNextStage(), CP_BaseAttackStartMission(), CP_BuildBaseGoToBase(), CP_BuildBaseGovernmentLeave(), CP_BuildBaseMissionLeave(), CP_BuildBaseMissionNextStage(), CP_BuildBaseSetUpBase(), CP_BuildBaseSubvertGovernment(), CP_CheckBaseAttacks_f(), CP_CheckMissionVisibleOnGeoscape(), CP_CheckNextStageDestination(), CP_CountMission(), CP_CountMissionActive(), CP_CountMissionOnGeoscape(), CP_CreateNewMission(), CP_GetWinProbabilty(), CP_HarvestMissionGo(), CP_HarvestMissionNextStage(), CP_HarvestMissionStart(), CP_InterceptAircraftMissionSet(), CP_InterceptAttackInstallation(), CP_InterceptGoToInstallation(), CP_InterceptMissionLeave(), CP_InterceptNextStage(), CP_LoadMissionsXML(), CP_MissionAddToGeoscape(), CP_MissionBegin(), CP_MissionEnd(), CP_MissionEndActions(), CP_MissionGetMessageLevel(), CP_MissionIsOver(), CP_MissionStageEnd(), CP_MissionToTypeString(), CP_ReconMissionAerial(), CP_ReconMissionGround(), CP_ReconMissionGroundGo(), CP_ReconMissionLeave(), CP_ReconMissionNextStage(), CP_ReconMissionSelect(), CP_SaveMissionsXML(), CP_SpawnAlienBaseMission(), CP_SpawnRescueMission(), CP_SpreadXVI(), CP_SupplyGoToBase(), CP_SupplyMissionCreate(), CP_SupplyMissionLeave(), CP_SupplyMissionNextStage(), CP_SupplySetStayAtBase(), CP_TerrorInCity(), CP_TerrorMissionGo(), CP_TerrorMissionNextStage(), CP_TerrorMissionStart(), CP_UFOProceedMission(), CP_XVIMissionNextStage(), CP_XVIMissionStart(), MAP_GetGeoscapeAngle(), MAP_MapClick(), NAT_UpdateHappinessForAllNations(), UFO_CampaignRunUFOs(), and UFO_SearchAircraftTarget().

Date when the event should start

Definition at line 245 of file cp_campaign.h.

Referenced by CP_CreateNewMission(), CP_LoadMissionsXML(), and CP_SaveMissionsXML().


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

Generated by  doxygen 1.6.2