UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
missionResults_s Struct Reference

Structure with mission info needed to create results summary at menu won. More...

#include <cp_missions.h>

Data Fields

const struct mission_smission
 
missionState_t state
 
bool recovery
 
bool crashsite
 
ufoType_t ufotype
 
float ufoCondition
 
int itemTypes
 
int itemAmount
 
int aliensKilled
 
int aliensStunned
 
int aliensSurvived
 
int ownKilled
 
int ownStunned
 
int ownKilledFriendlyFire
 
int ownSurvived
 
int civiliansKilled
 
int civiliansKilledFriendlyFire
 
int civiliansSurvived
 

Detailed Description

Structure with mission info needed to create results summary at menu won.

Definition at line 60 of file cp_missions.h.

Field Documentation

int missionResults_s::aliensKilled
int missionResults_s::aliensStunned

Definition at line 70 of file cp_missions.h.

Referenced by CP_HandleNationData(), GAME_CP_Results(), and MIS_InitResultScreen().

int missionResults_s::aliensSurvived
int missionResults_s::civiliansKilled
int missionResults_s::civiliansKilledFriendlyFire
int missionResults_s::civiliansSurvived
bool missionResults_s::crashsite

true if secured UFO was crashed one.

Definition at line 64 of file cp_missions.h.

int missionResults_s::itemAmount

Amount of items (all) gathered from a mission.

Definition at line 68 of file cp_missions.h.

Referenced by AII_CollectingItems(), and MIS_InitResultScreen().

int missionResults_s::itemTypes

Types of items gathered from a mission.

Definition at line 67 of file cp_missions.h.

Referenced by AII_CollectingItems(), and MIS_InitResultScreen().

const struct mission_s* missionResults_s::mission

Definition at line 61 of file cp_missions.h.

Referenced by AM_Go(), and GAME_CP_Results().

int missionResults_s::ownKilled

Definition at line 72 of file cp_missions.h.

Referenced by AM_CheckFire(), GAME_CP_Results(), and MIS_InitResultScreen().

int missionResults_s::ownKilledFriendlyFire

Definition at line 74 of file cp_missions.h.

Referenced by AM_CheckFire(), GAME_CP_Results(), and MIS_InitResultScreen().

int missionResults_s::ownStunned

Definition at line 73 of file cp_missions.h.

Referenced by GAME_CP_Results(), and MIS_InitResultScreen().

int missionResults_s::ownSurvived

Definition at line 75 of file cp_missions.h.

Referenced by AM_CheckFire(), AM_Go(), GAME_CP_Results(), and MIS_InitResultScreen().

bool missionResults_s::recovery

true if player secured a UFO (landed or crashed).

Definition at line 63 of file cp_missions.h.

missionState_t missionResults_s::state
float missionResults_s::ufoCondition

How much the UFO is damaged

Definition at line 66 of file cp_missions.h.

ufoType_t missionResults_s::ufotype

Type of UFO secured during the mission.

Definition at line 65 of file cp_missions.h.


The documentation for this struct was generated from the following file: