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

#include <cp_market.h>

Data Fields

int numItems [MAX_OBJDEFS]
 
int bidItems [MAX_OBJDEFS]
 
int askItems [MAX_OBJDEFS]
 
double currentEvolutionItems [MAX_OBJDEFS]
 
bool autosell [MAX_OBJDEFS]
 
int numAircraft [AIRCRAFTTYPE_MAX]
 
int bidAircraft [AIRCRAFTTYPE_MAX]
 
int askAircraft [AIRCRAFTTYPE_MAX]
 
double currentEvolutionAircraft [AIRCRAFTTYPE_MAX]
 

Detailed Description

market structure

Definition at line 28 of file cp_market.h.

Field Documentation

int market_s::askAircraft[AIRCRAFTTYPE_MAX]

price of Aircraft for buying

Definition at line 36 of file cp_market.h.

Referenced by BS_GetAircraftBuyingPrice(), BS_InitMarket(), BS_LoadXML(), and BS_SaveXML().

int market_s::askItems[MAX_OBJDEFS]

price of item for buying

Definition at line 31 of file cp_market.h.

Referenced by BS_GetItemBuyingPrice(), BS_InitMarket(), BS_LoadXML(), and BS_SaveXML().

bool market_s::autosell[MAX_OBJDEFS]

True if item has autosell enabled

Definition at line 33 of file cp_market.h.

Referenced by B_SellOrAddItems(), BS_FillMarket_f(), BS_LoadXML(), BS_SaveXML(), and BS_SetAutosell_f().

int market_s::bidAircraft[AIRCRAFTTYPE_MAX]

price of Aircraft for selling

Definition at line 35 of file cp_market.h.

Referenced by BS_GetAircraftSellingPrice(), BS_InitMarket(), BS_LoadXML(), and BS_SaveXML().

int market_s::bidItems[MAX_OBJDEFS]

price of item for selling

Definition at line 30 of file cp_market.h.

Referenced by BS_GetItemSellingPrice(), BS_InitMarket(), BS_LoadXML(), and BS_SaveXML().

double market_s::currentEvolutionAircraft[AIRCRAFTTYPE_MAX]

evolution of the market

Definition at line 37 of file cp_market.h.

Referenced by BS_LoadXML(), BS_SaveXML(), and CP_CampaignRunMarket().

double market_s::currentEvolutionItems[MAX_OBJDEFS]

evolution of the market

Definition at line 32 of file cp_market.h.

Referenced by BS_LoadXML(), BS_SaveXML(), and CP_CampaignRunMarket().

int market_s::numAircraft[AIRCRAFTTYPE_MAX]
int market_s::numItems[MAX_OBJDEFS]

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