diff options
Diffstat (limited to 'include/inventory.h')
-rw-r--r-- | include/inventory.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/inventory.h b/include/inventory.h index 611a6d7..8567b8b 100644 --- a/include/inventory.h +++ b/include/inventory.h @@ -3,6 +3,7 @@ #include <common.h> #include <string.h> +#include <boost/range/adaptor/reversed.hpp> #define DEBUG @@ -49,13 +50,19 @@ public: int maxStackSize; char* textureLoc; Texturec *tex; + GLuint text; int count; + Item(ITEM_ID i, const char *n, ITEM_TYPE t, float w, float h, int m, const char *tl); GLuint rtex(){ return tex->image[0]; } }; +static Item item[5]= { + #include "../config/items.h" +}; + struct item_t{ int count; ITEM_ID id; |