aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.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/ui.cpp
parent826e653d45160ceb7c6b8faa2cf44a6af409c2ba (diff)
documentation part 3
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index a62086e..256f5d7 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -1,7 +1,4 @@
#include <ui.h>
-#include <world.h> // World-switching stuff
-#include <ft2build.h> // FreeType stuff
-#include FT_FREETYPE_H
#define SDL_KEY e.key.keysym.sym // Keeps the code neater :)
@@ -11,6 +8,8 @@ extern World *currentWorld; // should/must also be defined in main.cpp
extern std::vector<int (*)(NPC *)> AIpreload; // see entities.cpp
extern std::vector<void *> AIpreaddr; //
+extern bool gameRunning;
+
static FT_Library ftl; // Variables for the FreeType library and stuff
static FT_Face ftf;
static GLuint ftex;