diff options
author | rubidium <rubidium@openttd.org> | 2008-06-11 14:55:02 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-06-11 14:55:02 +0000 |
commit | 3d5fe9bfc1b8be56fe42a59c9bd905d96d70f128 (patch) | |
tree | 0530b1e9f48dd5aa43e757b228f2d470bd81f7b8 /src/table/sprites.h | |
parent | f858e5bbf42ca42939067a305978d9c4c9141288 (diff) | |
download | openttd-3d5fe9bfc1b8be56fe42a59c9bd905d96d70f128.tar.xz |
(svn r13469) -Codechange: add support for loading Action 0x05, type 0F: "tracks for slopes". It's not useful right now, but it will be in the future.
Diffstat (limited to 'src/table/sprites.h')
-rw-r--r-- | src/table/sprites.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/table/sprites.h b/src/table/sprites.h index c427be684..02b0997cc 100644 --- a/src/table/sprites.h +++ b/src/table/sprites.h @@ -143,7 +143,13 @@ enum Sprites { SPR_AQUEDUCT_PILLAR_Y = SPR_AQUEDUCT_BASE + 7, AQUEDUCT_SPRITE_COUNT = 8, - SPR_SLOPES_BASE = SPR_AQUEDUCT_BASE + AQUEDUCT_SPRITE_COUNT, + SPR_TRACKS_FOR_SLOPES_BASE = SPR_AQUEDUCT_BASE + AQUEDUCT_SPRITE_COUNT, + SPR_TRACKS_FOR_SLOPES_RAIL_BASE = SPR_AQUEDUCT_BASE + 0, + SPR_TRACKS_FOR_SLOPES_MONO_BASE = SPR_AQUEDUCT_BASE + 4, + SPR_TRACKS_FOR_SLOPES_MAGLEV_BASE = SPR_AQUEDUCT_BASE + 8, + TRACKS_FOR_SLOPES_SPRITE_COUNT = 12, + + SPR_SLOPES_BASE = SPR_TRACKS_FOR_SLOPES_BASE + TRACKS_FOR_SLOPES_SPRITE_COUNT, SPR_SLOPES_INCLINED_OFFSET = 15, SPR_SLOPES_VIRTUAL_BASE = SPR_SLOPES_BASE - SPR_SLOPES_INCLINED_OFFSET, // The original foundations (see SPR_FOUNDATION_BASE below) are mapped before the additional foundations. SPR_TRKFOUND_BLOCK_SIZE = 22, // The normal track foundation sprites are organized in blocks of 22. |