|
UFO: Alien Invasion
|
Campaign mission code. More...
#include "cp_mission_xvi.h"#include "../../../DateTime.h"#include "../../../cl_shared.h"#include "../cp_campaign.h"#include "../cp_missions.h"#include "../cp_time.h"#include "../cp_alien_interest.h"#include "../cp_ufo.h"#include "cp_mission_recon.h"#include "cp_mission_harvest.h"
Go to the source code of this file.
Functions | |
| void | CP_XVIMissionIsSuccess (mission_t *mission) |
| XVI Spreading mission is over and is a success: change interest values. | |
| void | CP_XVIMissionIsFailure (mission_t *mission) |
| XVI Spreading mission is over and is a failure: 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. | |
Campaign mission code.
Definition in file cp_mission_xvi.cpp.
XVI Spreading mission is over and is a failure: change interest values.
Definition at line 54 of file cp_mission_xvi.cpp.
References CP_MissionRemove(), INT_ChangeIndividualInterest(), INTERESTCATEGORY_BASE_ATTACK, INTERESTCATEGORY_INTERCEPT, and INTERESTCATEGORY_TERROR_ATTACK.
Referenced by CP_MissionIsOver().
XVI Spreading mission is over and is a success: change interest values.
Definition at line 41 of file cp_mission_xvi.cpp.
References CP_MissionRemove(), INT_ChangeIndividualInterest(), INTERESTCATEGORY_BUILDING, INTERESTCATEGORY_HARVEST, and INTERESTCATEGORY_XVI.
Referenced by CP_MissionIsOver(), and CP_XVIMissionNextStage().
Determine what action should be performed when a XVI Spreading mission stage ends.
| [in] | mission | Pointer to the mission which stage ended. |
Definition at line 90 of file cp_mission_xvi.cpp.
References cgi, CP_HarvestMissionGo(), CP_MissionBegin(), CP_MissionRemove(), CP_ReconMissionLeave(), CP_XVIMissionIsSuccess(), CP_XVIMissionStart(), mission_t::stage, STAGE_COME_FROM_ORBIT, STAGE_MISSION_GOTO, STAGE_NOT_ACTIVE, STAGE_RETURN_TO_ORBIT, and STAGE_SPREAD_XVI.
Referenced by CP_MissionStageEnd().
Start XVI Spreading mission.
Definition at line 67 of file cp_mission_xvi.cpp.
References ccs, CP_MissionAddToGeoscape(), CP_UFORemoveFromGeoscape(), Date_Random(), mission_t::finalDate, mission_t::stage, STAGE_SPREAD_XVI, and mission_t::ufo.
Referenced by CP_XVIMissionNextStage().