pt2game/inventory.h

11 lines
241 B
C
Raw Normal View History

enum invobject {
INVITEM_BLANK = 0, // must always be 0
INVITEM_POPCORN,
};
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