UFO: Alien Invasion
market_t Struct Reference

#include <cp_market.h>

Collaboration diagram for market_t:
Collaboration graph

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

◆ askAircraft

int market_t::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().

◆ askItems

int market_t::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().

◆ autosell

bool market_t::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().

◆ bidAircraft

int market_t::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().

◆ bidItems

int market_t::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().

◆ currentEvolutionAircraft

double market_t::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().

◆ currentEvolutionItems

double market_t::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().

◆ numAircraft

int market_t::numAircraft[AIRCRAFTTYPE_MAX]

◆ numItems

int market_t::numItems[MAX_OBJDEFS]

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