mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-08 21:33:59 +02:00
Itemio: Items can be loaded from the data file
Signed-off-by: Cestmir Houska <czestmyr@gmail.com>
This commit is contained in:
parent
bf838ea046
commit
8b49a62f9e
2 changed files with 52 additions and 3 deletions
2
itemio.h
2
itemio.h
|
@ -9,6 +9,8 @@ struct item {
|
|||
int price;
|
||||
};
|
||||
|
||||
extern int items_count;
|
||||
|
||||
extern struct item items[ITEM_MAXNUM];
|
||||
|
||||
extern void fill_items();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue