production_s Struct Reference

Holds all information for the production of one item-type. More...

#include <cp_produce.h>

Collaboration diagram for production_s:
Collaboration graph
[legend]

Data Fields

int idx
objDef_titem
struct aircraft_saircraft
struct storedUFO_sufo
signed int amount
float percentDone
qboolean spaceMessage
qboolean creditMessage
qboolean production

Detailed Description

Holds all information for the production of one item-type.

Note:
We can get the tech pointer from csi.ods. The tech struct holds the time that is needed to produce the selected equipment.

Definition at line 48 of file cp_produce.h.


Field Documentation

Used in No Credits message adding.

Definition at line 63 of file cp_produce.h.

Referenced by PR_ProductionFrame().

Self reference in the production list. Mainly used for moving/deleting them.

Definition at line 50 of file cp_produce.h.

Referenced by PR_DecreaseProduction(), PR_LoadXML(), PR_ProductionDown_f(), PR_ProductionIncrease_f(), PR_ProductionStop_f(), PR_ProductionUp_f(), PR_QueueMove(), PR_QueueNew(), and US_RemoveStoredUFO().

Fraction of the item which is already produced. 0 if production is not started, 1 if production is over

Definition at line 60 of file cp_produce.h.

Referenced by BaseSummary_Init(), PR_DisassemblingFrame(), PR_LoadXML(), PR_ProductionFrame(), PR_ProductionInfo(), PR_QueueNew(), and PR_SaveXML().

Todo:
remove production flag

True if this is real production, false when disassembling.

Definition at line 65 of file cp_produce.h.

Referenced by PR_DisassemblingFrame(), PR_LoadXML(), PR_ProductionFrame(), and PR_QueueNew().

Used in No Free Space message adding.

Definition at line 62 of file cp_produce.h.

Referenced by PR_DisassemblingFrame(), and PR_ProductionFrame().


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

Generated by  doxygen 1.6.2