UFO: Alien Invasion
missionResults_t Struct Reference

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

#include <cp_missions.h>

Collaboration diagram for missionResults_t:
Collaboration graph

Data Fields

const struct mission_s * mission
 
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 61 of file cp_missions.h.

Field Documentation

◆ aliensKilled

int missionResults_t::aliensKilled

◆ aliensStunned

int missionResults_t::aliensStunned

Definition at line 71 of file cp_missions.h.

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

◆ aliensSurvived

int missionResults_t::aliensSurvived

◆ civiliansKilled

int missionResults_t::civiliansKilled

◆ civiliansKilledFriendlyFire

int missionResults_t::civiliansKilledFriendlyFire

◆ civiliansSurvived

int missionResults_t::civiliansSurvived

◆ crashsite

bool missionResults_t::crashsite

true if secured UFO was crashed one.

Definition at line 65 of file cp_missions.h.

◆ itemAmount

int missionResults_t::itemAmount

Amount of items (all) gathered from a mission.

Definition at line 69 of file cp_missions.h.

Referenced by MIS_InitResultScreen().

◆ itemTypes

int missionResults_t::itemTypes

Types of items gathered from a mission.

Definition at line 68 of file cp_missions.h.

Referenced by MIS_InitResultScreen().

◆ mission

const struct mission_s* missionResults_t::mission

Definition at line 62 of file cp_missions.h.

Referenced by AM_Go(), and GAME_CP_Results().

◆ ownKilled

int missionResults_t::ownKilled

Definition at line 73 of file cp_missions.h.

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

◆ ownKilledFriendlyFire

int missionResults_t::ownKilledFriendlyFire

Definition at line 75 of file cp_missions.h.

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

◆ ownStunned

int missionResults_t::ownStunned

Definition at line 74 of file cp_missions.h.

Referenced by GAME_CP_Results(), and MIS_InitResultScreen().

◆ ownSurvived

int missionResults_t::ownSurvived

Definition at line 76 of file cp_missions.h.

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

◆ recovery

bool missionResults_t::recovery

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

Definition at line 64 of file cp_missions.h.

◆ state

missionState_t missionResults_t::state

◆ ufoCondition

float missionResults_t::ufoCondition

How much the UFO is damaged

Definition at line 67 of file cp_missions.h.

◆ ufotype

ufoType_t missionResults_t::ufotype

Type of UFO secured during the mission.

Definition at line 66 of file cp_missions.h.


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