src/table/sprites.h
branchNewGRF_ports
changeset 10994 cd9968b6f96b
parent 10991 d8811e327d12
equal deleted inserted replaced
10991:d8811e327d12 10994:cd9968b6f96b
    47 
    47 
    48 	SPR_LARGE_SMALL_WINDOW = 682,
    48 	SPR_LARGE_SMALL_WINDOW = 682,
    49 
    49 
    50 	/* Extra graphic spritenumbers */
    50 	/* Extra graphic spritenumbers */
    51 	SPR_OPENTTD_BASE     = 4896,
    51 	SPR_OPENTTD_BASE     = 4896,
    52 	OPENTTD_SPRITE_COUNT = 145,
    52 	OPENTTD_SPRITE_COUNT = 147,
    53 
    53 
    54 	/* Halftile-selection sprites */
    54 	/* Halftile-selection sprites */
    55 	SPR_HALFTILE_SELECTION_FLAT = SPR_OPENTTD_BASE,
    55 	SPR_HALFTILE_SELECTION_FLAT = SPR_OPENTTD_BASE,
    56 	SPR_HALFTILE_SELECTION_DOWN = SPR_OPENTTD_BASE + 4,
    56 	SPR_HALFTILE_SELECTION_DOWN = SPR_OPENTTD_BASE + 4,
    57 	SPR_HALFTILE_SELECTION_UP   = SPR_OPENTTD_BASE + 8,
    57 	SPR_HALFTILE_SELECTION_UP   = SPR_OPENTTD_BASE + 8,
   130 	PRESIGNAL_SEMAPHORE_AND_PBS_SPRITE_COUNT = 240,
   130 	PRESIGNAL_SEMAPHORE_AND_PBS_SPRITE_COUNT = 240,
   131 
   131 
   132 	SPR_CANALS_BASE   = SPR_SIGNALS_BASE + PRESIGNAL_SEMAPHORE_AND_PBS_SPRITE_COUNT,
   132 	SPR_CANALS_BASE   = SPR_SIGNALS_BASE + PRESIGNAL_SEMAPHORE_AND_PBS_SPRITE_COUNT,
   133 	CANALS_SPRITE_COUNT = 65,
   133 	CANALS_SPRITE_COUNT = 65,
   134 
   134 
   135 	SPR_SLOPES_BASE              = SPR_CANALS_BASE + CANALS_SPRITE_COUNT,
   135 	/* Sprites for the Aqueduct. */
       
   136 	SPR_AQUEDUCT_BASE     = SPR_CANALS_BASE + CANALS_SPRITE_COUNT,
       
   137 	SPR_AQUEDUCT_RAMP_SW  = SPR_AQUEDUCT_BASE + 0,
       
   138 	SPR_AQUEDUCT_RAMP_SE  = SPR_AQUEDUCT_BASE + 1,
       
   139 	SPR_AQUEDUCT_RAMP_NE  = SPR_AQUEDUCT_BASE + 2,
       
   140 	SPR_AQUEDUCT_RAMP_NW  = SPR_AQUEDUCT_BASE + 3,
       
   141 	SPR_AQUEDUCT_MIDDLE_X = SPR_AQUEDUCT_BASE + 4,
       
   142 	SPR_AQUEDUCT_MIDDLE_Y = SPR_AQUEDUCT_BASE + 5,
       
   143 	SPR_AQUEDUCT_PILLAR_X = SPR_AQUEDUCT_BASE + 6,
       
   144 	SPR_AQUEDUCT_PILLAR_Y = SPR_AQUEDUCT_BASE + 7,
       
   145 	AQUEDUCT_SPRITE_COUNT = 8,
       
   146 
       
   147 	/* Sprites for 'highlighting' tracks on sloped land. */
       
   148  	SPR_TRACKS_FOR_SLOPES_BASE        = SPR_AQUEDUCT_BASE + AQUEDUCT_SPRITE_COUNT,
       
   149 	SPR_TRACKS_FOR_SLOPES_RAIL_BASE   = SPR_TRACKS_FOR_SLOPES_BASE + 0,
       
   150 	SPR_TRACKS_FOR_SLOPES_MONO_BASE   = SPR_TRACKS_FOR_SLOPES_BASE + 4,
       
   151 	SPR_TRACKS_FOR_SLOPES_MAGLEV_BASE = SPR_TRACKS_FOR_SLOPES_BASE + 8,
       
   152 	TRACKS_FOR_SLOPES_SPRITE_COUNT = 12,
       
   153 
       
   154 	SPR_SLOPES_BASE              = SPR_TRACKS_FOR_SLOPES_BASE + TRACKS_FOR_SLOPES_SPRITE_COUNT,
   136 	SPR_SLOPES_INCLINED_OFFSET   = 15,
   155 	SPR_SLOPES_INCLINED_OFFSET   = 15,
   137 	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.
   156 	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.
   138 	SPR_TRKFOUND_BLOCK_SIZE      = 22, // The normal track foundation sprites are organized in blocks of 22.
   157 	SPR_TRKFOUND_BLOCK_SIZE      = 22, // The normal track foundation sprites are organized in blocks of 22.
   139 	NORMAL_FOUNDATION_SPRITE_COUNT = 74,
   158 	NORMAL_FOUNDATION_SPRITE_COUNT = 74,
   140 	/* Halftile foundations */
   159 	/* Halftile foundations */
  1242 
  1261 
  1243 	/* dock_gui.c */
  1262 	/* dock_gui.c */
  1244 	SPR_IMG_SHIP_DEPOT    = 748,
  1263 	SPR_IMG_SHIP_DEPOT    = 748,
  1245 	SPR_IMG_SHIP_DOCK     = 746,
  1264 	SPR_IMG_SHIP_DOCK     = 746,
  1246 	SPR_IMG_BOUY          = 693,
  1265 	SPR_IMG_BOUY          = 693,
       
  1266 	SPR_IMG_AQUEDUCT      = SPR_OPENTTD_BASE + 145,
  1247 
  1267 
  1248 	/* music_gui.c */
  1268 	/* music_gui.c */
  1249 	SPR_IMG_SKIP_TO_PREV  = 709,
  1269 	SPR_IMG_SKIP_TO_PREV  = 709,
  1250 	SPR_IMG_SKIP_TO_NEXT  = 710,
  1270 	SPR_IMG_SKIP_TO_NEXT  = 710,
  1251 	SPR_IMG_STOP_MUSIC    = 711,
  1271 	SPR_IMG_STOP_MUSIC    = 711,
  1344 	/* dock cursors */
  1364 	/* dock cursors */
  1345 	SPR_CURSOR_DOCK           = 3668,
  1365 	SPR_CURSOR_DOCK           = 3668,
  1346 	SPR_CURSOR_CANAL          = SPR_OPENTTD_BASE + 89,
  1366 	SPR_CURSOR_CANAL          = SPR_OPENTTD_BASE + 89,
  1347 	SPR_CURSOR_LOCK           = SPR_OPENTTD_BASE + 87,
  1367 	SPR_CURSOR_LOCK           = SPR_OPENTTD_BASE + 87,
  1348 	SPR_CURSOR_RIVER          = SPR_OPENTTD_BASE + 137,
  1368 	SPR_CURSOR_RIVER          = SPR_OPENTTD_BASE + 137,
       
  1369 	SPR_CURSOR_AQUEDUCT       = SPR_OPENTTD_BASE + 146,
  1349 
  1370 
  1350 	/* shared road & rail cursors */
  1371 	/* shared road & rail cursors */
  1351 	SPR_CURSOR_BRIDGE         = 2593,
  1372 	SPR_CURSOR_BRIDGE         = 2593,
  1352 
  1373 
  1353 	/* rail cursors */
  1374 	/* rail cursors */