Itemio: Items can be loaded from the data file

Signed-off-by: Cestmir Houska <czestmyr@gmail.com>
This commit is contained in:
Cestmir Houska 2011-04-22 03:09:31 +02:00
parent bf838ea046
commit 8b49a62f9e
2 changed files with 52 additions and 3 deletions

View file

@ -9,6 +9,8 @@ struct item {
int price;
};
extern int items_count;
extern struct item items[ITEM_MAXNUM];
extern void fill_items();