41#include "../gfx_type.h"
43static const SpriteID SPR_SELECT_TILE = 752;
45static const SpriteID SPR_EMPTY = 4078;
46static const SpriteID SPR_WHITE_POINT = 4079;
49static const SpriteID SPR_ASCII_SPACE = 2;
50static const SpriteID SPR_ASCII_SPACE_SMALL = 226;
51static const SpriteID SPR_ASCII_SPACE_BIG = 450;
53static const SpriteID SPR_LARGE_SMALL_WINDOW = 682;
57static const uint16_t OPENTTD_SPRITE_COUNT = 191;
86static const SpriteID SPR_CLOSEBOX = 143;
178static const uint16_t PRESIGNAL_SPRITE_COUNT = 48;
179static const uint16_t PRESIGNAL_AND_SEMAPHORE_SPRITE_COUNT = 112;
180static const uint16_t PRESIGNAL_SEMAPHORE_AND_PBS_SPRITE_COUNT = 240;
182static const SpriteID SPR_CANALS_BASE = SPR_SIGNALS_BASE + PRESIGNAL_SEMAPHORE_AND_PBS_SPRITE_COUNT;
183static const uint16_t CANALS_SPRITE_COUNT = 65;
195static const uint16_t AQUEDUCT_SPRITE_COUNT = 8;
202static const uint16_t TRACKS_FOR_SLOPES_SPRITE_COUNT = 12;
205static const SpriteID SPR_SLOPES_INCLINED_OFFSET = 15;
206static const SpriteID SPR_SLOPES_VIRTUAL_BASE = SPR_SLOPES_BASE - SPR_SLOPES_INCLINED_OFFSET;
207static const SpriteID SPR_TRKFOUND_BLOCK_SIZE = 22;
208static const uint16_t NORMAL_FOUNDATION_SPRITE_COUNT = 74;
211static const SpriteID SPR_HALFTILE_BLOCK_SIZE = 4;
212static const uint16_t NORMAL_AND_HALFTILE_FOUNDATION_SPRITE_COUNT = 90;
215static const uint16_t AUTORAIL_SPRITE_COUNT = 55;
217static const SpriteID SPR_ELRAIL_BASE = SPR_AUTORAIL_BASE + AUTORAIL_SPRITE_COUNT;
218static const uint16_t ELRAIL_SPRITE_COUNT = 48;
220static const SpriteID SPR_2CCMAP_BASE = SPR_ELRAIL_BASE + ELRAIL_SPRITE_COUNT;
221static const uint16_t TWOCCMAP_SPRITE_COUNT = 256;
225static const SpriteID SPR_SHORE_SPRITE_COUNT = 18;
226static const SpriteID SPR_ORIGINALSHORE_START = 4062;
227static const SpriteID SPR_ORIGINALSHORE_END = 4069;
230static const SpriteID SPR_NEWAIRPORT_TARMAC = SPR_AIRPORTX_BASE;
231static const SpriteID SPR_NSRUNWAY1 = SPR_AIRPORTX_BASE + 1;
232static const SpriteID SPR_NSRUNWAY2 = SPR_AIRPORTX_BASE + 2;
233static const SpriteID SPR_NSRUNWAY3 = SPR_AIRPORTX_BASE + 3;
234static const SpriteID SPR_NSRUNWAY4 = SPR_AIRPORTX_BASE + 4;
235static const SpriteID SPR_NSRUNWAY_END = SPR_AIRPORTX_BASE + 5;
236static const SpriteID SPR_NEWHANGAR_S = SPR_AIRPORTX_BASE + 6;
237static const SpriteID SPR_NEWHANGAR_S_WALL = SPR_AIRPORTX_BASE + 7;
238static const SpriteID SPR_NEWHANGAR_W = SPR_AIRPORTX_BASE + 8;
239static const SpriteID SPR_NEWHANGAR_W_WALL = SPR_AIRPORTX_BASE + 9;
240static const SpriteID SPR_NEWHANGAR_N = SPR_AIRPORTX_BASE + 10;
241static const SpriteID SPR_NEWHANGAR_E = SPR_AIRPORTX_BASE + 11;
242static const SpriteID SPR_NEWHELIPAD = SPR_AIRPORTX_BASE + 12;
243static const SpriteID SPR_GRASS_RIGHT = SPR_AIRPORTX_BASE + 13;
244static const SpriteID SPR_GRASS_LEFT = SPR_AIRPORTX_BASE + 14;
245static const uint16_t AIRPORTX_SPRITE_COUNT = 15;
258static const SpriteID SPR_AIRPORT_PREVIEW_COUNT = 9;
261static const SpriteID SPR_BUS_STOP_DT_Y_W = SPR_ROADSTOP_BASE;
262static const SpriteID SPR_BUS_STOP_DT_Y_E = SPR_ROADSTOP_BASE + 1;
263static const SpriteID SPR_BUS_STOP_DT_X_W = SPR_ROADSTOP_BASE + 2;
264static const SpriteID SPR_BUS_STOP_DT_X_E = SPR_ROADSTOP_BASE + 3;
265static const SpriteID SPR_TRUCK_STOP_DT_Y_W = SPR_ROADSTOP_BASE + 4;
266static const SpriteID SPR_TRUCK_STOP_DT_Y_E = SPR_ROADSTOP_BASE + 5;
267static const SpriteID SPR_TRUCK_STOP_DT_X_W = SPR_ROADSTOP_BASE + 6;
268static const SpriteID SPR_TRUCK_STOP_DT_X_E = SPR_ROADSTOP_BASE + 7;
269static const uint16_t ROADSTOP_SPRITE_COUNT = 8;
275static const SpriteID SPR_TRAMWAY_SLOPED_OFFSET = 11;
290static const uint16_t TRAMWAY_SPRITE_COUNT = 119;
294static const SpriteID SPR_ONEWAY_SLOPE_N_OFFSET = 6;
295static const SpriteID SPR_ONEWAY_SLOPE_S_OFFSET = 12;
296static const uint16_t ONEWAY_SPRITE_COUNT = 18;
300static const uint16_t RAILTYPE_TUNNEL_BASE_COUNT = 16;
304static const uint16_t EMPTY_BOUNDING_BOX_SPRITE_COUNT = 1;
307static const SpriteID SPR_PALETTE_BASE = SPR_EMPTY_BOUNDING_BOX + EMPTY_BOUNDING_BOX_SPRITE_COUNT;
308static const uint16_t PALETTE_SPRITE_COUNT = 1;
316static const uint16_t ROAD_WAYPOINTS_SPRITE_COUNT = 4;
322static const SpriteID SPR_GRADIENT = 874;
325static const SpriteID SPR_COMPANY_ICON = 747;
328static const SpriteID SPR_FOUNDATION_BASE = 989;
331static const SpriteID SPR_SHADOW_CELL = 1004;
334static const SpriteID SPR_TRANSMITTER = 2601;
335static const SpriteID SPR_LIGHTHOUSE = 2602;
336static const SpriteID SPR_TINYHQ_NORTH = 2603;
337static const SpriteID SPR_TINYHQ_EAST = 2604;
338static const SpriteID SPR_TINYHQ_WEST = 2605;
339static const SpriteID SPR_TINYHQ_SOUTH = 2606;
340static const SpriteID SPR_SMALLHQ_NORTH = 2607;
341static const SpriteID SPR_SMALLHQ_EAST = 2608;
342static const SpriteID SPR_SMALLHQ_WEST = 2609;
343static const SpriteID SPR_SMALLHQ_SOUTH = 2610;
344static const SpriteID SPR_MEDIUMHQ_NORTH = 2611;
345static const SpriteID SPR_MEDIUMHQ_NORTH_WALL = 2612;
346static const SpriteID SPR_MEDIUMHQ_EAST = 2613;
347static const SpriteID SPR_MEDIUMHQ_EAST_WALL = 2614;
348static const SpriteID SPR_MEDIUMHQ_WEST = 2615;
349static const SpriteID SPR_MEDIUMHQ_WEST_WALL = 2616;
350static const SpriteID SPR_MEDIUMHQ_SOUTH = 2617;
351static const SpriteID SPR_LARGEHQ_NORTH_GROUND = 2618;
352static const SpriteID SPR_LARGEHQ_NORTH_BUILD = 2619;
353static const SpriteID SPR_LARGEHQ_EAST_GROUND = 2620;
354static const SpriteID SPR_LARGEHQ_EAST_BUILD = 2621;
355static const SpriteID SPR_LARGEHQ_WEST_GROUND = 2622;
356static const SpriteID SPR_LARGEHQ_WEST_BUILD = 2623;
357static const SpriteID SPR_LARGEHQ_SOUTH = 2624;
358static const SpriteID SPR_HUGEHQ_NORTH_GROUND = 2625;
359static const SpriteID SPR_HUGEHQ_NORTH_BUILD = 2626;
360static const SpriteID SPR_HUGEHQ_EAST_GROUND = 2627;
361static const SpriteID SPR_HUGEHQ_EAST_BUILD = 2628;
362static const SpriteID SPR_HUGEHQ_WEST_GROUND = 2629;
363static const SpriteID SPR_HUGEHQ_WEST_BUILD = 2630;
364static const SpriteID SPR_HUGEHQ_SOUTH = 2631;
365static const SpriteID SPR_CONCRETE_GROUND = 1420;
366static const SpriteID SPR_STATUE_COMPANY = 2632;
367static const SpriteID SPR_BOUGHT_LAND = 4790;
370static const SpriteID SPR_RAIL_SNOW_OFFSET = 26;
371static const SpriteID SPR_MONO_SNOW_OFFSET = 26;
372static const SpriteID SPR_MGLV_SNOW_OFFSET = 26;
374static const SpriteID SPR_ORIGINAL_SIGNALS_BASE = 1275;
376static const SpriteID SPR_RAIL_SINGLE_X = 1005;
377static const SpriteID SPR_RAIL_SINGLE_Y = 1006;
378static const SpriteID SPR_RAIL_SINGLE_NORTH = 1007;
379static const SpriteID SPR_RAIL_SINGLE_SOUTH = 1008;
380static const SpriteID SPR_RAIL_SINGLE_EAST = 1009;
381static const SpriteID SPR_RAIL_SINGLE_WEST = 1010;
382static const SpriteID SPR_RAIL_TRACK_Y = 1011;
383static const SpriteID SPR_RAIL_TRACK_X = 1012;
384static const SpriteID SPR_RAIL_TRACK_BASE = 1018;
385static const SpriteID SPR_RAIL_TRACK_N_S = 1035;
386static const SpriteID SPR_RAIL_TRACK_Y_SNOW = 1037;
387static const SpriteID SPR_RAIL_TRACK_X_SNOW = 1038;
388static const SpriteID SPR_RAIL_DEPOT_SE_1 = 1063;
389static const SpriteID SPR_RAIL_DEPOT_SE_2 = 1064;
390static const SpriteID SPR_RAIL_DEPOT_SW_1 = 1065;
391static const SpriteID SPR_RAIL_DEPOT_SW_2 = 1066;
392static const SpriteID SPR_RAIL_DEPOT_NE = 1067;
393static const SpriteID SPR_RAIL_DEPOT_NW = 1068;
394static const SpriteID SPR_RAIL_PLATFORM_Y_FRONT = 1069;
395static const SpriteID SPR_RAIL_PLATFORM_X_REAR = 1070;
396static const SpriteID SPR_RAIL_PLATFORM_Y_REAR = 1071;
397static const SpriteID SPR_RAIL_PLATFORM_X_FRONT = 1072;
398static const SpriteID SPR_RAIL_PLATFORM_BUILDING_X = 1073;
399static const SpriteID SPR_RAIL_PLATFORM_BUILDING_Y = 1074;
400static const SpriteID SPR_RAIL_PLATFORM_PILLARS_Y_FRONT = 1075;
401static const SpriteID SPR_RAIL_PLATFORM_PILLARS_X_REAR = 1076;
402static const SpriteID SPR_RAIL_PLATFORM_PILLARS_Y_REAR = 1077;
403static const SpriteID SPR_RAIL_PLATFORM_PILLARS_X_FRONT = 1078;
404static const SpriteID SPR_RAIL_ROOF_STRUCTURE_X_TILE_A = 1079;
405static const SpriteID SPR_RAIL_ROOF_STRUCTURE_Y_TILE_A = 1080;
406static const SpriteID SPR_RAIL_ROOF_STRUCTURE_X_TILE_B = 1081;
407static const SpriteID SPR_RAIL_ROOF_STRUCTURE_Y_TILE_B = 1082;
408static const SpriteID SPR_RAIL_ROOF_GLASS_X_TILE_A = 1083;
409static const SpriteID SPR_RAIL_ROOF_GLASS_Y_TILE_A = 1084;
410static const SpriteID SPR_RAIL_ROOF_GLASS_X_TILE_B = 1085;
411static const SpriteID SPR_RAIL_ROOF_GLASS_Y_TILE_B = 1086;
412static const SpriteID SPR_MONO_SINGLE_X = 1087;
413static const SpriteID SPR_MONO_SINGLE_Y = 1088;
414static const SpriteID SPR_MONO_SINGLE_NORTH = 1089;
415static const SpriteID SPR_MONO_SINGLE_SOUTH = 1090;
416static const SpriteID SPR_MONO_SINGLE_EAST = 1091;
417static const SpriteID SPR_MONO_SINGLE_WEST = 1092;
418static const SpriteID SPR_MONO_TRACK_Y = 1093;
419static const SpriteID SPR_MONO_TRACK_X = 1094;
420static const SpriteID SPR_MONO_TRACK_BASE = 1100;
421static const SpriteID SPR_MONO_TRACK_N_S = 1117;
422static const SpriteID SPR_MONO_TRACK_Y_SNOW = 1119;
423static const SpriteID SPR_MONO_TRACK_X_SNOW = 1120;
424static const SpriteID SPR_MGLV_SINGLE_X = 1169;
425static const SpriteID SPR_MGLV_SINGLE_Y = 1170;
426static const SpriteID SPR_MGLV_SINGLE_NORTH = 1171;
427static const SpriteID SPR_MGLV_SINGLE_SOUTH = 1172;
428static const SpriteID SPR_MGLV_SINGLE_EAST = 1173;
429static const SpriteID SPR_MGLV_SINGLE_WEST = 1174;
430static const SpriteID SPR_MGLV_TRACK_Y = 1175;
431static const SpriteID SPR_MGLV_TRACK_X = 1176;
432static const SpriteID SPR_MGLV_TRACK_BASE = 1182;
433static const SpriteID SPR_MGLV_TRACK_Y_SNOW = 1184;
434static const SpriteID SPR_MGLV_TRACK_X_SNOW = 1185;
435static const SpriteID SPR_MGLV_TRACK_N_S = 1199;
443static const SpriteID SPR_TRACK_FENCE_FLAT_X = 1301;
444static const SpriteID SPR_TRACK_FENCE_FLAT_Y = 1302;
445static const SpriteID SPR_TRACK_FENCE_FLAT_VERT = 1303;
446static const SpriteID SPR_TRACK_FENCE_FLAT_HORZ = 1304;
447static const SpriteID SPR_TRACK_FENCE_SLOPE_SW = 1305;
448static const SpriteID SPR_TRACK_FENCE_SLOPE_SE = 1306;
449static const SpriteID SPR_TRACK_FENCE_SLOPE_NE = 1307;
450static const SpriteID SPR_TRACK_FENCE_SLOPE_NW = 1308;
456static const SpriteID SPR_WIRE_BASE = SPR_ELRAIL_BASE + 0;
457static const SpriteID SPR_PYLON_BASE = SPR_ELRAIL_BASE + 28;
460static const SpriteID SPR_ROAD_PAVED_STRAIGHT_Y = 1313;
461static const SpriteID SPR_ROAD_PAVED_STRAIGHT_X = 1314;
465static const SpriteID SPR_HELIPORT = 2633;
466static const SpriteID SPR_AIRPORT_APRON = 2634;
467static const SpriteID SPR_AIRPORT_AIRCRAFT_STAND = 2635;
468static const SpriteID SPR_AIRPORT_TAXIWAY_NS_WEST = 2636;
469static const SpriteID SPR_AIRPORT_TAXIWAY_EW_SOUTH = 2637;
470static const SpriteID SPR_AIRPORT_TAXIWAY_XING_SOUTH = 2638;
471static const SpriteID SPR_AIRPORT_TAXIWAY_XING_WEST = 2639;
472static const SpriteID SPR_AIRPORT_TAXIWAY_NS_CTR = 2640;
473static const SpriteID SPR_AIRPORT_TAXIWAY_XING_EAST = 2641;
474static const SpriteID SPR_AIRPORT_TAXIWAY_NS_EAST = 2642;
475static const SpriteID SPR_AIRPORT_TAXIWAY_EW_NORTH = 2643;
476static const SpriteID SPR_AIRPORT_TAXIWAY_EW_CTR = 2644;
477static const SpriteID SPR_AIRPORT_RUNWAY_EXIT_A = 2645;
478static const SpriteID SPR_AIRPORT_RUNWAY_EXIT_B = 2646;
479static const SpriteID SPR_AIRPORT_RUNWAY_EXIT_C = 2647;
480static const SpriteID SPR_AIRPORT_RUNWAY_EXIT_D = 2648;
481static const SpriteID SPR_AIRPORT_RUNWAY_END = 2649;
482static const SpriteID SPR_AIRPORT_TERMINAL_A = 2650;
483static const SpriteID SPR_AIRPORT_TOWER = 2651;
484static const SpriteID SPR_AIRPORT_CONCOURSE = 2652;
485static const SpriteID SPR_AIRPORT_TERMINAL_B = 2653;
486static const SpriteID SPR_AIRPORT_TERMINAL_C = 2654;
487static const SpriteID SPR_AIRPORT_HANGAR_FRONT = 2655;
488static const SpriteID SPR_AIRPORT_HANGAR_REAR = 2656;
489static const SpriteID SPR_AIRFIELD_HANGAR_FRONT = 2657;
490static const SpriteID SPR_AIRFIELD_HANGAR_REAR = 2658;
491static const SpriteID SPR_AIRPORT_JETWAY_1 = 2659;
492static const SpriteID SPR_AIRPORT_JETWAY_2 = 2660;
493static const SpriteID SPR_AIRPORT_JETWAY_3 = 2661;
494static const SpriteID SPR_AIRPORT_PASSENGER_TUNNEL = 2662;
495static const SpriteID SPR_AIRPORT_FENCE_Y = 2663;
496static const SpriteID SPR_AIRPORT_FENCE_X = 2664;
497static const SpriteID SPR_AIRFIELD_TERM_A = 2665;
498static const SpriteID SPR_AIRFIELD_TERM_B = 2666;
499static const SpriteID SPR_AIRFIELD_TERM_C_GROUND = 2667;
500static const SpriteID SPR_AIRFIELD_TERM_C_BUILD = 2668;
501static const SpriteID SPR_AIRFIELD_APRON_A = 2669;
502static const SpriteID SPR_AIRFIELD_APRON_B = 2670;
503static const SpriteID SPR_AIRFIELD_APRON_C = 2671;
504static const SpriteID SPR_AIRFIELD_APRON_D = 2672;
505static const SpriteID SPR_AIRFIELD_RUNWAY_NEAR_END = 2673;
506static const SpriteID SPR_AIRFIELD_RUNWAY_MIDDLE = 2674;
507static const SpriteID SPR_AIRFIELD_RUNWAY_FAR_END = 2675;
508static const SpriteID SPR_AIRFIELD_WIND_1 = 2676;
509static const SpriteID SPR_AIRFIELD_WIND_2 = 2677;
510static const SpriteID SPR_AIRFIELD_WIND_3 = 2678;
511static const SpriteID SPR_AIRFIELD_WIND_4 = 2679;
512static const SpriteID SPR_AIRPORT_RADAR_1 = 2680;
513static const SpriteID SPR_AIRPORT_RADAR_2 = 2681;
514static const SpriteID SPR_AIRPORT_RADAR_3 = 2682;
515static const SpriteID SPR_AIRPORT_RADAR_4 = 2683;
516static const SpriteID SPR_AIRPORT_RADAR_5 = 2684;
517static const SpriteID SPR_AIRPORT_RADAR_6 = 2685;
518static const SpriteID SPR_AIRPORT_RADAR_7 = 2686;
519static const SpriteID SPR_AIRPORT_RADAR_8 = 2687;
520static const SpriteID SPR_AIRPORT_RADAR_9 = 2688;
521static const SpriteID SPR_AIRPORT_RADAR_A = 2689;
522static const SpriteID SPR_AIRPORT_RADAR_B = 2690;
523static const SpriteID SPR_AIRPORT_RADAR_C = 2691;
525static const SpriteID SPR_AIRPORT_HELIDEPOT_OFFICE = 2095;
530static const SpriteID SPR_BUS_STOP_NE_GROUND = 2692;
531static const SpriteID SPR_BUS_STOP_SE_GROUND = 2693;
532static const SpriteID SPR_BUS_STOP_SW_GROUND = 2694;
533static const SpriteID SPR_BUS_STOP_NW_GROUND = 2695;
534static const SpriteID SPR_BUS_STOP_NE_BUILD_A = 2696;
535static const SpriteID SPR_BUS_STOP_SE_BUILD_A = 2697;
536static const SpriteID SPR_BUS_STOP_SW_BUILD_A = 2698;
537static const SpriteID SPR_BUS_STOP_NW_BUILD_A = 2699;
538static const SpriteID SPR_BUS_STOP_NE_BUILD_B = 2700;
539static const SpriteID SPR_BUS_STOP_SE_BUILD_B = 2701;
540static const SpriteID SPR_BUS_STOP_SW_BUILD_B = 2702;
541static const SpriteID SPR_BUS_STOP_NW_BUILD_B = 2703;
542static const SpriteID SPR_BUS_STOP_NE_BUILD_C = 2704;
543static const SpriteID SPR_BUS_STOP_SE_BUILD_C = 2705;
544static const SpriteID SPR_BUS_STOP_SW_BUILD_C = 2706;
545static const SpriteID SPR_BUS_STOP_NW_BUILD_C = 2707;
546static const SpriteID SPR_TRUCK_STOP_NE_GROUND = 2708;
547static const SpriteID SPR_TRUCK_STOP_SE_GROUND = 2709;
548static const SpriteID SPR_TRUCK_STOP_SW_GROUND = 2710;
549static const SpriteID SPR_TRUCK_STOP_NW_GROUND = 2711;
550static const SpriteID SPR_TRUCK_STOP_NE_BUILD_A = 2712;
551static const SpriteID SPR_TRUCK_STOP_SE_BUILD_A = 2713;
552static const SpriteID SPR_TRUCK_STOP_SW_BUILD_A = 2714;
553static const SpriteID SPR_TRUCK_STOP_NW_BUILD_A = 2715;
554static const SpriteID SPR_TRUCK_STOP_NE_BUILD_B = 2716;
555static const SpriteID SPR_TRUCK_STOP_SE_BUILD_B = 2717;
556static const SpriteID SPR_TRUCK_STOP_SW_BUILD_B = 2718;
557static const SpriteID SPR_TRUCK_STOP_NW_BUILD_B = 2719;
558static const SpriteID SPR_TRUCK_STOP_NE_BUILD_C = 2720;
559static const SpriteID SPR_TRUCK_STOP_SE_BUILD_C = 2721;
560static const SpriteID SPR_TRUCK_STOP_SW_BUILD_C = 2722;
561static const SpriteID SPR_TRUCK_STOP_NW_BUILD_C = 2723;
565static const SpriteID SPR_DOCK_SLOPE_NE = 2727;
566static const SpriteID SPR_DOCK_SLOPE_SE = 2728;
567static const SpriteID SPR_DOCK_SLOPE_SW = 2729;
568static const SpriteID SPR_DOCK_SLOPE_NW = 2730;
569static const SpriteID SPR_DOCK_FLAT_X = 2731;
570static const SpriteID SPR_DOCK_FLAT_Y = 2732;
571static const SpriteID SPR_BUOY = 4076;
574static const SpriteID SPR_ROAD_Y = 1332;
575static const SpriteID SPR_ROAD_X = 1333;
576static const SpriteID SPR_ROAD_SLOPE_START = 1343;
577static const SpriteID SPR_ROAD_Y_SNOW = 1351;
578static const SpriteID SPR_ROAD_X_SNOW = 1352;
580static const SpriteID SPR_ROAD_DEPOT = 1408;
582static const SpriteID SPR_EXCAVATION_X = 1414;
583static const SpriteID SPR_EXCAVATION_Y = 1415;
586static const SpriteID SPR_FLAT_BARE_LAND = 3924;
587static const SpriteID SPR_FLAT_1_THIRD_GRASS_TILE = 3943;
588static const SpriteID SPR_FLAT_2_THIRD_GRASS_TILE = 3962;
589static const SpriteID SPR_FLAT_GRASS_TILE = 3981;
590static const SpriteID SPR_FLAT_ROUGH_LAND = 4000;
591static const SpriteID SPR_FLAT_ROUGH_LAND_1 = 4019;
592static const SpriteID SPR_FLAT_ROUGH_LAND_2 = 4020;
593static const SpriteID SPR_FLAT_ROUGH_LAND_3 = 4021;
594static const SpriteID SPR_FLAT_ROUGH_LAND_4 = 4022;
595static const SpriteID SPR_FLAT_ROCKY_LAND_1 = 4023;
596static const SpriteID SPR_FLAT_ROCKY_LAND_2 = 4042;
597static const SpriteID SPR_FLAT_WATER_TILE = 4061;
598static const SpriteID SPR_FLAT_1_QUART_SNOW_DESERT_TILE = 4493;
599static const SpriteID SPR_FLAT_2_QUART_SNOW_DESERT_TILE = 4512;
600static const SpriteID SPR_FLAT_3_QUART_SNOW_DESERT_TILE = 4531;
601static const SpriteID SPR_FLAT_SNOW_DESERT_TILE = 4550;
604static const SpriteID SPR_HEDGE_BUSHES = 4090;
605static const SpriteID SPR_HEDGE_BUSHES_WITH_GATE = 4096;
606static const SpriteID SPR_HEDGE_FENCE = 4102;
607static const SpriteID SPR_HEDGE_BLOOMBUSH_YELLOW = 4108;
608static const SpriteID SPR_HEDGE_BLOOMBUSH_RED = 4114;
609static const SpriteID SPR_HEDGE_STONE = 4120;
612static const SpriteID SPR_FARMLAND_BARE = 4126;
613static const SpriteID SPR_FARMLAND_STATE_1 = 4145;
614static const SpriteID SPR_FARMLAND_STATE_2 = 4164;
615static const SpriteID SPR_FARMLAND_STATE_3 = 4183;
616static const SpriteID SPR_FARMLAND_STATE_4 = 4202;
617static const SpriteID SPR_FARMLAND_STATE_5 = 4221;
618static const SpriteID SPR_FARMLAND_STATE_6 = 4240;
619static const SpriteID SPR_FARMLAND_STATE_7 = 4259;
620static const SpriteID SPR_FARMLAND_HAYPACKS = 4278;
623static const SpriteID SPR_SHIP_DEPOT_SE_FRONT = 4070;
624static const SpriteID SPR_SHIP_DEPOT_SW_FRONT = 4071;
625static const SpriteID SPR_SHIP_DEPOT_NW = 4072;
626static const SpriteID SPR_SHIP_DEPOT_NE = 4073;
627static const SpriteID SPR_SHIP_DEPOT_SE_REAR = 4074;
628static const SpriteID SPR_SHIP_DEPOT_SW_REAR = 4075;
630static const SpriteID SPR_WATER_SLOPE_Y_UP = SPR_CANALS_BASE + 0;
631static const SpriteID SPR_WATER_SLOPE_X_DOWN = SPR_CANALS_BASE + 1;
632static const SpriteID SPR_WATER_SLOPE_X_UP = SPR_CANALS_BASE + 2;
633static const SpriteID SPR_WATER_SLOPE_Y_DOWN = SPR_CANALS_BASE + 3;
640static const SpriteID SPR_LOCK_BASE = SPR_CANALS_BASE + 4;
641static const SpriteID SPR_LOCK_Y_UP_CENTER_REAR = SPR_CANALS_BASE + 4;
642static const SpriteID SPR_LOCK_X_DOWN_CENTER_REAR = SPR_CANALS_BASE + 5;
643static const SpriteID SPR_LOCK_X_UP_CENTER_REAR = SPR_CANALS_BASE + 6;
644static const SpriteID SPR_LOCK_Y_DOWN_CENTER_REAR = SPR_CANALS_BASE + 7;
645static const SpriteID SPR_LOCK_Y_UP_CENTER_FRONT = SPR_CANALS_BASE + 8;
646static const SpriteID SPR_LOCK_X_DOWN_CENTER_FRONT = SPR_CANALS_BASE + 9;
647static const SpriteID SPR_LOCK_X_UP_CENTER_FRONT = SPR_CANALS_BASE + 10;
648static const SpriteID SPR_LOCK_Y_DOWN_CENTER_FRONT = SPR_CANALS_BASE + 11;
649static const SpriteID SPR_LOCK_Y_UP_BOTTOM_REAR = SPR_CANALS_BASE + 12;
650static const SpriteID SPR_LOCK_X_DOWN_BOTTOM_REAR = SPR_CANALS_BASE + 13;
651static const SpriteID SPR_LOCK_X_UP_BOTTOM_REAR = SPR_CANALS_BASE + 14;
652static const SpriteID SPR_LOCK_Y_DOWN_BOTTOM_REAR = SPR_CANALS_BASE + 15;
653static const SpriteID SPR_LOCK_Y_UP_BOTTOM_FRONT = SPR_CANALS_BASE + 16;
654static const SpriteID SPR_LOCK_X_DOWN_BOTTOM_FRONT = SPR_CANALS_BASE + 17;
655static const SpriteID SPR_LOCK_X_UP_BOTTOM_FRONT = SPR_CANALS_BASE + 18;
656static const SpriteID SPR_LOCK_Y_DOWN_BOTTOM_FRONT = SPR_CANALS_BASE + 19;
657static const SpriteID SPR_LOCK_Y_UP_TOP_REAR = SPR_CANALS_BASE + 20;
658static const SpriteID SPR_LOCK_X_DOWN_TOP_REAR = SPR_CANALS_BASE + 21;
659static const SpriteID SPR_LOCK_X_UP_TOP_REAR = SPR_CANALS_BASE + 22;
660static const SpriteID SPR_LOCK_Y_DOWN_TOP_REAR = SPR_CANALS_BASE + 23;
661static const SpriteID SPR_LOCK_Y_UP_TOP_FRONT = SPR_CANALS_BASE + 24;
662static const SpriteID SPR_LOCK_X_DOWN_TOP_FRONT = SPR_CANALS_BASE + 25;
663static const SpriteID SPR_LOCK_X_UP_TOP_FRONT = SPR_CANALS_BASE + 26;
664static const SpriteID SPR_LOCK_Y_DOWN_TOP_FRONT = SPR_CANALS_BASE + 27;
665static const SpriteID SPR_CANAL_DIKES_BASE = SPR_CANALS_BASE + 52;
668static const SpriteID SPR_TUNNEL_ENTRY_REAR_RAIL = 2365;
669static const SpriteID SPR_TUNNEL_ENTRY_REAR_MONO = 2373;
670static const SpriteID SPR_TUNNEL_ENTRY_REAR_MAGLEV = 2381;
671static const SpriteID SPR_TUNNEL_ENTRY_REAR_ROAD = 2389;
674static const SpriteID SPR_CROSSING_OFF_X_RAIL = 1370;
675static const SpriteID SPR_CROSSING_OFF_X_MONO = 1382;
676static const SpriteID SPR_CROSSING_OFF_X_MAGLEV = 1394;
682static const SpriteID SPR_BTWDN_RAIL_Y_REAR = 2545;
683static const SpriteID SPR_BTWDN_RAIL_X_REAR = 2546;
684static const SpriteID SPR_BTWDN_ROAD_Y_REAR = 2547;
685static const SpriteID SPR_BTWDN_ROAD_X_REAR = 2548;
686static const SpriteID SPR_BTWDN_Y_FRONT = 2549;
687static const SpriteID SPR_BTWDN_X_FRONT = 2550;
688static const SpriteID SPR_BTWDN_Y_PILLAR = 2551;
689static const SpriteID SPR_BTWDN_X_PILLAR = 2552;
690static const SpriteID SPR_BTWDN_MONO_Y_REAR = 4360;
691static const SpriteID SPR_BTWDN_MONO_X_REAR = 4361;
692static const SpriteID SPR_BTWDN_MGLV_Y_REAR = 4400;
693static const SpriteID SPR_BTWDN_MGLV_X_REAR = 4401;
695static const SpriteID SPR_BTWDN_ROAD_RAMP_Y_DOWN = 2529;
696static const SpriteID SPR_BTWDN_ROAD_RAMP_X_DOWN = 2530;
697static const SpriteID SPR_BTWDN_ROAD_RAMP_X_UP = 2531;
698static const SpriteID SPR_BTWDN_ROAD_RAMP_Y_UP = 2532;
699static const SpriteID SPR_BTWDN_ROAD_Y_SLOPE_UP = 2533;
700static const SpriteID SPR_BTWDN_ROAD_X_SLOPE_UP = 2534;
701static const SpriteID SPR_BTWDN_ROAD_Y_SLOPE_DOWN = 2535;
702static const SpriteID SPR_BTWDN_ROAD_X_SLOPE_DOWN = 2536;
703static const SpriteID SPR_BTWDN_RAIL_RAMP_Y_DOWN = 2537;
704static const SpriteID SPR_BTWDN_RAIL_RAMP_X_DOWN = 2538;
705static const SpriteID SPR_BTWDN_RAIL_RAMP_X_UP = 2539;
706static const SpriteID SPR_BTWDN_RAIL_RAMP_Y_UP = 2540;
707static const SpriteID SPR_BTWDN_RAIL_Y_SLOPE_UP = 2541;
708static const SpriteID SPR_BTWDN_RAIL_X_SLOPE_UP = 2542;
709static const SpriteID SPR_BTWDN_RAIL_Y_SLOPE_DOWN = 2543;
710static const SpriteID SPR_BTWDN_RAIL_X_SLOPE_DOWN = 2544;
711static const SpriteID SPR_BTWDN_MONO_RAMP_Y_DOWN = 4352;
712static const SpriteID SPR_BTWDN_MONO_RAMP_X_DOWN = 4353;
713static const SpriteID SPR_BTWDN_MONO_RAMP_X_UP = 4354;
714static const SpriteID SPR_BTWDN_MONO_RAMP_Y_UP = 4355;
715static const SpriteID SPR_BTWDN_MONO_Y_SLOPE_UP = 4356;
716static const SpriteID SPR_BTWDN_MONO_X_SLOPE_UP = 4357;
717static const SpriteID SPR_BTWDN_MONO_Y_SLOPE_DOWN = 4358;
718static const SpriteID SPR_BTWDN_MONO_X_SLOPE_DOWN = 4359;
719static const SpriteID SPR_BTWDN_MGLV_RAMP_Y_DOWN = 4392;
720static const SpriteID SPR_BTWDN_MGLV_RAMP_X_DOWN = 4393;
721static const SpriteID SPR_BTWDN_MGLV_RAMP_X_UP = 4394;
722static const SpriteID SPR_BTWDN_MGLV_RAMP_Y_UP = 4395;
723static const SpriteID SPR_BTWDN_MGLV_Y_SLOPE_UP = 4396;
724static const SpriteID SPR_BTWDN_MGLV_X_SLOPE_UP = 4397;
725static const SpriteID SPR_BTWDN_MGLV_Y_SLOPE_DOWN = 4398;
726static const SpriteID SPR_BTWDN_MGLV_X_SLOPE_DOWN = 4399;
731static const SpriteID SPR_BTSGA_RAIL_X_REAR = 2499;
732static const SpriteID SPR_BTSGA_RAIL_Y_REAR = 2500;
733static const SpriteID SPR_BTSGA_ROAD_X_REAR = 2501;
734static const SpriteID SPR_BTSGA_ROAD_Y_REAR = 2502;
735static const SpriteID SPR_BTSGA_X_FRONT = 2503;
736static const SpriteID SPR_BTSGA_Y_FRONT = 2504;
737static const SpriteID SPR_BTSGA_X_PILLAR = 2505;
738static const SpriteID SPR_BTSGA_Y_PILLAR = 2506;
739static const SpriteID SPR_BTSGA_MONO_X_REAR = 4324;
740static const SpriteID SPR_BTSGA_MONO_Y_REAR = 4325;
741static const SpriteID SPR_BTSGA_MGLV_X_REAR = 4364;
742static const SpriteID SPR_BTSGA_MGLV_Y_REAR = 4365;
758static const SpriteID SPR_BTSUS_ROAD_Y_REAR_TILE_A = 2453;
759static const SpriteID SPR_BTSUS_ROAD_Y_REAR_TILE_B = 2454;
760static const SpriteID SPR_BTSUS_Y_FRONT_TILE_A = 2455;
761static const SpriteID SPR_BTSUS_Y_FRONT_TILE_B = 2456;
762static const SpriteID SPR_BTSUS_ROAD_Y_REAR_TILE_D = 2457;
763static const SpriteID SPR_BTSUS_ROAD_Y_REAR_TILE_C = 2458;
764static const SpriteID SPR_BTSUS_Y_FRONT_TILE_D = 2459;
765static const SpriteID SPR_BTSUS_Y_FRONT_TILE_C = 2460;
766static const SpriteID SPR_BTSUS_ROAD_X_REAR_TILE_A = 2461;
767static const SpriteID SPR_BTSUS_ROAD_X_REAR_TILE_B = 2462;
768static const SpriteID SPR_BTSUS_X_FRONT_TILE_A = 2463;
769static const SpriteID SPR_BTSUS_X_FRONT_TILE_B = 2464;
770static const SpriteID SPR_BTSUS_ROAD_X_REAR_TILE_D = 2465;
771static const SpriteID SPR_BTSUS_ROAD_X_REAR_TILE_C = 2466;
772static const SpriteID SPR_BTSUS_X_FRONT_TILE_D = 2467;
773static const SpriteID SPR_BTSUS_X_FRONT_TILE_C = 2468;
774static const SpriteID SPR_BTSUS_RAIL_Y_REAR_TILE_A = 2469;
775static const SpriteID SPR_BTSUS_RAIL_Y_REAR_TILE_B = 2470;
776static const SpriteID SPR_BTSUS_RAIL_Y_REAR_TILE_D = 2471;
777static const SpriteID SPR_BTSUS_RAIL_Y_REAR_TILE_C = 2472;
778static const SpriteID SPR_BTSUS_RAIL_X_REAR_TILE_A = 2473;
779static const SpriteID SPR_BTSUS_RAIL_X_REAR_TILE_B = 2474;
780static const SpriteID SPR_BTSUS_RAIL_X_REAR_TILE_D = 2475;
781static const SpriteID SPR_BTSUS_RAIL_X_REAR_TILE_C = 2476;
782static const SpriteID SPR_BTSUS_Y_PILLAR_TILE_A = 2477;
783static const SpriteID SPR_BTSUS_Y_PILLAR_TILE_B = 2478;
784static const SpriteID SPR_BTSUS_Y_PILLAR_TILE_D = 2479;
785static const SpriteID SPR_BTSUS_Y_PILLAR_TILE_C = 2480;
786static const SpriteID SPR_BTSUS_X_PILLAR_TILE_A = 2481;
787static const SpriteID SPR_BTSUS_X_PILLAR_TILE_B = 2482;
788static const SpriteID SPR_BTSUS_X_PILLAR_TILE_D = 2483;
789static const SpriteID SPR_BTSUS_X_PILLAR_TILE_C = 2484;
790static const SpriteID SPR_BTSUS_RAIL_Y_REAR_TILE_E = 2485;
791static const SpriteID SPR_BTSUS_RAIL_X_REAR_TILE_E = 2486;
792static const SpriteID SPR_BTSUS_ROAD_Y_REAR_TILE_E = 2487;
793static const SpriteID SPR_BTSUS_ROAD_X_REAR_TILE_E = 2488;
794static const SpriteID SPR_BTSUS_Y_FRONT_TILE_E = 2489;
795static const SpriteID SPR_BTSUS_X_FRONT_TILE_E = 2490;
796static const SpriteID SPR_BTSUS_Y_PILLAR_TILE_E = 2491;
797static const SpriteID SPR_BTSUS_X_PILLAR_TILE_E = 2492;
798static const SpriteID SPR_BTSUS_RAIL_X_REAR_TILE_F = 2493;
799static const SpriteID SPR_BTSUS_RAIL_Y_REAR_TILE_F = 2494;
800static const SpriteID SPR_BTSUS_ROAD_X_REAR_TILE_F = 2495;
801static const SpriteID SPR_BTSUS_ROAD_Y_REAR_TILE_F = 2496;
802static const SpriteID SPR_BTSUS_X_FRONT = 2497;
803static const SpriteID SPR_BTSUS_Y_FRONT = 2498;
804static const SpriteID SPR_BTSUS_MONO_Y_REAR_TILE_A = 4334;
805static const SpriteID SPR_BTSUS_MONO_Y_REAR_TILE_B = 4335;
806static const SpriteID SPR_BTSUS_MONO_Y_REAR_TILE_D = 4336;
807static const SpriteID SPR_BTSUS_MONO_Y_REAR_TILE_C = 4337;
808static const SpriteID SPR_BTSUS_MONO_X_REAR_TILE_A = 4338;
809static const SpriteID SPR_BTSUS_MONO_X_REAR_TILE_B = 4339;
810static const SpriteID SPR_BTSUS_MONO_X_REAR_TILE_D = 4340;
811static const SpriteID SPR_BTSUS_MONO_X_REAR_TILE_C = 4341;
812static const SpriteID SPR_BTSUS_MONO_Y_REAR_TILE_E = 4342;
813static const SpriteID SPR_BTSUS_MONO_X_REAR_TILE_E = 4343;
814static const SpriteID SPR_BTSUS_MONO_X_REAR_TILE_F = 4344;
815static const SpriteID SPR_BTSUS_MONO_Y_REAR_TILE_F = 4345;
816static const SpriteID SPR_BTSUS_MGLV_Y_REAR_TILE_A = 4374;
817static const SpriteID SPR_BTSUS_MGLV_Y_REAR_TILE_B = 4375;
818static const SpriteID SPR_BTSUS_MGLV_Y_REAR_TILE_D = 4376;
819static const SpriteID SPR_BTSUS_MGLV_Y_REAR_TILE_C = 4377;
820static const SpriteID SPR_BTSUS_MGLV_X_REAR_TILE_A = 4378;
821static const SpriteID SPR_BTSUS_MGLV_X_REAR_TILE_B = 4379;
822static const SpriteID SPR_BTSUS_MGLV_X_REAR_TILE_D = 4380;
823static const SpriteID SPR_BTSUS_MGLV_X_REAR_TILE_C = 4381;
824static const SpriteID SPR_BTSUS_MGLV_Y_REAR_TILE_E = 4382;
825static const SpriteID SPR_BTSUS_MGLV_X_REAR_TILE_E = 4383;
826static const SpriteID SPR_BTSUS_MGLV_X_REAR_TILE_F = 4384;
827static const SpriteID SPR_BTSUS_MGLV_Y_REAR_TILE_F = 4385;
832static const SpriteID SPR_BTCAN_RAIL_X_BEG = 2507;
833static const SpriteID SPR_BTCAN_RAIL_X_MID = 2508;
834static const SpriteID SPR_BTCAN_RAIL_X_END = 2509;
835static const SpriteID SPR_BTCAN_RAIL_Y_END = 2510;
836static const SpriteID SPR_BTCAN_RAIL_Y_MID = 2511;
837static const SpriteID SPR_BTCAN_RAIL_Y_BEG = 2512;
838static const SpriteID SPR_BTCAN_ROAD_X_BEG = 2513;
839static const SpriteID SPR_BTCAN_ROAD_X_MID = 2514;
840static const SpriteID SPR_BTCAN_ROAD_X_END = 2515;
841static const SpriteID SPR_BTCAN_ROAD_Y_END = 2516;
842static const SpriteID SPR_BTCAN_ROAD_Y_MID = 2517;
843static const SpriteID SPR_BTCAN_ROAD_Y_BEG = 2518;
844static const SpriteID SPR_BTCAN_X_FRONT_BEG = 2519;
845static const SpriteID SPR_BTCAN_X_FRONT_MID = 2520;
846static const SpriteID SPR_BTCAN_X_FRONT_END = 2521;
847static const SpriteID SPR_BTCAN_Y_FRONT_END = 2522;
848static const SpriteID SPR_BTCAN_Y_FRONT_MID = 2523;
849static const SpriteID SPR_BTCAN_Y_FRONT_BEG = 2524;
850static const SpriteID SPR_BTCAN_X_PILLAR_BEG = 2525;
851static const SpriteID SPR_BTCAN_X_PILLAR_MID = 2526;
852static const SpriteID SPR_BTCAN_Y_PILLAR_MID = 2527;
853static const SpriteID SPR_BTCAN_Y_PILLAR_BEG = 2528;
854static const SpriteID SPR_BTCAN_MONO_X_BEG = 4346;
855static const SpriteID SPR_BTCAN_MONO_X_MID = 4347;
856static const SpriteID SPR_BTCAN_MONO_X_END = 4348;
857static const SpriteID SPR_BTCAN_MONO_Y_END = 4349;
858static const SpriteID SPR_BTCAN_MONO_Y_MID = 4350;
859static const SpriteID SPR_BTCAN_MONO_Y_BEG = 4351;
860static const SpriteID SPR_BTCAN_MGLV_X_BEG = 4386;
861static const SpriteID SPR_BTCAN_MGLV_X_MID = 4387;
862static const SpriteID SPR_BTCAN_MGLV_X_END = 4388;
863static const SpriteID SPR_BTCAN_MGLV_Y_END = 4389;
864static const SpriteID SPR_BTCAN_MGLV_Y_MID = 4390;
865static const SpriteID SPR_BTCAN_MGLV_Y_BEG = 4391;
868static const SpriteID SPR_BTCON_RAIL_X = 2493;
869static const SpriteID SPR_BTCON_RAIL_Y = 2494;
870static const SpriteID SPR_BTCON_ROAD_X = 2495;
871static const SpriteID SPR_BTCON_ROAD_Y = 2496;
872static const SpriteID SPR_BTCON_X_FRONT = 2497;
873static const SpriteID SPR_BTCON_Y_FRONT = 2498;
874static const SpriteID SPR_BTCON_X_PILLAR = 2505;
875static const SpriteID SPR_BTCON_Y_PILLAR = 2506;
876static const SpriteID SPR_BTCON_MONO_X = 4344;
877static const SpriteID SPR_BTCON_MONO_Y = 4345;
878static const SpriteID SPR_BTCON_MGLV_X = 4384;
879static const SpriteID SPR_BTCON_MGLV_Y = 4385;
882static const SpriteID SPR_BTGIR_RAIL_X = 2553;
883static const SpriteID SPR_BTGIR_RAIL_Y = 2554;
884static const SpriteID SPR_BTGIR_ROAD_X = 2555;
885static const SpriteID SPR_BTGIR_ROAD_Y = 2556;
886static const SpriteID SPR_BTGIR_X_FRONT = 2557;
887static const SpriteID SPR_BTGIR_Y_FRONT = 2558;
888static const SpriteID SPR_BTGIR_X_PILLAR = 2505;
889static const SpriteID SPR_BTGIR_Y_PILLAR = 2506;
890static const SpriteID SPR_BTGIR_MONO_X = 4362;
891static const SpriteID SPR_BTGIR_MONO_Y = 4363;
892static const SpriteID SPR_BTGIR_MGLV_X = 4402;
893static const SpriteID SPR_BTGIR_MGLV_Y = 4403;
901static const SpriteID SPR_BTTUB_X_FRONT_BEG = 2559;
902static const SpriteID SPR_BTTUB_X_FRONT_MID = 2560;
903static const SpriteID SPR_BTTUB_X_FRONT_END = 2561;
904static const SpriteID SPR_BTTUB_Y_FRONT_END = 2562;
905static const SpriteID SPR_BTTUB_Y_FRONT_MID = 2563;
906static const SpriteID SPR_BTTUB_Y_FRONT_BEG = 2564;
907static const SpriteID SPR_BTTUB_X_PILLAR_BEG = 2565;
908static const SpriteID SPR_BTTUB_X_PILLAR_MID = 2566;
909static const SpriteID SPR_BTTUB_Y_PILLAR_MID = 2567;
910static const SpriteID SPR_BTTUB_Y_PILLAR_BEG = 2568;
911static const SpriteID SPR_BTTUB_X_RAIL_REAR_BEG = 2569;
912static const SpriteID SPR_BTTUB_X_RAIL_REAR_MID = 2570;
913static const SpriteID SPR_BTTUB_X_RAIL_REAR_END = 2571;
914static const SpriteID SPR_BTTUB_Y_RAIL_REAR_BEG = 2572;
915static const SpriteID SPR_BTTUB_Y_RAIL_REAR_MID = 2573;
916static const SpriteID SPR_BTTUB_Y_RAIL_REAR_END = 2574;
917static const SpriteID SPR_BTTUB_X_ROAD_REAR_BEG = 2575;
918static const SpriteID SPR_BTTUB_X_ROAD_REAR_MID = 2576;
919static const SpriteID SPR_BTTUB_X_ROAD_REAR_END = 2577;
920static const SpriteID SPR_BTTUB_Y_ROAD_REAR_BEG = 2578;
921static const SpriteID SPR_BTTUB_Y_ROAD_REAR_MID = 2579;
922static const SpriteID SPR_BTTUB_Y_ROAD_REAR_END = 2580;
923static const SpriteID SPR_BTTUB_X_MONO_REAR_BEG = 2581;
924static const SpriteID SPR_BTTUB_X_MONO_REAR_MID = 2582;
925static const SpriteID SPR_BTTUB_X_MONO_REAR_END = 2583;
926static const SpriteID SPR_BTTUB_Y_MONO_REAR_BEG = 2584;
927static const SpriteID SPR_BTTUB_Y_MONO_REAR_MID = 2585;
928static const SpriteID SPR_BTTUB_Y_MONO_REAR_END = 2586;
929static const SpriteID SPR_BTTUB_X_MGLV_REAR_BEG = 2587;
930static const SpriteID SPR_BTTUB_X_MGLV_REAR_MID = 2588;
931static const SpriteID SPR_BTTUB_X_MGLV_REAR_END = 2589;
932static const SpriteID SPR_BTTUB_Y_MGLV_REAR_BEG = 2590;
933static const SpriteID SPR_BTTUB_Y_MGLV_REAR_MID = 2591;
934static const SpriteID SPR_BTTUB_Y_MGLV_REAR_END = 2592;
938static const SpriteID SPR_BTGEN_RAIL_X_SLOPE_DOWN = 2437;
939static const SpriteID SPR_BTGEN_RAIL_X_SLOPE_UP = 2438;
940static const SpriteID SPR_BTGEN_RAIL_Y_SLOPE_DOWN = 2439;
941static const SpriteID SPR_BTGEN_RAIL_Y_SLOPE_UP = 2440;
942static const SpriteID SPR_BTGEN_RAIL_RAMP_X_UP = 2441;
943static const SpriteID SPR_BTGEN_RAIL_RAMP_X_DOWN = 2442;
944static const SpriteID SPR_BTGEN_RAIL_RAMP_Y_UP = 2443;
945static const SpriteID SPR_BTGEN_RAIL_RAMP_Y_DOWN = 2444;
946static const SpriteID SPR_BTGEN_ROAD_X_SLOPE_DOWN = 2445;
947static const SpriteID SPR_BTGEN_ROAD_X_SLOPE_UP = 2446;
948static const SpriteID SPR_BTGEN_ROAD_Y_SLOPE_DOWN = 2447;
949static const SpriteID SPR_BTGEN_ROAD_Y_SLOPE_UP = 2448;
950static const SpriteID SPR_BTGEN_ROAD_RAMP_X_UP = 2449;
951static const SpriteID SPR_BTGEN_ROAD_RAMP_X_DOWN = 2450;
952static const SpriteID SPR_BTGEN_ROAD_RAMP_Y_UP = 2451;
953static const SpriteID SPR_BTGEN_ROAD_RAMP_Y_DOWN = 2452;
954static const SpriteID SPR_BTGEN_MONO_X_SLOPE_DOWN = 4326;
955static const SpriteID SPR_BTGEN_MONO_X_SLOPE_UP = 4327;
956static const SpriteID SPR_BTGEN_MONO_Y_SLOPE_DOWN = 4328;
957static const SpriteID SPR_BTGEN_MONO_Y_SLOPE_UP = 4329;
958static const SpriteID SPR_BTGEN_MONO_RAMP_X_UP = 4330;
959static const SpriteID SPR_BTGEN_MONO_RAMP_X_DOWN = 4331;
960static const SpriteID SPR_BTGEN_MONO_RAMP_Y_UP = 4332;
961static const SpriteID SPR_BTGEN_MONO_RAMP_Y_DOWN = 4333;
962static const SpriteID SPR_BTGEN_MGLV_X_SLOPE_DOWN = 4366;
963static const SpriteID SPR_BTGEN_MGLV_X_SLOPE_UP = 4367;
964static const SpriteID SPR_BTGEN_MGLV_Y_SLOPE_DOWN = 4368;
965static const SpriteID SPR_BTGEN_MGLV_Y_SLOPE_UP = 4369;
966static const SpriteID SPR_BTGEN_MGLV_RAMP_X_UP = 4370;
967static const SpriteID SPR_BTGEN_MGLV_RAMP_X_DOWN = 4371;
968static const SpriteID SPR_BTGEN_MGLV_RAMP_Y_UP = 4372;
969static const SpriteID SPR_BTGEN_MGLV_RAMP_Y_DOWN = 4373;
972static const SpriteID SPR_CENTRE_VIEW_VEHICLE = 683;
973static const SpriteID SPR_SEND_TRAIN_TODEPOT = 685;
974static const SpriteID SPR_SEND_ROADVEH_TODEPOT = 686;
975static const SpriteID SPR_SEND_AIRCRAFT_TODEPOT = 687;
976static const SpriteID SPR_SEND_SHIP_TODEPOT = 688;
978static const SpriteID SPR_IGNORE_SIGNALS = 689;
979static const SpriteID SPR_SHOW_ORDERS = 690;
980static const SpriteID SPR_SHOW_VEHICLE_DETAILS = 691;
981static const SpriteID SPR_REFIT_VEHICLE = 692;
982static const SpriteID SPR_FORCE_VEHICLE_TURN = 715;
985static const SpriteID SPR_FLAG_VEH_STOPPED = 3090;
986static const SpriteID SPR_FLAG_VEH_RUNNING = 3091;
988static const SpriteID SPR_VEH_BUS_SW_VIEW = 3097;
989static const SpriteID SPR_VEH_BUS_SIDE_VIEW = 3098;
992static const SpriteID SPR_ROTOR_STOPPED = 3901;
993static const SpriteID SPR_ROTOR_MOVING_1 = 3902;
994static const SpriteID SPR_ROTOR_MOVING_3 = 3904;
997static const SpriteID SPR_LIFT = 1443;
1002static const SpriteID SPR_CNST1_TALLOFFICE_00 = 1421;
1003static const SpriteID SPR_CNST2_TALLOFFICE_00 = 1422;
1004static const SpriteID SPR_CNST3_TALLOFFICE_00 = 1423;
1005static const SpriteID SPR_GROUND_TALLOFFICE_00 = 1424;
1006static const SpriteID SPR_BUILD_TALLOFFICE_00 = 1425;
1007static const SpriteID SPR_CNST1_OFFICE_01 = 1426;
1008static const SpriteID SPR_CNST2_OFFICE_01 = 1427;
1009static const SpriteID SPR_BUILD_OFFICE_01 = 1428;
1010static const SpriteID SPR_GROUND_OFFICE_01 = 1429;
1011static const SpriteID SPR_CNST1_SMLBLCKFLATS_02 = 1430;
1012static const SpriteID SPR_CNST2_SMLBLCKFLATS_02 = 1431;
1013static const SpriteID SPR_BUILD_SMLBLCKFLATS_02 = 1432;
1014static const SpriteID SPR_GROUND_SMLBLCKFLATS_02 = 1433;
1015static const SpriteID SPR_CNST1_TEMPCHURCH = 1434;
1016static const SpriteID SPR_CNST2_TEMPCHURCH = 1435;
1017static const SpriteID SPR_BUILD_TEMPCHURCH = 1436;
1018static const SpriteID SPR_GROUND_TEMPCHURCH = 1437;
1019static const SpriteID SPR_CNST1_LARGEOFFICE_04 = 1440;
1020static const SpriteID SPR_CNST2_LARGEOFFICE_04 = 1441;
1021static const SpriteID SPR_BUILD_LARGEOFFICE_04 = 1442;
1022static const SpriteID SPR_BUILD_LARGEOFFICE_04_SNOW = 4569;
1024static const SpriteID SPR_CNST1_TOWNHOUSE_06_V1 = 1444;
1025static const SpriteID SPR_CNST2_TOWNHOUSE_06_V1 = 1445;
1026static const SpriteID SPR_BUILD_TOWNHOUSE_06_V1 = 1446;
1027static const SpriteID SPR_GRND_TOWNHOUSE_06_V1 = 1447;
1028static const SpriteID SPR_GRND_STADIUM_N = 1479;
1029static const SpriteID SPR_GRND_STADIUM_E = 1480;
1030static const SpriteID SPR_GRND_STADIUM_W = 1481;
1031static const SpriteID SPR_GRND_STADIUM_S = 1482;
1032static const SpriteID SPR_CNST1_TOWNHOUSE_06_V2 = 1501;
1033static const SpriteID SPR_CNST1_TOWNHOUSE_06_V2_P = 1502;
1034static const SpriteID SPR_CNST2_TOWNHOUSE_06_V2_G = 1503;
1035static const SpriteID SPR_CNST2_TOWNHOUSE_06_V2 = 1504;
1036static const SpriteID SPR_GRND_TOWNHOUSE_06_V2 = 1505;
1037static const SpriteID SPR_BUILD_TOWNHOUSE_06_V2 = 1506;
1038static const SpriteID SPR_CNST1_HOTEL_07_NW = 1448;
1039static const SpriteID SPR_CNST2_HOTEL_07_NW = 1449;
1040static const SpriteID SPR_BUILD_HOTEL_07_NW = 1450;
1041static const SpriteID SPR_CNST1_HOTEL_07_SE = 1451;
1042static const SpriteID SPR_CNST2_HOTEL_07_SE = 1452;
1043static const SpriteID SPR_BUILD_HOTEL_07_SE = 1453;
1044static const SpriteID SPR_STATUE_HORSERIDER_09 = 1454;
1045static const SpriteID SPR_FOUNTAIN_0A = 1455;
1046static const SpriteID SPR_PARKSTATUE_0B = 1456;
1047static const SpriteID SPR_PARKALLEY_0C = 1457;
1048static const SpriteID SPR_CNST1_OFFICE_0D = 1458;
1049static const SpriteID SPR_CNST2_OFFICE_0D = 1459;
1050static const SpriteID SPR_BUILD_OFFICE_0D = 1460;
1051static const SpriteID SPR_CNST1_SHOPOFFICE_0E = 1461;
1052static const SpriteID SPR_CNST2_SHOPOFFICE_0E = 1462;
1053static const SpriteID SPR_BUILD_SHOPOFFICE_0E = 1463;
1054static const SpriteID SPR_CNST1_SHOPOFFICE_0F = 1464;
1055static const SpriteID SPR_CNST2_SHOPOFFICE_0F = 1465;
1056static const SpriteID SPR_BUILD_SHOPOFFICE_0F = 1466;
1057static const SpriteID SPR_GRND_HOUSE_TOY1 = 4675;
1058static const SpriteID SPR_GRND_HOUSE_TOY2 = 4676;
1061static const SpriteID SPR_BLIMP = 3905;
1062static const SpriteID SPR_BLIMP_CRASHING = 3906;
1063static const SpriteID SPR_BLIMP_CRASHED = 3907;
1064static const SpriteID SPR_UFO_SMALL_SCOUT = 3908;
1065static const SpriteID SPR_UFO_SMALL_SCOUT_DARKER = 3909;
1066static const SpriteID SPR_SUB_SMALL_NE = 3910;
1067static const SpriteID SPR_SUB_SMALL_SE = 3911;
1068static const SpriteID SPR_SUB_SMALL_SW = 3912;
1069static const SpriteID SPR_SUB_SMALL_NW = 3913;
1070static const SpriteID SPR_SUB_LARGE_NE = 3914;
1071static const SpriteID SPR_SUB_LARGE_SE = 3915;
1072static const SpriteID SPR_SUB_LARGE_SW = 3916;
1073static const SpriteID SPR_SUB_LARGE_NW = 3917;
1074static const SpriteID SPR_F_15 = 3918;
1075static const SpriteID SPR_F_15_FIRING = 3919;
1076static const SpriteID SPR_UFO_HARVESTER = 3920;
1077static const SpriteID SPR_XCOM_SKYRANGER = 3921;
1078static const SpriteID SPR_AH_64A = 3922;
1079static const SpriteID SPR_AH_64A_FIRING = 3923;
1082static const SpriteID SPR_IMG_TERRAFORM_UP = 694;
1083static const SpriteID SPR_IMG_TERRAFORM_DOWN = 695;
1084static const SpriteID SPR_IMG_DYNAMITE = 703;
1085static const SpriteID SPR_IMG_ROCKS = 4084;
1086static const SpriteID SPR_IMG_DESERT = 4085;
1087static const SpriteID SPR_IMG_TRANSMITTER = 4086;
1091static const SpriteID SPR_IMG_BUILD_LOCK = SPR_CANALS_BASE + 64;
1092static const SpriteID SPR_IMG_PAUSE = 726;
1094static const SpriteID SPR_IMG_SETTINGS = 751;
1095static const SpriteID SPR_IMG_SAVE = 724;
1096static const SpriteID SPR_IMG_SMALLMAP = 708;
1097static const SpriteID SPR_IMG_TOWN = 4077;
1098static const SpriteID SPR_IMG_SUBSIDIES = 679;
1099static const SpriteID SPR_IMG_COMPANY_LIST = 1299;
1100static const SpriteID SPR_IMG_COMPANY_FINANCE = 737;
1101static const SpriteID SPR_IMG_COMPANY_GENERAL = 743;
1102static const SpriteID SPR_IMG_GRAPHS = 745;
1103static const SpriteID SPR_IMG_COMPANY_LEAGUE = 684;
1104static const SpriteID SPR_IMG_SHOW_COUNTOURS = 738;
1105static const SpriteID SPR_IMG_SHOW_VEHICLES = 739;
1106static const SpriteID SPR_IMG_SHOW_ROUTES = 740;
1107static const SpriteID SPR_IMG_INDUSTRY = 741;
1108static const SpriteID SPR_IMG_PLANTTREES = 742;
1109static const SpriteID SPR_IMG_TRAINLIST = 731;
1110static const SpriteID SPR_IMG_TRUCKLIST = 732;
1111static const SpriteID SPR_IMG_SHIPLIST = 733;
1112static const SpriteID SPR_IMG_AIRPLANESLIST = 734;
1113static const SpriteID SPR_IMG_ZOOMIN = 735;
1114static const SpriteID SPR_IMG_ZOOMOUT = 736;
1115static const SpriteID SPR_IMG_BUILDRAIL = 727;
1116static const SpriteID SPR_IMG_BUILDROAD = 728;
1118static const SpriteID SPR_IMG_BUILDWATER = 729;
1119static const SpriteID SPR_IMG_BUILDAIR = 730;
1120static const SpriteID SPR_IMG_LANDSCAPING = 4083;
1121static const SpriteID SPR_IMG_MUSIC = 713;
1122static const SpriteID SPR_IMG_MESSAGES = 680;
1123static const SpriteID SPR_IMG_QUERY = 723;
1124static const SpriteID SPR_IMG_SIGN = 4082;
1125static const SpriteID SPR_IMG_BUY_LAND = 4791;
1129static const SpriteID SPR_OTTD_O = 4842;
1130static const SpriteID SPR_OTTD_P = 4841;
1133static const SpriteID SPR_OTTD_N = 4839;
1134static const SpriteID SPR_OTTD_T = 4836;
1138static const SpriteID SPR_MAPGEN_BEGIN = 4845;
1139static const SpriteID SPR_MAPGEN_END = 4882;
1141static const SpriteID SPR_HIGHSCORE_CHART_BEGIN = 4804;
1142static const SpriteID SPR_TYCOON_IMG1_BEGIN = 4814;
1143static const SpriteID SPR_TYCOON_IMG2_BEGIN = 4824;
1146static const SpriteID SPR_IT_SUGAR_MINE_SIEVE = 4775;
1147static const SpriteID SPR_IT_SUGAR_MINE_CLOUDS = 4784;
1148static const SpriteID SPR_IT_SUGAR_MINE_PILE = 4780;
1149static const SpriteID SPR_IT_TOFFEE_QUARRY_TOFFEE = 4766;
1150static const SpriteID SPR_IT_TOFFEE_QUARRY_SHOVEL = 4767;
1151static const SpriteID SPR_IT_BUBBLE_GENERATOR_SPRING = 4746;
1152static const SpriteID SPR_IT_BUBBLE_GENERATOR_BUBBLE = 4747;
1153static const SpriteID SPR_IT_TOY_FACTORY_STAMP_HOLDER = 4717;
1154static const SpriteID SPR_IT_TOY_FACTORY_STAMP = 4718;
1155static const SpriteID SPR_IT_TOY_FACTORY_CLAY = 4719;
1156static const SpriteID SPR_IT_TOY_FACTORY_ROBOT = 4720;
1157static const SpriteID SPR_IT_POWER_PLANT_TRANSFORMERS = 2054;
1160static const SpriteID SPR_CARGO_PASSENGERS = 4297;
1161static const SpriteID SPR_CARGO_COAL = 4298;
1162static const SpriteID SPR_CARGO_MAIL = 4299;
1163static const SpriteID SPR_CARGO_OIL = 4300;
1164static const SpriteID SPR_CARGO_LIVESTOCK = 4301;
1165static const SpriteID SPR_CARGO_GOODS = 4302;
1166static const SpriteID SPR_CARGO_GRAIN = 4303;
1167static const SpriteID SPR_CARGO_WHEAT = 4303;
1168static const SpriteID SPR_CARGO_MAIZE = 4303;
1169static const SpriteID SPR_CARGO_WOOD = 4304;
1170static const SpriteID SPR_CARGO_IRON_ORE = 4305;
1171static const SpriteID SPR_CARGO_STEEL = 4306;
1172static const SpriteID SPR_CARGO_VALUABLES = 4307;
1173static const SpriteID SPR_CARGO_GOLD = 4307;
1174static const SpriteID SPR_CARGO_FRUIT = 4308;
1175static const SpriteID SPR_CARGO_COPPER_ORE = 4309;
1176static const SpriteID SPR_CARGO_WATER = 4310;
1177static const SpriteID SPR_CARGO_COLA = 4310;
1178static const SpriteID SPR_CARGO_DIAMONDS = 4311;
1179static const SpriteID SPR_CARGO_FOOD = 4312;
1180static const SpriteID SPR_CARGO_PAPER = 4313;
1181static const SpriteID SPR_CARGO_RUBBER = 4314;
1182static const SpriteID SPR_CARGO_SWEETS = 4315;
1183static const SpriteID SPR_CARGO_SUGAR = 4316;
1184static const SpriteID SPR_CARGO_TOYS = 4317;
1185static const SpriteID SPR_CARGO_CANDYFLOSS = 4318;
1186static const SpriteID SPR_CARGO_FIZZY_DRINKS = 4319;
1187static const SpriteID SPR_CARGO_TOFFEE = 4320;
1188static const SpriteID SPR_CARGO_BUBBLES = 4321;
1189static const SpriteID SPR_CARGO_PLASTIC = 4322;
1190static const SpriteID SPR_CARGO_BATTERIES = 4323;
1191static const SpriteID SPR_CARGO_NOTHING = SPR_ASCII_SPACE;
1194static const SpriteID SPR_BULLDOZER_NE = 1416;
1195static const SpriteID SPR_BULLDOZER_SE = 1417;
1196static const SpriteID SPR_BULLDOZER_SW = 1418;
1197static const SpriteID SPR_BULLDOZER_NW = 1419;
1199static const SpriteID SPR_SMOKE_0 = 2040;
1200static const SpriteID SPR_SMOKE_1 = 2041;
1201static const SpriteID SPR_SMOKE_2 = 2042;
1202static const SpriteID SPR_SMOKE_3 = 2043;
1203static const SpriteID SPR_SMOKE_4 = 2044;
1205static const SpriteID SPR_DIESEL_SMOKE_0 = 3073;
1206static const SpriteID SPR_DIESEL_SMOKE_1 = 3074;
1207static const SpriteID SPR_DIESEL_SMOKE_2 = 3075;
1208static const SpriteID SPR_DIESEL_SMOKE_3 = 3076;
1209static const SpriteID SPR_DIESEL_SMOKE_4 = 3077;
1210static const SpriteID SPR_DIESEL_SMOKE_5 = 3078;
1212static const SpriteID SPR_STEAM_SMOKE_0 = 3079;
1213static const SpriteID SPR_STEAM_SMOKE_1 = 3080;
1214static const SpriteID SPR_STEAM_SMOKE_2 = 3081;
1215static const SpriteID SPR_STEAM_SMOKE_3 = 3082;
1216static const SpriteID SPR_STEAM_SMOKE_4 = 3083;
1218static const SpriteID SPR_ELECTRIC_SPARK_0 = 3084;
1219static const SpriteID SPR_ELECTRIC_SPARK_1 = 3085;
1220static const SpriteID SPR_ELECTRIC_SPARK_2 = 3086;
1221static const SpriteID SPR_ELECTRIC_SPARK_3 = 3087;
1222static const SpriteID SPR_ELECTRIC_SPARK_4 = 3088;
1223static const SpriteID SPR_ELECTRIC_SPARK_5 = 3089;
1225static const SpriteID SPR_CHIMNEY_SMOKE_0 = 3701;
1226static const SpriteID SPR_CHIMNEY_SMOKE_1 = 3702;
1227static const SpriteID SPR_CHIMNEY_SMOKE_2 = 3703;
1228static const SpriteID SPR_CHIMNEY_SMOKE_3 = 3704;
1229static const SpriteID SPR_CHIMNEY_SMOKE_4 = 3705;
1230static const SpriteID SPR_CHIMNEY_SMOKE_5 = 3706;
1231static const SpriteID SPR_CHIMNEY_SMOKE_6 = 3707;
1232static const SpriteID SPR_CHIMNEY_SMOKE_7 = 3708;
1234static const SpriteID SPR_EXPLOSION_LARGE_0 = 3709;
1235static const SpriteID SPR_EXPLOSION_LARGE_1 = 3710;
1236static const SpriteID SPR_EXPLOSION_LARGE_2 = 3711;
1237static const SpriteID SPR_EXPLOSION_LARGE_3 = 3712;
1238static const SpriteID SPR_EXPLOSION_LARGE_4 = 3713;
1239static const SpriteID SPR_EXPLOSION_LARGE_5 = 3714;
1240static const SpriteID SPR_EXPLOSION_LARGE_6 = 3715;
1241static const SpriteID SPR_EXPLOSION_LARGE_7 = 3716;
1242static const SpriteID SPR_EXPLOSION_LARGE_8 = 3717;
1243static const SpriteID SPR_EXPLOSION_LARGE_9 = 3718;
1244static const SpriteID SPR_EXPLOSION_LARGE_A = 3719;
1245static const SpriteID SPR_EXPLOSION_LARGE_B = 3720;
1246static const SpriteID SPR_EXPLOSION_LARGE_C = 3721;
1247static const SpriteID SPR_EXPLOSION_LARGE_D = 3722;
1248static const SpriteID SPR_EXPLOSION_LARGE_E = 3723;
1249static const SpriteID SPR_EXPLOSION_LARGE_F = 3724;
1251static const SpriteID SPR_EXPLOSION_SMALL_0 = 3725;
1252static const SpriteID SPR_EXPLOSION_SMALL_1 = 3726;
1253static const SpriteID SPR_EXPLOSION_SMALL_2 = 3727;
1254static const SpriteID SPR_EXPLOSION_SMALL_3 = 3728;
1255static const SpriteID SPR_EXPLOSION_SMALL_4 = 3729;
1256static const SpriteID SPR_EXPLOSION_SMALL_5 = 3730;
1257static const SpriteID SPR_EXPLOSION_SMALL_6 = 3731;
1258static const SpriteID SPR_EXPLOSION_SMALL_7 = 3732;
1259static const SpriteID SPR_EXPLOSION_SMALL_8 = 3733;
1260static const SpriteID SPR_EXPLOSION_SMALL_9 = 3734;
1261static const SpriteID SPR_EXPLOSION_SMALL_A = 3735;
1262static const SpriteID SPR_EXPLOSION_SMALL_B = 3736;
1264static const SpriteID SPR_BREAKDOWN_SMOKE_0 = 3737;
1265static const SpriteID SPR_BREAKDOWN_SMOKE_1 = 3738;
1266static const SpriteID SPR_BREAKDOWN_SMOKE_2 = 3739;
1267static const SpriteID SPR_BREAKDOWN_SMOKE_3 = 3740;
1269static const SpriteID SPR_BUBBLE_0 = 4748;
1270static const SpriteID SPR_BUBBLE_1 = 4749;
1271static const SpriteID SPR_BUBBLE_2 = 4750;
1272static const SpriteID SPR_BUBBLE_GENERATE_0 = 4751;
1273static const SpriteID SPR_BUBBLE_GENERATE_1 = 4752;
1274static const SpriteID SPR_BUBBLE_GENERATE_2 = 4753;
1275static const SpriteID SPR_BUBBLE_GENERATE_3 = 4754;
1276static const SpriteID SPR_BUBBLE_BURST_0 = 4755;
1277static const SpriteID SPR_BUBBLE_BURST_1 = 4756;
1278static const SpriteID SPR_BUBBLE_BURST_2 = 4757;
1279static const SpriteID SPR_BUBBLE_ABSORB_0 = 4758;
1280static const SpriteID SPR_BUBBLE_ABSORB_1 = 4759;
1281static const SpriteID SPR_BUBBLE_ABSORB_2 = 4760;
1282static const SpriteID SPR_BUBBLE_ABSORB_3 = 4761;
1283static const SpriteID SPR_BUBBLE_ABSORB_4 = 4762;
1286static const SpriteID SPR_BUILD_NS_ELRAIL = SPR_ELRAIL_BASE + 36;
1287static const SpriteID SPR_BUILD_X_ELRAIL = SPR_ELRAIL_BASE + 37;
1288static const SpriteID SPR_BUILD_EW_ELRAIL = SPR_ELRAIL_BASE + 38;
1289static const SpriteID SPR_BUILD_Y_ELRAIL = SPR_ELRAIL_BASE + 39;
1290static const SpriteID SPR_BUILD_TUNNEL_ELRAIL = SPR_ELRAIL_BASE + 44;
1293static const SpriteID SPR_IMG_AIRPORT = 744;
1296static const SpriteID SPR_IMG_SHIP_DEPOT = 748;
1297static const SpriteID SPR_IMG_SHIP_DOCK = 746;
1298static const SpriteID SPR_IMG_BUOY = 693;
1302static const SpriteID SPR_IMG_SKIP_TO_PREV = 709;
1303static const SpriteID SPR_IMG_SKIP_TO_NEXT = 710;
1304static const SpriteID SPR_IMG_STOP_MUSIC = 711;
1305static const SpriteID SPR_IMG_PLAY_MUSIC = 712;
1308static const SpriteID SPR_IMG_ROAD_Y_DIR = 1309;
1309static const SpriteID SPR_IMG_ROAD_X_DIR = 1310;
1311static const SpriteID SPR_IMG_ROAD_DEPOT = 1295;
1312static const SpriteID SPR_IMG_BUS_STATION = 749;
1313static const SpriteID SPR_IMG_TRUCK_BAY = 750;
1314static const SpriteID SPR_IMG_BRIDGE = 2594;
1315static const SpriteID SPR_IMG_ROAD_TUNNEL = 2429;
1316static const SpriteID SPR_IMG_REMOVE = 714;
1323static const SpriteID SPR_IMG_RAIL_NS = 1251;
1324static const SpriteID SPR_IMG_RAIL_NE = 1252;
1325static const SpriteID SPR_IMG_RAIL_EW = 1253;
1326static const SpriteID SPR_IMG_RAIL_NW = 1254;
1334static const SpriteID SPR_IMG_DEPOT_RAIL = 1294;
1339static const SpriteID SPR_IMG_RAIL_STATION = 1298;
1340static const SpriteID SPR_IMG_RAIL_SIGNALS = 1291;
1342static const SpriteID SPR_IMG_SIGNAL_ELECTRIC_NORM = 1287;
1343static const SpriteID SPR_IMG_SIGNAL_ELECTRIC_ENTRY = SPR_SIGNALS_BASE + 12;
1344static const SpriteID SPR_IMG_SIGNAL_ELECTRIC_EXIT = SPR_SIGNALS_BASE + 28;
1345static const SpriteID SPR_IMG_SIGNAL_ELECTRIC_COMBO = SPR_SIGNALS_BASE + 44;
1346static const SpriteID SPR_IMG_SIGNAL_ELECTRIC_PBS = SPR_SIGNALS_BASE + 124;
1347static const SpriteID SPR_IMG_SIGNAL_ELECTRIC_PBS_OWAY = SPR_SIGNALS_BASE + 140;
1348static const SpriteID SPR_IMG_SIGNAL_SEMAPHORE_NORM = SPR_SIGNALS_BASE + 60;
1349static const SpriteID SPR_IMG_SIGNAL_SEMAPHORE_ENTRY = SPR_SIGNALS_BASE + 76;
1350static const SpriteID SPR_IMG_SIGNAL_SEMAPHORE_EXIT = SPR_SIGNALS_BASE + 92;
1351static const SpriteID SPR_IMG_SIGNAL_SEMAPHORE_COMBO = SPR_SIGNALS_BASE + 108;
1352static const SpriteID SPR_IMG_SIGNAL_SEMAPHORE_PBS = SPR_SIGNALS_BASE + 188;
1353static const SpriteID SPR_IMG_SIGNAL_SEMAPHORE_PBS_OWAY= SPR_SIGNALS_BASE + 204;
1356static const SpriteID SPR_IMG_TUNNEL_RAIL = 2430;
1357static const SpriteID SPR_IMG_TUNNEL_MONO = 2431;
1358static const SpriteID SPR_IMG_TUNNEL_MAGLEV = 2432;
1377static const SpriteID SPR_SELECT_TEMPERATE = 4882;
1378static const SpriteID SPR_SELECT_TEMPERATE_PUSHED = 4883;
1379static const SpriteID SPR_SELECT_SUB_ARCTIC = 4884;
1380static const SpriteID SPR_SELECT_SUB_ARCTIC_PUSHED = 4885;
1381static const SpriteID SPR_SELECT_SUB_TROPICAL = 4886;
1382static const SpriteID SPR_SELECT_SUB_TROPICAL_PUSHED = 4887;
1383static const SpriteID SPR_SELECT_TOYLAND = 4888;
1384static const SpriteID SPR_SELECT_TOYLAND_PUSHED = 4889;
1391static const CursorID SPR_CURSOR_ZZZ = 1;
1392static const CursorID SPR_CURSOR_BUOY = 702;
1393static const CursorID SPR_CURSOR_QUERY = 719;
1394static const CursorID SPR_CURSOR_HQ = 720;
1395static const CursorID SPR_CURSOR_SHIP_DEPOT = 721;
1396static const CursorID SPR_CURSOR_SIGN = 722;
1398static const CursorID SPR_CURSOR_TREE = 2010;
1399static const CursorID SPR_CURSOR_BUY_LAND = 4792;
1402static const CursorID SPR_CURSOR_TOWN = 4080;
1403static const CursorID SPR_CURSOR_INDUSTRY = 4081;
1404static const CursorID SPR_CURSOR_ROCKY_AREA = 4087;
1405static const CursorID SPR_CURSOR_DESERT = 4088;
1406static const CursorID SPR_CURSOR_TRANSMITTER = 4089;
1409static const CursorID SPR_CURSOR_AIRPORT = 2724;
1412static const CursorID SPR_CURSOR_DOCK = 3668;
1419static const CursorID SPR_CURSOR_BRIDGE = 2593;
1422static const CursorID SPR_CURSOR_NS_TRACK = 1263;
1423static const CursorID SPR_CURSOR_SWNE_TRACK = 1264;
1424static const CursorID SPR_CURSOR_EW_TRACK = 1265;
1425static const CursorID SPR_CURSOR_NWSE_TRACK = 1266;
1427static const CursorID SPR_CURSOR_NS_MONO = 1267;
1428static const CursorID SPR_CURSOR_SWNE_MONO = 1268;
1429static const CursorID SPR_CURSOR_EW_MONO = 1269;
1430static const CursorID SPR_CURSOR_NWSE_MONO = 1270;
1432static const CursorID SPR_CURSOR_NS_MAGLEV = 1271;
1433static const CursorID SPR_CURSOR_SWNE_MAGLEV = 1272;
1434static const CursorID SPR_CURSOR_EW_MAGLEV = 1273;
1435static const CursorID SPR_CURSOR_NWSE_MAGLEV = 1274;
1437static const CursorID SPR_CURSOR_NS_ELRAIL = SPR_ELRAIL_BASE + 40;
1438static const CursorID SPR_CURSOR_SWNE_ELRAIL = SPR_ELRAIL_BASE + 41;
1439static const CursorID SPR_CURSOR_EW_ELRAIL = SPR_ELRAIL_BASE + 42;
1440static const CursorID SPR_CURSOR_NWSE_ELRAIL = SPR_ELRAIL_BASE + 43;
1442static const CursorID SPR_CURSOR_RAIL_STATION = 1300;
1444static const CursorID SPR_CURSOR_TUNNEL_RAIL = 2434;
1445static const CursorID SPR_CURSOR_TUNNEL_ELRAIL = SPR_ELRAIL_BASE + 45;
1446static const CursorID SPR_CURSOR_TUNNEL_MONO = 2435;
1447static const CursorID SPR_CURSOR_TUNNEL_MAGLEV = 2436;
1456static const CursorID SPR_CURSOR_RAIL_DEPOT = 1296;
1467static const CursorID SPR_CURSOR_ROAD_NESW = 1311;
1468static const CursorID SPR_CURSOR_ROAD_NWSE = 1312;
1474static const CursorID SPR_CURSOR_ROAD_DEPOT = 1297;
1475static const CursorID SPR_CURSOR_BUS_STATION = 2725;
1476static const CursorID SPR_CURSOR_TRUCK_STATION = 2726;
1477static const CursorID SPR_CURSOR_ROAD_TUNNEL = 2433;
1487static const CursorID SPR_CURSOR_DEMOLISH_1 = 705;
1488static const CursorID SPR_CURSOR_DEMOLISH_2 = 706;
1489static const CursorID SPR_CURSOR_DEMOLISH_LAST = 707;
1491static const CursorID SPR_CURSOR_LOWERLAND_FIRST = 699;
1492static const CursorID SPR_CURSOR_LOWERLAND_1 = 700;
1493static const CursorID SPR_CURSOR_LOWERLAND_LAST = 701;
1495static const CursorID SPR_CURSOR_RAISELAND_FIRST = 696;
1496static const CursorID SPR_CURSOR_RAISELAND_1 = 697;
1497static const CursorID SPR_CURSOR_RAISELAND_LAST = 698;
1499static const CursorID SPR_CURSOR_PICKSTATION_FIRST = 716;
1500static const CursorID SPR_CURSOR_PICKSTATION_1 = 717;
1501static const CursorID SPR_CURSOR_PICKSTATION_LAST = 718;
1503static const CursorID SPR_CURSOR_BUILDSIGNALS_FIRST = 1292;
1504static const CursorID SPR_CURSOR_BUILDSIGNALS_LAST = 1293;
1528static constexpr uint8_t CUSTOM_BIT = 29;
1529static constexpr uint8_t OPAQUE_BIT = 28;
1558static constexpr uint32_t MAX_PALETTES = 1U <<
PALETTE_WIDTH;
1575static const PaletteID PALETTE_TO_DARK_BLUE = 775;
1576static const PaletteID PALETTE_TO_PALE_GREEN = 776;
1577static const PaletteID PALETTE_TO_PINK = 777;
1578static const PaletteID PALETTE_TO_YELLOW = 778;
1579static const PaletteID PALETTE_TO_RED = 779;
1580static const PaletteID PALETTE_TO_LIGHT_BLUE = 780;
1581static const PaletteID PALETTE_TO_GREEN = 781;
1582static const PaletteID PALETTE_TO_DARK_GREEN = 782;
1583static const PaletteID PALETTE_TO_BLUE = 783;
1584static const PaletteID PALETTE_TO_CREAM = 784;
1586static const PaletteID PALETTE_TO_MAUVE = 785;
1587static const PaletteID PALETTE_TO_PURPLE = 786;
1588static const PaletteID PALETTE_TO_ORANGE = 787;
1589static const PaletteID PALETTE_TO_BROWN = 788;
1590static const PaletteID PALETTE_TO_GREY = 789;
1591static const PaletteID PALETTE_TO_WHITE = 790;
uint32_t SpriteID
The number of a sprite, without mapping bits and colourtables.
uint32_t CursorID
The number of the cursor (sprite)
uint32_t PaletteID
The number of the palette.
static const PaletteID PALETTE_CHURCH_RED
Recolour sprite for reddish churches.
static const PaletteID PALETTE_CHURCH_CREAM
Recolour sprite for white churches.
static constexpr uint8_t RECOLOUR_BIT
toggles recolouring in the sprite
static const PaletteID PALETTE_TO_STRUCT_RED
sets bridge or structure to red (e.g. concrete and cantilever bridge)
static const PaletteID PALETTE_RECOLOUR_START
First recolour sprite for company colours.
static const PaletteID PALETTE_TO_STRUCT_CONCRETE
Sets the suspension bridge to concrete, also other structures use it.
static constexpr uint32_t MAX_SPRITES
Masks needed for sprite operations.
static const PaletteID PALETTE_TO_STRUCT_YELLOW
Sets the bridge colour to yellow (suspension and tubular)
static const PaletteID PALETTE_TILE_RED_PULSATING
pulsating red tile drawn if you try to build a wrong tunnel or raise/lower land where it is not possi...
static constexpr uint8_t SPRITE_MODIFIER_OPAQUE
Set when a sprite must not ever be displayed transparently.
static const CursorID ANIMCURSOR_PICKSTATION
716 - 718 - goto-order icon
static const CursorID SPR_CURSOR_DEMOLISH_FIRST
Animation macro in table/animcursors.h (_animcursors[])
static const PaletteID PALETTE_TO_STRUCT_WHITE
sets bridge or structure to white (e.g. some town houses)
static const SpriteID SPR_AQUEDUCT_BASE
Sprites for the Aqueduct.
static const CursorID ANIMCURSOR_FLAG
Flag for saying a cursor sprite is an animated cursor.
static const PaletteID PALETTE_ALL_BLACK
Exchange any color by black, needed for painting fictive tiles outside map.
static const SpriteID SPR_HALFTILE_FOUNDATION_BASE
Halftile foundations.
static const PaletteID PALETTE_SEL_TILE_RED
makes a square red. is used when removing rails or other stuff
static const SpriteID SPR_OPENTTD_BASE
Extra graphic spritenumbers.
static constexpr uint32_t SPRITE_MASK
The mask to for the main sprite.
static const PaletteID PALETTE_TO_STRUCT_BLUE
sets bridge or structure to blue (e.g. some town houses)
static const CursorID ANIMCURSOR_BUILDSIGNALS
1292 - 1293 - build signal
static const SpriteID SPR_TRACKS_FOR_SLOPES_BASE
Sprites for 'highlighting' tracks on sloped land.
static constexpr uint8_t PALETTE_WIDTH
number of bits of the sprite containing the recolour palette
static const SpriteID SPR_ROAD_WAYPOINTS_BASE
Road waypoint sprites.
static constexpr uint8_t PALETTE_MODIFIER_TRANSPARENT
when a sprite is to be displayed transparently, this bit needs to be set.
static const PaletteID PALETTE_CRASH
Recolour sprite greying of crashed vehicles.
static const CursorID SPR_CURSOR_MOUSE
Cursor sprite numbers.
static constexpr uint8_t TRANSPARENT_BIT
Bitmask setup.
static const PaletteID PALETTE_SEL_TILE_BLUE
This draws a blueish square (catchment areas for example)
static const SpriteID SPR_CLONE_TRAIN
Clone vehicles stuff.
static const PaletteID PALETTE_TO_STRUCT_GREEN
sets bridge or structure to green (e.g. bridge)
static const SpriteID SPR_RAILTYPE_TUNNEL_BASE
Tunnel sprites with grass only for custom railtype tunnel.
static const SpriteID SPR_TRAMWAY_BASE
Tramway sprites.
static const CursorID ANIMCURSOR_DEMOLISH
704 - 707 - demolish dynamite
static constexpr uint8_t PALETTE_TEXT_RECOLOUR
Set if palette is actually a magic text recolour.
static const PaletteID PALETTE_TO_STRUCT_BROWN
sets bridge or structure to brown (e.g. cantilever bridge)
static constexpr uint8_t SPRITE_MODIFIER_CUSTOM_SPRITE
these masks change the colours of the palette for a sprite.
static const CursorID ANIMCURSOR_LOWERLAND
699 - 701 - lower land tool
static constexpr uint8_t SPRITE_WIDTH
number of bits for the sprite number
static const SpriteID SPR_AIRPORT_PREVIEW_BASE
Airport preview sprites.
static const PaletteID PALETTE_TO_TRANSPARENT
This sets the sprite to transparent.
static const CursorID ANIMCURSOR_RAISELAND
696 - 698 - raise land tool
static const PaletteID PALETTE_TO_BARE_LAND
sets colour to bare land stuff for rail, road and crossings
static constexpr uint8_t PALETTE_MODIFIER_COLOUR
this bit is set when a recolouring process is in action
static const PaletteID PALETTE_NEWSPAPER
Recolour sprite for newspaper-greying.
static const SpriteID SPR_ONEWAY_BASE
One way road sprites.
static const SpriteID SPR_SHORE_BASE
shore tiles - action 05-0D
static constexpr uint32_t PALETTE_MASK
The mask for the auxiliary sprite (the one that takes care of recolouring)