summaryrefslogtreecommitdiff
path: root/table
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-11-03 15:25:45 +0000
committertron <tron@openttd.org>2005-11-03 15:25:45 +0000
commit47f0e22853bc9c3ee332bafcf8d223a170a064f7 (patch)
tree70a50280d6f819257d48e5b7ee66e1263c3b3f1e /table
parent44f06c8bf02b99c1c158bfdb24c411c554529f05 (diff)
downloadopenttd-47f0e22853bc9c3ee332bafcf8d223a170a064f7.tar.xz
(svn r3125) Symbolic names for skiping sprites and the end of the sprite list
Diffstat (limited to 'table')
-rw-r--r--table/landscape_sprite.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/table/landscape_sprite.h b/table/landscape_sprite.h
index abff2cc66..88f5f48b1 100644
--- a/table/landscape_sprite.h
+++ b/table/landscape_sprite.h
@@ -23,7 +23,7 @@ static const SpriteID _landscape_spriteindexes_1[] = {
0x818, 0x81D,
0x3DE, 0x3EB,
0x1212, 0x1212,
-0xffff,
+END
};
static const SpriteID _landscape_spriteindexes_2[] = {
@@ -60,7 +60,7 @@ static const SpriteID _landscape_spriteindexes_2[] = {
0xFF5, 0xFF5,
0xFF8, 0xFF8,
0x1212, 0x1212,
-0xffff,
+END
};
static const SpriteID _landscape_spriteindexes_3[] = {
@@ -130,38 +130,38 @@ static const SpriteID _landscape_spriteindexes_3[] = {
0x514, 0x514,
0x511, 0x511,
0x322, 0x322,
- 0xffff,
+END
};
/* Slope graphics indexes temperate climate
Skip first 3 sprites and only load the proper set */
static const SpriteID _slopes_spriteindexes_0[] = {
- 0xfffe, 3,
- SPR_SLOPES_BASE, SPR_SLOPES_BASE+73,
- 0xffff,
+ SKIP, 3,
+ SPR_SLOPES_BASE, SPR_SLOPES_BASE + 73,
+ END
};
/* Slope graphics indexes arctic climate
Skip first 79 sprites and only load the proper set */
static const SpriteID _slopes_spriteindexes_1[] = {
- 0xfffe, 79,
- SPR_SLOPES_BASE, SPR_SLOPES_BASE+73,
- 0xffff,
+ SKIP, 79,
+ SPR_SLOPES_BASE, SPR_SLOPES_BASE + 73,
+ END
};
/* Slope graphics indexes tropical climate
Skip first 155 sprites and only load the proper set */
static const SpriteID _slopes_spriteindexes_2[] = {
- 0xfffe, 155,
- SPR_SLOPES_BASE, SPR_SLOPES_BASE+73,
- 0xffff,
+ SKIP, 155,
+ SPR_SLOPES_BASE, SPR_SLOPES_BASE + 73,
+ END
};
/* Slope graphics indexes toyland climate
Skip first 231 sprites and only load the proper set */
static const SpriteID _slopes_spriteindexes_3[] = {
- 0xfffe, 231,
- SPR_SLOPES_BASE, SPR_SLOPES_BASE+73,
- 0xffff,
+ SKIP, 231,
+ SPR_SLOPES_BASE, SPR_SLOPES_BASE + 73,
+ END
};