UFO: Alien Invasion
|
Campaign mission headers. More...
Go to the source code of this file.
Functions | |
void | CP_SupplyMissionNextStage (struct mission_s *mission) |
Determine what action should be performed when a Supply mission stage ends. More... | |
void | CP_SupplyMissionIsFailure (struct mission_s *mission) |
Supply mission is over and is a failure (from an alien point of view): change interest values. More... | |
void | CP_SupplyMissionIsSuccess (struct mission_s *mission) |
Supply mission is over and is a success (from an alien point of view): change interest values. More... | |
Campaign mission headers.
Definition in file cp_mission_supply.h.
Supply mission is over and is a failure (from an alien point of view): change interest values.
Definition at line 57 of file cp_mission_supply.cpp.
References CP_MissionRemove(), f, INT_ChangeIndividualInterest(), INTERESTCATEGORY_BASE_ATTACK, INTERESTCATEGORY_INTERCEPT, and INTERESTCATEGORY_SUPPLY.
Referenced by CP_MissionIsOver().
Supply mission is over and is a success (from an alien point of view): change interest values.
Definition at line 40 of file cp_mission_supply.cpp.
References mission_s::missionData_t::alienBase, CP_MissionRemove(), CP_SpreadXVIAtPos(), mission_s::data, f, INT_ChangeIndividualInterest(), INTERESTCATEGORY_SUPPLY, and alienBase_s::pos.
Referenced by CP_MissionIsOver(), and CP_SupplyMissionNextStage().
Determine what action should be performed when a Supply mission stage ends.
[in] | mission | Pointer to the mission which stage ended. |
Definition at line 178 of file cp_mission_supply.cpp.
References cgi, CP_MissionRemove(), CP_SupplyGoToBase(), CP_SupplyMissionCreate(), CP_SupplyMissionIsSuccess(), CP_SupplyMissionLeave(), CP_SupplySetStayAtBase(), mission_s::stage, STAGE_COME_FROM_ORBIT, STAGE_MISSION_GOTO, STAGE_NOT_ACTIVE, STAGE_RETURN_TO_ORBIT, and STAGE_SUPPLY.
Referenced by CP_MissionStageEnd().