summaryrefslogtreecommitdiff
path: root/gfxinit.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-31 10:23:58 +0000
committertron <tron@openttd.org>2005-10-31 10:23:58 +0000
commitc1c086d9a031fc8d85e13c9bd04c1b34f513e015 (patch)
tree5495d27a59d498715a3e483cebde3a2f872f1a67 /gfxinit.c
parent1a2ad83b00d2a3826950ea7c5339c54d637a308c (diff)
downloadopenttd-c1c086d9a031fc8d85e13c9bd04c1b34f513e015.tar.xz
(svn r3108) Confine the use of SPR_OPENTTD_BASE to table/sprites.h by adding/using some sprite enums
Diffstat (limited to 'gfxinit.c')
-rw-r--r--gfxinit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gfxinit.c b/gfxinit.c
index a19d3d543..adfbce756 100644
--- a/gfxinit.c
+++ b/gfxinit.c
@@ -273,16 +273,16 @@ static const SpriteID trg1idx[] = {
* a maximum use of sprite slots. */
#define OPENTTD_SPRITES_COUNT 101
static const SpriteID _openttd_grf_indexes[] = {
- SPR_OPENTTD_BASE + 0, SPR_OPENTTD_BASE + 7, // icons etc
+ SPR_IMG_AUTORAIL, SPR_CURSOR_WAYPOINT, // icons etc
134, 134, // euro symbol medium size
582, 582, // euro symbol large size
358, 358, // euro symbol tiny
- SPR_OPENTTD_BASE+11, SPR_OPENTTD_BASE+57, // more icons
+ SPR_CURSOR_CANAL, SPR_IMG_FASTFORWARD, // more icons
648, 648, // nordic char: æ
616, 616, // nordic char: Æ
666, 666, // nordic char: ø
634, 634, // nordic char: Ø
- SPR_OPENTTD_BASE+62, SPR_OPENTTD_BASE + 100, // more icons
+ SPR_PIN_UP, SPR_CURSOR_CLONE, // more icons
382, 383, // ¼ ½ tiny
158, 159, // ¼ ½ medium
606, 607, // ¼ ½ large
@@ -308,7 +308,7 @@ static const SpriteID _openttd_grf_indexes[] = {
317, 320, // { | } ~ tiny
93, 96, // { | } ~ medium
541, 544, // { | } ~ large
- SPR_OPENTTD_BASE + 101, SPR_OPENTTD_BASE + OPENTTD_SPRITES_COUNT, // icon (HOUSE)
+ SPR_HOUSE_ICON, SPR_HOUSE_ICON,
0xffff,
};