UFO: Alien Invasion
|
Campaign mission headers. More...
Go to the source code of this file.
Functions | |
void | CP_UFOCarrierNextStage (struct mission_s *mission) |
Determine what action should be performed when a UFOCarriering mission stage ends. More... | |
void | CP_SpawnUFOCarrier_f (void) |
Spawns a UFO-Carrier mission. More... | |
void | CP_AttackUFOCarrier_f (void) |
Decide whether you hit and destroyed the carrier and spawns a new carrier crash site mission. More... | |
Campaign mission headers.
Definition in file cp_mission_ufocarrier.h.
Decide whether you hit and destroyed the carrier and spawns a new carrier crash site mission.
Definition at line 116 of file cp_mission_ufocarrier.cpp.
References ccs, cgi, CP_EndCampaign(), CP_GetCarrierMission(), CP_GetRandomPosOnGeoscape(), CP_SpawnCrashSiteMission(), ERR_DROP, mapDef_s::id, INS_HasType(), INSTALLATION_ORBIT, mission_s::mapDef, MAX_UFOONGEOSCAPE, aircraft_s::mission, ccs_s::numUFOs, aircraft_s::pos, TEXT_STANDARD, mission_s::ufo, UFO_CreateFromTemplate(), and UFO_GetTemplate().
Spawns a UFO-Carrier mission.
Definition at line 90 of file cp_mission_ufocarrier.cpp.
References _, cgi, CL_EventAddMail(), cgame_import_s::Cmd_Argv(), CP_CreateNewMission(), CP_GetCarrierMission(), GEO_CenterPosition(), GEO_GetColor(), INS_Build(), INS_GetInstallationTemplateByType(), INSTALLATION_ORBIT, INTERESTCATEGORY_UFOCARRIER, MapIsWater, MAPTYPE_TERRAIN, installationTemplate_s::name, and Vector2FromInt.
Determine what action should be performed when a UFOCarriering mission stage ends.
[in] | mission | Pointer to the mission which stage ended. |
Definition at line 75 of file cp_mission_ufocarrier.cpp.
References CP_UFOCarrierMissionStart(), CP_UFOCarrierMissionUpdate(), mission_s::stage, and STAGE_NOT_ACTIVE.
Referenced by CP_MissionStageEnd().