aboutsummaryrefslogtreecommitdiffstats
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-10-21 08:49:20 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-10-21 08:49:20 -0400
commit11b1b0c29b3911c04a7d784ac9c0c352851be2c9 (patch)
tree71a5fc7e56ed8f0f35d56f6dc692a333041b4bae /src/inventory.cpp
parent826e653d45160ceb7c6b8faa2cf44a6af409c2ba (diff)
documentation part 3
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index 3690de5..b9b4859 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -1,8 +1,11 @@
#include <inventory.h>
+#include <entities.h>
#include <ui.h>
#define ITEM_COUNT 2 // Total number of items that actually exist
+extern Player *player;
+
const char *itemName[]={
"\0",
"Dank Maymay",
@@ -80,9 +83,6 @@ int Inventory::takeItem(ITEM_ID id,unsigned char count){
return -1;
}
-#include <entities.h>
-extern Player *player;
-
void Inventory::draw(void){
unsigned int i=0;
float y=SCREEN_HEIGHT/2,xoff;