typedef struct stock_data STOCK_DATA;
typedef struct player_stock PLAYER_STOCK;
#define STOCKS_FILE "../system/stocks.dat"
/**
* Data Structure that defines resources
*/
struct stock_data {
STOCK_DATA *next;
STOCK_DATA *prev;
char *name;
int vnum;
int resource_constant;
int resource_supply;
};
struct player_stock {
PLAYER_STOCK *next;
PLAYER_STOCK *prev;
char *name;
int quantity;
};
/**
* Global value for Resources
*/
STOCK_DATA * first_stock;
STOCK_DATA * last_stock;