![]() |
naev 0.12.5
|
Represents a commodity. More...
#include <commodity.h>

Data Fields | |
| char * | name |
| char * | description |
| unsigned int | flags |
| char * | price_ref |
| double | price_mod |
| double | raw_price |
| double | price |
| glTexture * | gfx_store |
| glTexture * | gfx_space |
| credits_t | lastPurchasePrice |
| int | istemp |
| int * | illegalto |
| CommodityModifier * | spob_modifier |
| double | period |
| double | population_modifier |
| CommodityModifier * | faction_modifier |
Represents a commodity.
Definition at line 57 of file commodity.h.
| char* Commodity::description |
Description of the commodity.
Definition at line 59 of file commodity.h.
| CommodityModifier* Commodity::faction_modifier |
Price modifier for different factions.
Definition at line 84 of file commodity.h.
| unsigned int Commodity::flags |
Commodity flags.
Definition at line 60 of file commodity.h.
| glTexture* Commodity::gfx_space |
Space graphic.
Definition at line 69 of file commodity.h.
| glTexture* Commodity::gfx_store |
Store graphic.
Definition at line 68 of file commodity.h.
| int* Commodity::illegalto |
Factions this commodity is illegal to.
Definition at line 75 of file commodity.h.
| int Commodity::istemp |
This commodity is temporary.
Definition at line 74 of file commodity.h.
| credits_t Commodity::lastPurchasePrice |
Price paid when last purchasing this commodity.
Definition at line 73 of file commodity.h.
| char* Commodity::name |
Name of the commodity.
Definition at line 58 of file commodity.h.
| double Commodity::period |
Period of price fluctuation.
Definition at line 80 of file commodity.h.
| double Commodity::population_modifier |
Scale of price modification due to population.
Definition at line 81 of file commodity.h.
| double Commodity::price |
Base price of the commodity.
Definition at line 67 of file commodity.h.
| double Commodity::price_mod |
Modifier on price_ref.
Definition at line 65 of file commodity.h.
| char* Commodity::price_ref |
Name of the commodity to which this one is referenced to.
Definition at line 63 of file commodity.h.
| double Commodity::raw_price |
Raw price of the commodity.
Definition at line 66 of file commodity.h.
| CommodityModifier* Commodity::spob_modifier |
The price modifier for different spob types.
Definition at line 79 of file commodity.h.