2 * See Licensing and Copyright notice in naev.h
17 * @brief Represents a commodity.
19 * @todo Use inverse normal?
21 typedef struct Commodity_
{
22 char* name
; /**< Name of the commodity. */
23 char* description
; /**< Description of the commodity. */
25 double price
; /**< Base price of the commodity. */
32 Commodity
* commodity_get( const char* name
);
33 int commodity_load (void);
34 void commodity_free (void);
40 int economy_init (void);
41 int economy_update( unsigned int dt
);
42 int economy_refresh (void);
43 void economy_destroy (void);
49 void credits2str( char *str
, uint64_t credits
, int decimals
);
50 void commodity_Jettison( int pilot
, Commodity
* com
, int quantity
);
53 #endif /* ECONOMY_H */