diff options
author | rubidium <rubidium@openttd.org> | 2007-11-15 07:42:25 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-11-15 07:42:25 +0000 |
commit | af0616729a0fe8f514ec5ec431ad2acdbe46d051 (patch) | |
tree | 16f3e2ff6c7d1a27f793c7fea834b2625afd09ab /src/table/landscape_sprite.h | |
parent | 9fcf6e7a43b51bc109749510118d36428ced0b67 (diff) | |
download | openttd-af0616729a0fe8f514ec5ec431ad2acdbe46d051.tar.xz |
(svn r11433) -Fix: starting OpenTTD with DOS files made it look weird out of the box.
-Change: make extra sprites (the ones not in the TTD GRFs) replaceable using Action 5.
-Feature: make replacing contiguous subsets of sprites in for some types possible in Action 5.
Note to GRF authors: when you replaced OpenTTD sprites that are not from the TTD GRF files using Action A, your GRF will not have the intended result anymore as the sprite numbers have changed. You should replace the Action A with an Action 5 from now on.
Diffstat (limited to 'src/table/landscape_sprite.h')
-rw-r--r-- | src/table/landscape_sprite.h | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/src/table/landscape_sprite.h b/src/table/landscape_sprite.h index b395c3a44..01b143077 100644 --- a/src/table/landscape_sprite.h +++ b/src/table/landscape_sprite.h @@ -137,70 +137,3 @@ static const SpriteID _landscape_spriteindexes_3[] = { 0x322, 0x322, END }; - - -/* Slope graphics indexes temperate climate -Skip first 3 sprites and only load the proper set */ -static const SpriteID _slopes_spriteindexes_0[] = { - SKIP, 3, - SPR_SLOPES_VIRTUAL_BASE + 15, SPR_SLOPES_VIRTUAL_BASE + 4 * SPR_TRKFOUND_BLOCK_SIZE, - END -}; - -/* Slope graphics indexes arctic climate -Skip first 79 sprites and only load the proper set */ -static const SpriteID _slopes_spriteindexes_1[] = { - SKIP, 79, - SPR_SLOPES_VIRTUAL_BASE + 15, SPR_SLOPES_VIRTUAL_BASE + 4 * SPR_TRKFOUND_BLOCK_SIZE, - END -}; - -/* Slope graphics indexes tropical climate -Skip first 155 sprites and only load the proper set */ -static const SpriteID _slopes_spriteindexes_2[] = { - SKIP, 155, - SPR_SLOPES_VIRTUAL_BASE + 15, SPR_SLOPES_VIRTUAL_BASE + 4 * SPR_TRKFOUND_BLOCK_SIZE, - END -}; - -/* Slope graphics indexes toyland climate -Skip first 231 sprites and only load the proper set */ -static const SpriteID _slopes_spriteindexes_3[] = { - SKIP, 231, - SPR_SLOPES_VIRTUAL_BASE + 15, SPR_SLOPES_VIRTUAL_BASE + 4 * SPR_TRKFOUND_BLOCK_SIZE, - END -}; - -/* Halftile foundation indexes for temperate climate */ -static const SpriteID _halftile_foundation_spriteindexes_0[] = { - SPR_HALFTILE_FOUNDATION_BASE, SPR_HALFTILE_FOUNDATION_BASE + 4 * SPR_HALFTILE_BLOCK_SIZE - 1, - END -}; - -/* Halftile foundation indexes for arctic climate */ -static const SpriteID _halftile_foundation_spriteindexes_1[] = { - SKIP, 16, - SPR_HALFTILE_FOUNDATION_BASE, SPR_HALFTILE_FOUNDATION_BASE + 4 * SPR_HALFTILE_BLOCK_SIZE - 1, - END -}; - -/* Halftile foundation indexes for tropic climate */ -static const SpriteID _halftile_foundation_spriteindexes_2[] = { - SKIP, 32, - SPR_HALFTILE_FOUNDATION_BASE, SPR_HALFTILE_FOUNDATION_BASE + 4 * SPR_HALFTILE_BLOCK_SIZE - 1, - END -}; - -/* Halftile foundation indexes for toyland climate */ -static const SpriteID _halftile_foundation_spriteindexes_3[] = { - SKIP, 48, - 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 -}; |