UFO: Alien Invasion
|
Campaign mission headers. More...
Go to the source code of this file.
Functions | |
void | CP_HarvestMissionNextStage (struct mission_s *mission) |
Determine what action should be performed when a Harvesting mission stage ends. More... | |
void | CP_HarvestMissionIsFailure (struct mission_s *mission) |
Harvesting mission is over and is a failure: change interest values. More... | |
void | CP_HarvestMissionGo (struct mission_s *mission) |
Set Harvest mission, and go to mission pos. More... | |
Campaign mission headers.
Definition in file cp_mission_harvest.h.
Set Harvest mission, and go to mission pos.
Definition at line 134 of file cp_mission_harvest.cpp.
References ccs, cgi, CP_ChooseMap(), CP_ChooseNation(), CP_GetRandomPosOnGeoscapeWithParameters(), CP_MissionDisableTimeLimit(), CP_MissionRemove(), mapDef_s::cultures, ccs_s::date, mission_s::finalDate, GEO_PositionCloseToBase(), mission_s::mapDef, MAX_POS_LOOP, mapDef_s::populations, mission_s::pos, mission_s::posAssigned, mission_s::stage, STAGE_MISSION_GOTO, mapDef_s::terrains, mission_s::ufo, and UFO_SendToDestination().
Referenced by CP_HarvestMissionNextStage(), and CP_XVIMissionNextStage().
Harvesting mission is over and is a failure: change interest values.
Definition at line 56 of file cp_mission_harvest.cpp.
References CP_MissionRemove(), f, INT_ChangeIndividualInterest(), INTERESTCATEGORY_BASE_ATTACK, INTERESTCATEGORY_INTERCEPT, and INTERESTCATEGORY_TERROR_ATTACK.
Referenced by CP_MissionIsOver().
Determine what action should be performed when a Harvesting mission stage ends.
[in] | mission | Pointer to the mission which stage ended. |
Definition at line 176 of file cp_mission_harvest.cpp.
References cgi, CP_HarvestMissionGo(), CP_HarvestMissionIsSuccess(), CP_HarvestMissionStart(), CP_MissionBegin(), CP_MissionRemove(), CP_ReconMissionLeave(), mission_s::stage, STAGE_COME_FROM_ORBIT, STAGE_HARVEST, STAGE_MISSION_GOTO, STAGE_NOT_ACTIVE, and STAGE_RETURN_TO_ORBIT.
Referenced by CP_MissionStageEnd().