summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorJapa2011-07-20 15:59:11 +0000
committerJapa2011-07-20 15:59:11 +0000
commitaee9dc6758120d57a8fabc013a16c82f6682099c (patch)
tree7d2ddd6cabb61e948d5cd19f7838ab313ac1c6e9 /common.h
parent3eacec9eef6da5e6ce6f7d966a6b601f6268557c (diff)
downloadstonesense-aee9dc6758120d57a8fabc013a16c82f6682099c.tar.gz
stonesense-aee9dc6758120d57a8fabc013a16c82f6682099c.tar.bz2
stonesense-aee9dc6758120d57a8fabc013a16c82f6682099c.tar.xz
Got some sort of functionality out of DFapi. this means an empty window.
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common.h b/common.h
index a76c546..d70eb31 100644
--- a/common.h
+++ b/common.h
@@ -22,6 +22,7 @@
#undef TileShape
// allegro also leaks stdint.h and some weird equivalent of it on windows. let's disable the copy leaked by dfhack.
#define SKIP_DFHACK_STDINT
+#define DFHACK_WANT_TILETYPES
#include <DFHack.h>
#include <dfhack/Core.h>
@@ -161,7 +162,6 @@ void correctBlockForSegmetOffset(int32_t& x, int32_t& y, int32_t& z);
void WriteErr(char* msg, ...);
void LogVerbose(char* msg, ...);
-void DisplayErr(const char *format, ...);
void SetTitle(const char *format, ...);
extern GameConfiguration config;
@@ -251,6 +251,8 @@ extern ALLEGRO_MOUSE_STATE mouse;
extern int randomCube[RANDOM_CUBE][RANDOM_CUBE][RANDOM_CUBE];
+extern DFHack::Console * DFConsole;
+
ALLEGRO_COLOR premultiply(ALLEGRO_COLOR input);
using namespace DFHack;
using namespace std;