pt2game/inventory.h

12 lines
257 B
C

enum invobject {
INVITEM_BLANK = 0, // must always be 0
INVITEM_POPCORN,
INVITEM_PAGER,
};
extern int inventory[INVENTORY_SIZE];
int count_item_in_inventory(int item);
int add_to_inventory(int item); // returns slot number or -1 if no space available