summaryrefslogtreecommitdiff
path: root/table
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-08-14 10:05:27 +0000
committerdominik <dominik@openttd.org>2004-08-14 10:05:27 +0000
commitb3cdae2af1c6c8e33d0a506d33694e4c6b8f679f (patch)
tree1f473e55b57bac82ebabe3c01c33a0c51576de39 /table
parentb7e14169f8c08e6d0b2921ea08738f09df6c3180 (diff)
downloadopenttd-b3cdae2af1c6c8e33d0a506d33694e4c6b8f679f.tar.xz
(svn r51) Yet another slope graphics fix
Diffstat (limited to 'table')
-rw-r--r--table/landscape_sprite.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/table/landscape_sprite.h b/table/landscape_sprite.h
index 2a4cf13b2..c96445aba 100644
--- a/table/landscape_sprite.h
+++ b/table/landscape_sprite.h
@@ -132,28 +132,32 @@ static const SpriteID _landscape_spriteindexes_3[] = {
};
-/* Slope graphics indexes temperate climate */
+/* 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,
};
-/* Slope graphics indexes arctic climate */
+/* 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,
};
-/* Slope graphics indexes tropical climate */
+/* 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,
};
-/* Slope graphics indexes toyland climate */
+/* 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,