27 #include "../../../DateTime.h" 28 #include "../../../cl_shared.h" 29 #include "../cp_campaign.h" 30 #include "../cp_missions.h" 31 #include "../cp_time.h" 32 #include "../cp_alien_interest.h" 33 #include "../cp_ufo.h" 72 const DateTime minMissionDelay(2, 0);
73 const DateTime maxMissionDelay(3, 0);
92 switch (mission->
stage) {
114 cgi->Com_Printf(
"CP_XVIMissionNextStage: Unknown stage: %i, removing mission.\n", mission->
stage);
Class describing a point of time.
Campaign mission headers.
void INT_ChangeIndividualInterest(float interestFactor, interestCategory_t category)
Change individual interest value.
void CP_ReconMissionLeave(mission_t *mission)
Recon mission ends: UFO leave earth.
void CP_XVIMissionIsSuccess(mission_t *mission)
XVI Spreading mission is over and is a success: change interest values.
static void CP_XVIMissionStart(mission_t *mission)
Start XVI Spreading mission.
void CP_XVIMissionNextStage(mission_t *mission)
Determine what action should be performed when a XVI Spreading mission stage ends.
void CP_HarvestMissionGo(mission_t *mission)
Set Harvest mission, and go to mission pos.
const cgame_import_t * cgi
bool CP_MissionBegin(mission_t *mission)
mission begins: UFO arrive on earth.
void CP_MissionRemove(mission_t *mission)
Removes a mission from mission global array.
void CP_MissionAddToGeoscape(mission_t *mission, bool force)
Add a mission to geoscape: make it visible and stop time.
Campaign mission headers.
DateTime Date_Random(const DateTime &minFrame, const DateTime &maxFrame)
Return a random relative date which lies between a lower and upper limit.
void CP_UFORemoveFromGeoscape(mission_t *mission, bool destroyed)
Removes (temporarily or permanently) a UFO from geoscape: make it land and call notify functions...
void CP_XVIMissionIsFailure(mission_t *mission)
XVI Spreading mission is over and is a failure: change interest values.