aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
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;