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_parse.h>

Collaboration diagram for components_s:
Collaboration graph
[legend]

Data Fields

char assemblyId [MAX_VAR]
objDef_tassemblyItem
int time
int numItemtypes
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.

See also:
CL_ParseComponents

Definition at line 37 of file cp_parse.h.


Field Documentation

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().

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().

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().


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

Generated by  doxygen 1.6.2