summaryrefslogtreecommitdiff
path: root/industry_map.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-04-14 01:54:07 +0000
committerbelugas <belugas@openttd.org>2006-04-14 01:54:07 +0000
commite84d878213e68263048befcaa8195344f683131f (patch)
tree666666f62052b4b05907ccbefd40e8b106d9bd85 /industry_map.h
parent8bff288817df4704461ee9c2f37969842c8e71ad (diff)
downloadopenttd-e84d878213e68263048befcaa8195344f683131f.tar.xz
(svn r4411) CodeChange : Define and use some Gfx for both stations and industries. More are still to come
Also, a bit of code cleaning, as pointed by Tron
Diffstat (limited to 'industry_map.h')
-rw-r--r--industry_map.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/industry_map.h b/industry_map.h
index c31ef4087..a4bf06eef 100644
--- a/industry_map.h
+++ b/industry_map.h
@@ -9,7 +9,15 @@
#include "macros.h"
#include "tile.h"
-typedef uint IndustryGfx;
+typedef byte IndustryGfx;
+
+enum {
+ GFX_POWERPLANT_SPARKS = 10,
+ GFX_BUBBLE_CATCHER = 162,
+ GFX_TOFFEE_QUARY = 165,
+ GFX_SUGAR_MINE_SIEVE = 174,
+ GFX_TOY_FACTORY = 143
+};
static inline uint GetIndustryIndex(TileIndex t)
{