The definition of a "components" entry (i.e. an assembly of several items) parsed from a ufo-file. More...
#include <cp_parse.h>
Data Fields | |
char | assemblyId [MAX_VAR] |
objDef_t * | assemblyItem |
int | time |
int | numItemtypes |
objDef_t * | items [MAX_COMP] |
int | itemAmount [MAX_COMP] |
int | itemAmount2 [MAX_COMP] |
The definition of a "components" entry (i.e. an assembly of several items) parsed from a ufo-file.
Definition at line 37 of file cp_parse.h.
char components_s::assemblyId[MAX_VAR] |
The name of the assembly (i.e. the UFO)
Definition at line 38 of file cp_parse.h.
Referenced by CL_GetComponentsByID(), CL_GetComponentsByItem(), and CL_ParseComponents().
object (that is an assembly)
Definition at line 39 of file cp_parse.h.
Referenced by CL_GetComponentsByItem(), and CL_ParseComponents().
int components_s::itemAmount[MAX_COMP] |
How many items of this type are in this assembly.
Definition at line 45 of file cp_parse.h.
Referenced by CL_ParseComponents(), PR_DisassembleItem(), and PR_DisassemblyInfo().
int components_s::itemAmount2[MAX_COMP] |
How many items of this type are in this assembly when it crashed (max-value?).
Definition at line 46 of file cp_parse.h.
Referenced by CL_ParseComponents(), PR_DisassembleItem(), and PR_DisassemblyInfo().
objDef_t* components_s::items[MAX_COMP] |
List of parts (item-types).
Definition at line 44 of file cp_parse.h.
Referenced by CL_ParseComponents(), PR_DisassembleItem(), and PR_DisassemblyInfo().
Number of item-types listed below. (max is MAX_COMP)
Definition at line 43 of file cp_parse.h.
Referenced by CL_ParseComponents(), PR_DisassembleItem(), and PR_DisassemblyInfo().
The time (in hours) until the disassembly is finished.
Definition at line 41 of file cp_parse.h.
Referenced by CL_ParseComponents(), and PR_CalculateProductionPercentDone().