diff options
Diffstat (limited to 'include/inventory.h')
-rw-r--r-- | include/inventory.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/inventory.h b/include/inventory.h index 8f42cc5..d68fed9 100644 --- a/include/inventory.h +++ b/include/inventory.h @@ -3,8 +3,11 @@ #include <cstdlib> +#define DEBUG + enum ITEM_ID { // Contains item IDs for every item in the game, this is how items are stored. IDs are also used to lookup item strings - TEST_ITEM = 1 // A test item (duh) + TEST_ITEM = 1, // A test item (duh) + SWORD_ITEM }; struct item_t { // Used to define entries in an entity's inventory @@ -26,4 +29,6 @@ public: void draw(void); // Draws a text list of items in this inventory (should only be called for the player for now) }; +unsigned int initInventorySprites(void); // Loads as many inventory textures as it can find, returns count + #endif // INVENTORY_H |