(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.

This commit is contained in:
rubidium
2008-06-11 13:54:01 +00:00
parent 2475d0010b
commit ee843728bf
14 changed files with 239 additions and 117 deletions

View File

@@ -132,7 +132,18 @@ enum Sprites {
SPR_CANALS_BASE = SPR_SIGNALS_BASE + PRESIGNAL_SEMAPHORE_AND_PBS_SPRITE_COUNT,
CANALS_SPRITE_COUNT = 65,
SPR_SLOPES_BASE = SPR_CANALS_BASE + CANALS_SPRITE_COUNT,
SPR_AQUEDUCT_BASE = SPR_CANALS_BASE + CANALS_SPRITE_COUNT,
SPR_AQUEDUCT_RAMP_SW = SPR_AQUEDUCT_BASE + 0,
SPR_AQUEDUCT_RAMP_SE = SPR_AQUEDUCT_BASE + 1,
SPR_AQUEDUCT_RAMP_NE = SPR_AQUEDUCT_BASE + 2,
SPR_AQUEDUCT_RAMP_NW = SPR_AQUEDUCT_BASE + 3,
SPR_AQUEDUCT_MIDDLE_X = SPR_AQUEDUCT_BASE + 4,
SPR_AQUEDUCT_MIDDLE_Y = SPR_AQUEDUCT_BASE + 5,
SPR_AQUEDUCT_PILLAR_X = SPR_AQUEDUCT_BASE + 6,
SPR_AQUEDUCT_PILLAR_Y = SPR_AQUEDUCT_BASE + 7,
AQUEDUCT_SPRITE_COUNT = 8,
SPR_SLOPES_BASE = SPR_AQUEDUCT_BASE + AQUEDUCT_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.