summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorJapa2010-04-10 08:14:26 +0000
committerJapa2010-04-10 08:14:26 +0000
commitd152bfaf28ae7653e008a6763c2abb97c949c142 (patch)
treebd376391e2cabab63f33a8421e6d9bf54ccfdff7 /common.h
parent661f48f7a818b144459ce03b15dbf60bfd0ee76f (diff)
downloadstonesense-d152bfaf28ae7653e008a6763c2abb97c949c142.tar.gz
stonesense-d152bfaf28ae7653e008a6763c2abb97c949c142.tar.bz2
stonesense-d152bfaf28ae7653e008a6763c2abb97c949c142.tar.xz
got some more stuff working.
creatures are all invisible for some reason, and buildings don't work.
Diffstat (limited to 'common.h')
-rw-r--r--common.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/common.h b/common.h
index f02c299..a086e02 100644
--- a/common.h
+++ b/common.h
@@ -28,6 +28,8 @@ using namespace std;
#include <modules/Position.h>
#include <modules/Maps.h>
#include <modules/Creatures.h>
+#include <modules/Buildings.h>
+#include <modules/Constructions.h>
using namespace DFHack;
#include "commonTypes.h"
@@ -210,4 +212,25 @@ extern ALLEGRO_DISPLAY *display;
extern ALLEGRO_KEYBOARD_STATE keyboard;
extern ALLEGRO_TIMER *reloadtimer;
extern ALLEGRO_TIMER * animationtimer;
-extern ALLEGRO_MOUSE_STATE mouse; \ No newline at end of file
+extern ALLEGRO_MOUSE_STATE mouse;
+
+#define INORGANIC 0
+#define AMBER 1
+#define CORAL 2
+#define GREEN_GLASS 3
+#define CLEAR_GLASS 4
+#define CRYSTAL_GLASS 5
+#define ICE 6
+#define COAL 7
+#define POTASH 8
+#define ASH 9
+#define PEARLASH 10
+#define LYE 11
+#define MUD 12
+#define VOMIT 13
+#define SALT 14
+#define FILTH 15
+#define FILTH_FROZEN 16
+#define UNKOWN_FROZEN 17
+#define GRIME 18
+#define WOOD 420 \ No newline at end of file