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

The definition of a "components" entry (i.e. an assembly of several items) parsed from a ufo-file. More...

#include <cp_component.h>

Data Fields

char assemblyId [MAX_VAR]
 
const objDef_tassemblyItem
 
int time
 
int numItemtypes
 
const objDef_titems [MAX_COMP]
 
int itemAmount [MAX_COMP]
 
int itemAmount2 [MAX_COMP]
 

Detailed Description

The definition of a "components" entry (i.e. an assembly of several items) parsed from a ufo-file.

Definition at line 35 of file cp_component.h.

Field Documentation

char components_s::assemblyId[MAX_VAR]

The name of the assembly (i.e. the UFO)

Definition at line 36 of file cp_component.h.

Referenced by COMP_GetComponentsByID(), and COMP_ParseComponents().

const objDef_t* components_s::assemblyItem

object (that is an assembly)

Definition at line 37 of file cp_component.h.

Referenced by COMP_ParseComponents().

int components_s::itemAmount[MAX_COMP]

How many items of this type are in this assembly.

Definition at line 43 of file cp_component.h.

Referenced by COMP_ParseComponents(), PR_DisassemblyInfo(), and PR_FinishDisassembly().

int components_s::itemAmount2[MAX_COMP]

How many items of this type are in this assembly when it crashed (max-value?).

Definition at line 44 of file cp_component.h.

Referenced by COMP_ParseComponents(), PR_DisassemblyInfo(), and PR_FinishDisassembly().

const objDef_t* components_s::items[MAX_COMP]

List of parts (item-types).

Definition at line 42 of file cp_component.h.

Referenced by COMP_ParseComponents(), PR_DisassemblyInfo(), and PR_FinishDisassembly().

int components_s::numItemtypes

Number of item-types listed below. (max is MAX_COMP)

Definition at line 41 of file cp_component.h.

Referenced by COMP_ParseComponents(), PR_DisassemblyInfo(), and PR_FinishDisassembly().

int components_s::time

The time (in hours) until the disassembly is finished.

Definition at line 39 of file cp_component.h.

Referenced by COMP_ParseComponents(), PR_CalculateTotalFrames(), TEST_F(), and US_SelectStoredUfo_f().


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