summaryrefslogtreecommitdiff
path: root/ttd.h
diff options
context:
space:
mode:
Diffstat (limited to 'ttd.h')
-rw-r--r--ttd.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/ttd.h b/ttd.h
index 5e60dec6d..154533e93 100644
--- a/ttd.h
+++ b/ttd.h
@@ -1,6 +1,10 @@
#ifndef TTD_H
#define TTD_H
+// FIXME: Include only where really needed.
+// include sprites
+#include "table/sprites.h"
+
#ifndef VARDEF
#define VARDEF extern
#endif
@@ -511,12 +515,6 @@ enum SpecialStrings {
typedef void PlaceProc(uint tile);
-enum Sprites {
- SPR_CANALS_BASE = 0x1406,
- SPR_SLOPES_BASE = SPR_CANALS_BASE + 70,
- SPR_OPENTTD_BASE = SPR_SLOPES_BASE + 74,
-};
-
enum MAP_OWNERS {
OWNER_TOWN = 0xf, // a town owns the tile
OWNER_NONE = 0x10, // nobody owns the tile