From 08e16d966a108d6021fa8007fdc3acfe43670568 Mon Sep 17 00:00:00 2001 From: pasky Date: Fri, 26 Nov 2004 21:14:42 +0000 Subject: (svn r828) Everyone welcome table/sprites.h in trunk - so far not in use besides enum AnimCursors migrated from viewport.h and tiny fragment of enum Sprites migrated from ttd.h (we should slowly convert trunk to use the symbolic names instead of sprite numbers too to reduce the delta to map). Ported from the map branch, where the work was done by Darkvater, Celestar and Tron. --- ttd.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'ttd.h') 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 -- cgit v1.2.3-70-g09d2