26 #include "../../../cl_shared.h"
27 #include "../cp_campaign.h"
28 #include "../cp_missions.h"
29 #include "../cp_time.h"
30 #include "../cp_alien_interest.h"
31 #include "../cp_ufo.h"
68 const date_t minMissionDelay = {2, 0};
69 const date_t missionDelay = {3, 0};
92 switch (mission->
stage) {
114 cgi->Com_Printf(
"CP_XVIMissionNextStage: Unknown stage: %i, removing mission.\n", mission->
stage);
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.
Engine-side time information in the game.
date_t Date_Add(date_t a, const date_t &b)
Add two dates and return the result.
Campaign mission headers.
void CP_UFORemoveFromGeoscape(mission_t *mission, bool destroyed)
Removes (temporarily or permanently) a UFO from geoscape: make it land and call notify functions...
date_t Date_Random(date_t minFrame, date_t maxFrame)
Return a random relative date which lies between a lower and upper limit.
void CP_XVIMissionIsFailure(mission_t *mission)
XVI Spreading mission is over and is a failure: change interest values.