UFO: Alien Invasion
|
Campaign mission code. More...
#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"
#include "cp_mission_xvi.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. More... | |
void | CP_XVIMissionIsFailure (mission_t *mission) |
XVI Spreading mission is over and is a failure: change interest values. More... | |
static void | CP_XVIMissionStart (mission_t *mission) |
Start XVI Spreading mission. More... | |
void | CP_XVIMissionNextStage (mission_t *mission) |
Determine what action should be performed when a XVI Spreading mission stage ends. More... | |
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 53 of file cp_mission_xvi.cpp.
References CP_MissionRemove(), f, 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 40 of file cp_mission_xvi.cpp.
References CP_MissionRemove(), f, 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_s::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 66 of file cp_mission_xvi.cpp.
References ccs, CP_MissionAddToGeoscape(), CP_UFORemoveFromGeoscape(), ccs_s::date, Date_Add(), Date_Random(), mission_s::finalDate, mission_s::stage, STAGE_SPREAD_XVI, and mission_s::ufo.
Referenced by CP_XVIMissionNextStage().