diff options
author | tron <tron@openttd.org> | 2005-11-03 15:25:45 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-11-03 15:25:45 +0000 |
commit | 7c40462d24e78fb050c78fa17ca578023160c186 (patch) | |
tree | 70a50280d6f819257d48e5b7ee66e1263c3b3f1e /table/landscape_sprite.h | |
parent | e80d448478746ba30f1f78ad809e14703c7b899a (diff) | |
download | openttd-7c40462d24e78fb050c78fa17ca578023160c186.tar.xz |
(svn r3125) Symbolic names for skiping sprites and the end of the sprite list
Diffstat (limited to 'table/landscape_sprite.h')
-rw-r--r-- | table/landscape_sprite.h | 30 |
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 }; |