diff options
author | rubidium <rubidium@openttd.org> | 2007-10-20 21:39:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-10-20 21:39:50 +0000 |
commit | 1d9542ce2d69ddccdf6c03ca5936e33b7107ef54 (patch) | |
tree | bde509eab266c280a8bc2b89c5cefb919aee7a8e /src/table/landscape_sprite.h | |
parent | d1a51ebb36c8e217c3c3ea6844532202bd2dd1c4 (diff) | |
download | openttd-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/landscape_sprite.h')
-rw-r--r-- | src/table/landscape_sprite.h | 7 |
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 +}; |