UFO: Alien Invasion
|
Holds all information for the production of one item-type. More...
#include <cp_produce.h>
Data Fields | |
int | idx |
productionData_t | data |
int | totalFrames |
int | frame |
signed int | amount |
bool | creditMessage |
Holds all information for the production of one item-type.
Definition at line 59 of file cp_produce.h.
signed int production_s::amount |
How much are we producing.
Definition at line 66 of file cp_produce.h.
Referenced by PR_DecreaseProduction(), PR_FinishProduction(), PR_IncreaseProduction(), PR_LoadXML(), PR_ProductionDecrease_f(), PR_ProductionIncrease_f(), PR_ProductionInfo(), PR_QueueDelete(), PR_QueueNew(), PR_SaveXML(), and PR_UpdateProductionList().
bool production_s::creditMessage |
Used in No Credits message adding.
Definition at line 67 of file cp_produce.h.
Referenced by PR_CheckFrame().
productionData_t production_s::data |
The data behind this production (type and item pointer)
Definition at line 62 of file cp_produce.h.
Referenced by PR_CheckFrame(), PR_DecreaseProduction(), PR_FinishDisassembly(), PR_FinishProduction(), PR_IncreaseProduction(), PR_LoadXML(), PR_PostLoadInitProgress(), PR_ProductionIncrease_f(), PR_ProductionInfo(), PR_ProductionListRightClick_f(), PR_QueueDelete(), PR_QueueNew(), PR_ResetUFODisassembly(), PR_SaveXML(), PR_SetUFODisassembly(), PR_ShowActiveProduction_f(), PR_UpdateProductionCap(), and PR_UpdateProductionList().
int production_s::frame |
the actual frame counter
Definition at line 65 of file cp_produce.h.
Referenced by PR_FinishProduction(), PR_GetRemainingMinutes(), PR_LoadXML(), PR_ProductionRun(), PR_SaveXML(), and PR_UpdateProductionCap().
int production_s::idx |
Self reference in the production list. Mainly used for moving/deleting them.
Definition at line 61 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(), PR_ShowActiveProduction_f(), and US_RemoveStoredUFO().
int production_s::totalFrames |
total number of frames needed to finish the production (it can change with worker count and so)
Definition at line 64 of file cp_produce.h.
Referenced by PR_GetRemainingMinutes(), PR_LoadXML(), PR_PostLoadInitProgress(), PR_QueueNew(), and PR_UpdateProductionCap().