summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-10-20 21:39:50 +0000
committerrubidium <rubidium@openttd.org>2007-10-20 21:39:50 +0000
commit1d9542ce2d69ddccdf6c03ca5936e33b7107ef54 (patch)
treebde509eab266c280a8bc2b89c5cefb919aee7a8e /src/table
parentd1a51ebb36c8e217c3c3ea6844532202bd2dd1c4 (diff)
downloadopenttd-1d9542ce2d69ddccdf6c03ca5936e33b7107ef54.tar.xz
(svn r11321) -Codechange: add support to load different graphics for halftile slopes using a NewGRF. Patch by frosch.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/landscape_sprite.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/table/landscape_sprite.h b/src/table/landscape_sprite.h
index 49b650e47..b395c3a44 100644
--- a/src/table/landscape_sprite.h
+++ b/src/table/landscape_sprite.h
@@ -197,3 +197,10 @@ static const SpriteID _halftile_foundation_spriteindexes_3[] = {
SPR_HALFTILE_FOUNDATION_BASE, SPR_HALFTILE_FOUNDATION_BASE + 4 * SPR_HALFTILE_BLOCK_SIZE - 1,
END
};
+
+/* Slope graphics indexes for Action 05 type 06, 90 sprites */
+static const SpriteID _slopes_action05_90[] = {
+ SPR_SLOPES_VIRTUAL_BASE + 15, SPR_SLOPES_VIRTUAL_BASE + 4 * SPR_TRKFOUND_BLOCK_SIZE,
+ SPR_HALFTILE_FOUNDATION_BASE, SPR_HALFTILE_FOUNDATION_BASE + 4 * SPR_HALFTILE_BLOCK_SIZE - 1,
+ END
+};