src/table/sprites.h
branchnoai
changeset 9722 ebf0ece7d8f6
parent 9718 f82a4facea8b
child 9723 eee46cb39750
equal deleted inserted replaced
9721:9a27928bcd5e 9722:ebf0ece7d8f6
     8  * the sprite numbers and a bunch of masks and macros to handle sprites and to get
     8  * the sprite numbers and a bunch of masks and macros to handle sprites and to get
     9  * rid of all the magic numbers in the code.
     9  * rid of all the magic numbers in the code.
    10  *
    10  *
    11  * @NOTE:
    11  * @NOTE:
    12  * ALL SPRITE NUMBERS BELOW 5126 are in the main files
    12  * ALL SPRITE NUMBERS BELOW 5126 are in the main files
    13  * SPR_CANALS_BASE is in canalsw.grf
       
    14  * SPR_SLOPES_BASE is in trkfoundw.grf
       
    15  * SPR_OPENTTD_BASE is in openttd.grf
       
    16  *
    13  *
    17  * All elements which consist of two elements should
    14  * All elements which consist of two elements should
    18  * have the same name and then suffixes
    15  * have the same name and then suffixes
    19  *   _GROUND and _BUILD for building-type sprites
    16  *   _GROUND and _BUILD for building-type sprites
    20  *   _REAR and _FRONT for transport-type sprites (tiles where vehicles are on)
    17  *   _REAR and _FRONT for transport-type sprites (tiles where vehicles are on)
    44 	/* ASCII */
    41 	/* ASCII */
    45 	SPR_ASCII_SPACE       = 2,
    42 	SPR_ASCII_SPACE       = 2,
    46 	SPR_ASCII_SPACE_SMALL = 226,
    43 	SPR_ASCII_SPACE_SMALL = 226,
    47 	SPR_ASCII_SPACE_BIG   = 450,
    44 	SPR_ASCII_SPACE_BIG   = 450,
    48 
    45 
       
    46 	SPR_LARGE_SMALL_WINDOW = 682,
       
    47 
    49 	/* Extra graphic spritenumbers */
    48 	/* Extra graphic spritenumbers */
    50 	OPENTTD_SPRITES_COUNT = 112, // number of gfx-sprites in openttd.grf
    49 	SPR_OPENTTD_BASE     = 4896,
    51 	SPR_SIGNALS_BASE  = 4896,
    50 	OPENTTD_SPRITE_COUNT = 135,
    52 	SPR_CANALS_BASE   = SPR_SIGNALS_BASE + 486,
    51 
    53 
    52 	/* Halftile-selection sprites */
    54 	SPR_SLOPES_BASE                    = SPR_CANALS_BASE + 70,
    53 	SPR_HALFTILE_SELECTION_FLAT = SPR_OPENTTD_BASE,
    55 	SPR_SLOPES_INCLINED_OFFSET         = 15,
    54 	SPR_HALFTILE_SELECTION_DOWN = SPR_OPENTTD_BASE + 4,
    56 	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.
    55 	SPR_HALFTILE_SELECTION_UP   = SPR_OPENTTD_BASE + 8,
    57 	SPR_SLOPES_NO_FOUNDATION_NW_OFFSET = 22, // no wall on the NW edge of the tile.
    56 
    58 	SPR_SLOPES_NO_FOUNDATION_NE_OFFSET = 44, // no wall on the NE edge of the tile.
    57 	SPR_SQUARE             = SPR_OPENTTD_BASE + 38, // colored square (used for newgrf compatibility)
    59 
    58 	SPR_BLOT               = SPR_OPENTTD_BASE + 39, // colored circle (mainly used as vehicle profit marker and for server compatibility)
    60 	SPR_AUTORAIL_BASE = SPR_SLOPES_BASE + 78,
    59 	SPR_LOCK               = SPR_OPENTTD_BASE + 40, // lock icon (for password protected servers)
    61 	SPR_ELRAIL_BASE   = SPR_AUTORAIL_BASE + 55,
    60 	SPR_BOX_EMPTY          = SPR_OPENTTD_BASE + 41,
    62 	SPR_2CCMAP_BASE   = SPR_ELRAIL_BASE + 53,
    61 	SPR_BOX_CHECKED        = SPR_OPENTTD_BASE + 42,
    63 	SPR_OPENTTD_BASE  = SPR_2CCMAP_BASE + 256,
    62 	SPR_WARNING_SIGN       = SPR_OPENTTD_BASE + 43, // warning sign (shown if there are any newgrf errors)
    64 
    63 	SPR_WINDOW_RESIZE      = SPR_OPENTTD_BASE + 44, // resize icon
    65 	SPR_BLOT = SPR_OPENTTD_BASE + 29, // colored circle (mainly used as vehicle profit marker and for sever compatibility)
    64 	/* Arrow icons pointing in all 4 directions */
    66 
    65 	SPR_ARROW_DOWN         = SPR_OPENTTD_BASE + 45,
    67 	SPR_PIN_UP        = SPR_OPENTTD_BASE + 55,   // pin icon
    66 	SPR_ARROW_UP           = SPR_OPENTTD_BASE + 46,
    68 	SPR_PIN_DOWN      = SPR_OPENTTD_BASE + 56,
    67 	SPR_ARROW_LEFT         = SPR_OPENTTD_BASE + 47,
    69 	SPR_BOX_EMPTY     = SPR_OPENTTD_BASE + 59,
    68 	SPR_ARROW_RIGHT        = SPR_OPENTTD_BASE + 48,
    70 	SPR_BOX_CHECKED   = SPR_OPENTTD_BASE + 60,
    69 	SPR_HOUSE_ICON         = SPR_OPENTTD_BASE + 49,
    71 	SPR_WINDOW_RESIZE = SPR_OPENTTD_BASE + 82,   // resize icon
    70 	SPR_SHARED_ORDERS_ICON = SPR_OPENTTD_BASE + 50,
    72 	SPR_HOUSE_ICON    = SPR_OPENTTD_BASE + 89,
    71 	SPR_PIN_UP             = SPR_OPENTTD_BASE + 51,   // pin icon
    73 	// arrow icons pointing in all 4 directions
    72 	SPR_PIN_DOWN           = SPR_OPENTTD_BASE + 52,
    74 	SPR_ARROW_DOWN    = SPR_OPENTTD_BASE + 83,
       
    75 	SPR_ARROW_UP      = SPR_OPENTTD_BASE + 84,
       
    76 	SPR_ARROW_LEFT    = SPR_OPENTTD_BASE + 85,
       
    77 	SPR_ARROW_RIGHT   = SPR_OPENTTD_BASE + 86,
       
    78 
       
    79 	SPR_LARGE_SMALL_WINDOW = 682,
       
    80 
    73 
    81 	/* Clone vehicles stuff */
    74 	/* Clone vehicles stuff */
    82 	SPR_CLONE_TRAIN    = SPR_OPENTTD_BASE + 87,
    75 	SPR_CLONE_TRAIN    = SPR_OPENTTD_BASE + 106,
    83 	SPR_CLONE_ROADVEH  = SPR_OPENTTD_BASE + 104,
    76 	SPR_CLONE_ROADVEH  = SPR_OPENTTD_BASE + 107,
    84 	SPR_CLONE_SHIP     = SPR_OPENTTD_BASE + 106,
    77 	SPR_CLONE_SHIP     = SPR_OPENTTD_BASE + 108,
    85 	SPR_CLONE_AIRCRAFT = SPR_OPENTTD_BASE + 108,
    78 	SPR_CLONE_AIRCRAFT = SPR_OPENTTD_BASE + 109,
    86 
    79 
    87 	SPR_SELL_TRAIN        = SPR_OPENTTD_BASE + 91,
    80 	SPR_SELL_TRAIN        = SPR_OPENTTD_BASE +  93,
    88 	SPR_SELL_ROADVEH      = SPR_OPENTTD_BASE + 92,
    81 	SPR_SELL_ROADVEH      = SPR_OPENTTD_BASE +  94,
    89 	SPR_SELL_SHIP         = SPR_OPENTTD_BASE + 93,
    82 	SPR_SELL_SHIP         = SPR_OPENTTD_BASE +  95,
    90 	SPR_SELL_AIRCRAFT     = SPR_OPENTTD_BASE + 94,
    83 	SPR_SELL_AIRCRAFT     = SPR_OPENTTD_BASE +  96,
    91 	SPR_SELL_ALL_TRAIN    = SPR_OPENTTD_BASE + 95,
    84 	SPR_SELL_ALL_TRAIN    = SPR_OPENTTD_BASE +  97,
    92 	SPR_SELL_ALL_ROADVEH  = SPR_OPENTTD_BASE + 96,
    85 	SPR_SELL_ALL_ROADVEH  = SPR_OPENTTD_BASE +  98,
    93 	SPR_SELL_ALL_SHIP     = SPR_OPENTTD_BASE + 97,
    86 	SPR_SELL_ALL_SHIP     = SPR_OPENTTD_BASE +  99,
    94 	SPR_SELL_ALL_AIRCRAFT = SPR_OPENTTD_BASE + 98,
    87 	SPR_SELL_ALL_AIRCRAFT = SPR_OPENTTD_BASE + 100,
    95 	SPR_REPLACE_TRAIN     = SPR_OPENTTD_BASE + 99,
    88 	SPR_REPLACE_TRAIN     = SPR_OPENTTD_BASE + 101,
    96 	SPR_REPLACE_ROADVEH   = SPR_OPENTTD_BASE + 100,
    89 	SPR_REPLACE_ROADVEH   = SPR_OPENTTD_BASE + 102,
    97 	SPR_REPLACE_SHIP      = SPR_OPENTTD_BASE + 101,
    90 	SPR_REPLACE_SHIP      = SPR_OPENTTD_BASE + 103,
    98 	SPR_REPLACE_AIRCRAFT  = SPR_OPENTTD_BASE + 102,
    91 	SPR_REPLACE_AIRCRAFT  = SPR_OPENTTD_BASE + 104,
    99 	SPR_SELL_CHAIN_TRAIN  = SPR_OPENTTD_BASE + 103,
    92 	SPR_SELL_CHAIN_TRAIN  = SPR_OPENTTD_BASE + 105,
   100 
    93 
   101 	SPR_SHARED_ORDERS_ICON = SPR_OPENTTD_BASE + 110,
    94 	SPR_GROUP_CREATE_TRAIN         = SPR_OPENTTD_BASE + 114,
   102 
    95 	SPR_GROUP_CREATE_ROADVEH       = SPR_OPENTTD_BASE + 115,
   103 	SPR_WARNING_SIGN      = SPR_OPENTTD_BASE + 111, // warning sign (shown if there are any newgrf errors)
    96 	SPR_GROUP_CREATE_SHIP          = SPR_OPENTTD_BASE + 116,
   104 
    97 	SPR_GROUP_CREATE_AIRCRAFT      = SPR_OPENTTD_BASE + 117,
   105 	/* Network GUI sprites */
    98 	SPR_GROUP_DELETE_TRAIN         = SPR_OPENTTD_BASE + 118,
   106 	SPR_SQUARE = SPR_OPENTTD_BASE + 20,     // colored square (used for newgrf compatibility)
    99 	SPR_GROUP_DELETE_ROADVEH       = SPR_OPENTTD_BASE + 119,
   107 	SPR_LOCK = SPR_OPENTTD_BASE + 19,       // lock icon (for password protected servers)
   100 	SPR_GROUP_DELETE_SHIP          = SPR_OPENTTD_BASE + 120,
   108 
   101 	SPR_GROUP_DELETE_AIRCRAFT      = SPR_OPENTTD_BASE + 121,
   109 	SPR_AIRPORTX_BASE = SPR_OPENTTD_BASE + OPENTTD_SPRITES_COUNT, // The sprites used for other airport angles
   102 	SPR_GROUP_RENAME_TRAIN         = SPR_OPENTTD_BASE + 122,
       
   103 	SPR_GROUP_RENAME_ROADVEH       = SPR_OPENTTD_BASE + 123,
       
   104 	SPR_GROUP_RENAME_SHIP          = SPR_OPENTTD_BASE + 124,
       
   105 	SPR_GROUP_RENAME_AIRCRAFT      = SPR_OPENTTD_BASE + 125,
       
   106 	SPR_GROUP_REPLACE_ON_TRAIN     = SPR_OPENTTD_BASE + 126,
       
   107 	SPR_GROUP_REPLACE_ON_ROADVEH   = SPR_OPENTTD_BASE + 127,
       
   108 	SPR_GROUP_REPLACE_ON_SHIP      = SPR_OPENTTD_BASE + 128,
       
   109 	SPR_GROUP_REPLACE_ON_AIRCRAFT  = SPR_OPENTTD_BASE + 129,
       
   110 	SPR_GROUP_REPLACE_OFF_TRAIN    = SPR_OPENTTD_BASE + 130,
       
   111 	SPR_GROUP_REPLACE_OFF_ROADVEH  = SPR_OPENTTD_BASE + 131,
       
   112 	SPR_GROUP_REPLACE_OFF_SHIP     = SPR_OPENTTD_BASE + 132,
       
   113 	SPR_GROUP_REPLACE_OFF_AIRCRAFT = SPR_OPENTTD_BASE + 133,
       
   114 
       
   115 	SPR_SIGNALS_BASE  = SPR_OPENTTD_BASE + OPENTTD_SPRITE_COUNT,
       
   116 	PRESIGNAL_SPRITE_COUNT                   =  48,
       
   117 	PRESIGNAL_AND_SEMAPHORE_SPRITE_COUNT     = 112,
       
   118 	PRESIGNAL_SEMAPHORE_AND_PBS_SPRITE_COUNT = 240,
       
   119 
       
   120 	SPR_CANALS_BASE   = SPR_SIGNALS_BASE + PRESIGNAL_SEMAPHORE_AND_PBS_SPRITE_COUNT,
       
   121 	CANALS_SPRITE_COUNT = 65,
       
   122 
       
   123 	SPR_SLOPES_BASE              = SPR_CANALS_BASE + CANALS_SPRITE_COUNT,
       
   124 	SPR_SLOPES_INCLINED_OFFSET   = 15,
       
   125 	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.
       
   126 	SPR_TRKFOUND_BLOCK_SIZE      = 22, // The normal track foundation sprites are organized in blocks of 22.
       
   127 	NORMAL_FOUNDATION_SPRITE_COUNT = 74,
       
   128 	/* Halftile foundations */
       
   129 	SPR_HALFTILE_FOUNDATION_BASE = SPR_SLOPES_BASE + NORMAL_FOUNDATION_SPRITE_COUNT,
       
   130 	SPR_HALFTILE_BLOCK_SIZE      = 4,  // The half tile foundation sprites are organized in blocks of 4.
       
   131 	NORMAL_AND_HALFTILE_FOUNDATION_SPRITE_COUNT = 90,
       
   132 
       
   133 	SPR_AUTORAIL_BASE = SPR_HALFTILE_FOUNDATION_BASE + NORMAL_AND_HALFTILE_FOUNDATION_SPRITE_COUNT,
       
   134 	AUTORAIL_SPRITE_COUNT = 55,
       
   135 
       
   136 	SPR_ELRAIL_BASE   = SPR_AUTORAIL_BASE + AUTORAIL_SPRITE_COUNT,
       
   137 	ELRAIL_SPRITE_COUNT = 48,
       
   138 
       
   139 	SPR_2CCMAP_BASE   = SPR_ELRAIL_BASE + ELRAIL_SPRITE_COUNT,
       
   140 	TWOCCMAP_SPRITE_COUNT = 256,
       
   141 
       
   142 	SPR_AIRPORTX_BASE     = SPR_2CCMAP_BASE + TWOCCMAP_SPRITE_COUNT, // The sprites used for other airport angles
   110 	SPR_NEWAIRPORT_TARMAC = SPR_AIRPORTX_BASE,
   143 	SPR_NEWAIRPORT_TARMAC = SPR_AIRPORTX_BASE,
   111 	SPR_NSRUNWAY1 = SPR_AIRPORTX_BASE + 1,
   144 	SPR_NSRUNWAY1         = SPR_AIRPORTX_BASE + 1,
   112 	SPR_NSRUNWAY2 = SPR_AIRPORTX_BASE + 2,
   145 	SPR_NSRUNWAY2         = SPR_AIRPORTX_BASE + 2,
   113 	SPR_NSRUNWAY3 = SPR_AIRPORTX_BASE + 3,
   146 	SPR_NSRUNWAY3         = SPR_AIRPORTX_BASE + 3,
   114 	SPR_NSRUNWAY4 = SPR_AIRPORTX_BASE + 4,
   147 	SPR_NSRUNWAY4         = SPR_AIRPORTX_BASE + 4,
   115 	SPR_NSRUNWAY_END = SPR_AIRPORTX_BASE + 5,
   148 	SPR_NSRUNWAY_END      = SPR_AIRPORTX_BASE + 5,
   116 	SPR_NEWHANGAR_S = SPR_AIRPORTX_BASE + 6,
   149 	SPR_NEWHANGAR_S       = SPR_AIRPORTX_BASE + 6,
   117 	SPR_NEWHANGAR_S_WALL = SPR_AIRPORTX_BASE + 7,
   150 	SPR_NEWHANGAR_S_WALL  = SPR_AIRPORTX_BASE + 7,
   118 	SPR_NEWHANGAR_W = SPR_AIRPORTX_BASE + 8,
   151 	SPR_NEWHANGAR_W       = SPR_AIRPORTX_BASE + 8,
   119 	SPR_NEWHANGAR_W_WALL = SPR_AIRPORTX_BASE + 9,
   152 	SPR_NEWHANGAR_W_WALL  = SPR_AIRPORTX_BASE + 9,
   120 	SPR_NEWHANGAR_N = SPR_AIRPORTX_BASE + 10,
   153 	SPR_NEWHANGAR_N       = SPR_AIRPORTX_BASE + 10,
   121 	SPR_NEWHANGAR_E = SPR_AIRPORTX_BASE + 11,
   154 	SPR_NEWHANGAR_E       = SPR_AIRPORTX_BASE + 11,
   122 	SPR_NEWHELIPAD = SPR_AIRPORTX_BASE + 12,
   155 	SPR_NEWHELIPAD        = SPR_AIRPORTX_BASE + 12,
   123 	SPR_GRASS_RIGHT = SPR_AIRPORTX_BASE + 13,
   156 	SPR_GRASS_RIGHT       = SPR_AIRPORTX_BASE + 13,
   124 	SPR_GRASS_LEFT = SPR_AIRPORTX_BASE + 14,
   157 	SPR_GRASS_LEFT        = SPR_AIRPORTX_BASE + 14,
   125 
   158 	AIRPORTX_SPRITE_COUNT = 15,
   126 	SPR_ROADSTOP_BASE = SPR_AIRPORTX_BASE + 15, // The sprites used for drive-through road stops
   159 
   127 	SPR_BUS_STOP_DT_Y_W = SPR_ROADSTOP_BASE,
   160 	SPR_ROADSTOP_BASE     = SPR_AIRPORTX_BASE + AIRPORTX_SPRITE_COUNT, // The sprites used for drive-through road stops
   128 	SPR_BUS_STOP_DT_Y_E = SPR_ROADSTOP_BASE + 1,
   161 	SPR_BUS_STOP_DT_Y_W   = SPR_ROADSTOP_BASE,
   129 	SPR_BUS_STOP_DT_X_W = SPR_ROADSTOP_BASE + 2,
   162 	SPR_BUS_STOP_DT_Y_E   = SPR_ROADSTOP_BASE + 1,
   130 	SPR_BUS_STOP_DT_X_E = SPR_ROADSTOP_BASE + 3,
   163 	SPR_BUS_STOP_DT_X_W   = SPR_ROADSTOP_BASE + 2,
       
   164 	SPR_BUS_STOP_DT_X_E   = SPR_ROADSTOP_BASE + 3,
   131 	SPR_TRUCK_STOP_DT_Y_W = SPR_ROADSTOP_BASE + 4,
   165 	SPR_TRUCK_STOP_DT_Y_W = SPR_ROADSTOP_BASE + 4,
   132 	SPR_TRUCK_STOP_DT_Y_E = SPR_ROADSTOP_BASE + 5,
   166 	SPR_TRUCK_STOP_DT_Y_E = SPR_ROADSTOP_BASE + 5,
   133 	SPR_TRUCK_STOP_DT_X_W = SPR_ROADSTOP_BASE + 6,
   167 	SPR_TRUCK_STOP_DT_X_W = SPR_ROADSTOP_BASE + 6,
   134 	SPR_TRUCK_STOP_DT_X_E = SPR_ROADSTOP_BASE + 7,
   168 	SPR_TRUCK_STOP_DT_X_E = SPR_ROADSTOP_BASE + 7,
   135 
   169 	ROADSTOP_SPRITE_COUNT = 8,
   136 	SPR_GROUP_BASE                 = SPR_ROADSTOP_BASE + 8, // The sprites used for the group interface
       
   137 	SPR_GROUP_CREATE_TRAIN         = SPR_GROUP_BASE,
       
   138 	SPR_GROUP_CREATE_ROADVEH       = SPR_GROUP_BASE + 1,
       
   139 	SPR_GROUP_CREATE_SHIP          = SPR_GROUP_BASE + 2,
       
   140 	SPR_GROUP_CREATE_AIRCRAFT      = SPR_GROUP_BASE + 3,
       
   141 	SPR_GROUP_DELETE_TRAIN         = SPR_GROUP_BASE + 4,
       
   142 	SPR_GROUP_DELETE_ROADVEH       = SPR_GROUP_BASE + 5,
       
   143 	SPR_GROUP_DELETE_SHIP          = SPR_GROUP_BASE + 6,
       
   144 	SPR_GROUP_DELETE_AIRCRAFT      = SPR_GROUP_BASE + 7,
       
   145 	SPR_GROUP_RENAME_TRAIN         = SPR_GROUP_BASE + 8,
       
   146 	SPR_GROUP_RENAME_ROADVEH       = SPR_GROUP_BASE + 9,
       
   147 	SPR_GROUP_RENAME_SHIP          = SPR_GROUP_BASE + 10,
       
   148 	SPR_GROUP_RENAME_AIRCRAFT      = SPR_GROUP_BASE + 11,
       
   149 	SPR_GROUP_REPLACE_ON_TRAIN     = SPR_GROUP_BASE + 12,
       
   150 	SPR_GROUP_REPLACE_ON_ROADVEH   = SPR_GROUP_BASE + 13,
       
   151 	SPR_GROUP_REPLACE_ON_SHIP      = SPR_GROUP_BASE + 14,
       
   152 	SPR_GROUP_REPLACE_ON_AIRCRAFT  = SPR_GROUP_BASE + 15,
       
   153 	SPR_GROUP_REPLACE_OFF_TRAIN    = SPR_GROUP_BASE + 16,
       
   154 	SPR_GROUP_REPLACE_OFF_ROADVEH  = SPR_GROUP_BASE + 17,
       
   155 	SPR_GROUP_REPLACE_OFF_SHIP     = SPR_GROUP_BASE + 18,
       
   156 	SPR_GROUP_REPLACE_OFF_AIRCRAFT = SPR_GROUP_BASE + 19,
       
   157 
   170 
   158 	/* Tramway sprites */
   171 	/* Tramway sprites */
   159 	SPR_TRAMWAY_BASE                 = SPR_GROUP_BASE + 20,
   172 	SPR_TRAMWAY_BASE                 = SPR_ROADSTOP_BASE + ROADSTOP_SPRITE_COUNT,
   160 	SPR_TRAMWAY_OVERLAY              = SPR_TRAMWAY_BASE + 4,
   173 	SPR_TRAMWAY_OVERLAY              = SPR_TRAMWAY_BASE + 4,
   161 	SPR_TRAMWAY_TRAM                 = SPR_TRAMWAY_BASE + 27,
   174 	SPR_TRAMWAY_TRAM                 = SPR_TRAMWAY_BASE + 27,
   162 	SPR_TRAMWAY_SLOPED_OFFSET        = 11,
   175 	SPR_TRAMWAY_SLOPED_OFFSET        = 11,
   163 	SPR_TRAMWAY_BUS_STOP_DT_Y_W      = SPR_TRAMWAY_BASE + 25,
   176 	SPR_TRAMWAY_BUS_STOP_DT_Y_W      = SPR_TRAMWAY_BASE + 25,
   164 	SPR_TRAMWAY_BUS_STOP_DT_Y_E      = SPR_TRAMWAY_BASE + 23,
   177 	SPR_TRAMWAY_BUS_STOP_DT_Y_E      = SPR_TRAMWAY_BASE + 23,
   170 	SPR_TRAMWAY_FRONT_WIRES_STRAIGHT = SPR_TRAMWAY_BASE + 56,
   183 	SPR_TRAMWAY_FRONT_WIRES_STRAIGHT = SPR_TRAMWAY_BASE + 56,
   171 	SPR_TRAMWAY_BACK_WIRES_SLOPED    = SPR_TRAMWAY_BASE + 72,
   184 	SPR_TRAMWAY_BACK_WIRES_SLOPED    = SPR_TRAMWAY_BASE + 72,
   172 	SPR_TRAMWAY_FRONT_WIRES_SLOPED   = SPR_TRAMWAY_BASE + 68,
   185 	SPR_TRAMWAY_FRONT_WIRES_SLOPED   = SPR_TRAMWAY_BASE + 68,
   173 	SPR_TRAMWAY_TUNNEL_WIRES         = SPR_TRAMWAY_BASE + 80,
   186 	SPR_TRAMWAY_TUNNEL_WIRES         = SPR_TRAMWAY_BASE + 80,
   174 	SPR_TRAMWAY_BRIDGE               = SPR_TRAMWAY_BASE + 107,
   187 	SPR_TRAMWAY_BRIDGE               = SPR_TRAMWAY_BASE + 107,
       
   188 	TRAMWAY_SPRITE_COUNT = 113,
   175 
   189 
   176 	/* One way road sprites */
   190 	/* One way road sprites */
   177 	SPR_ONEWAY_BASE = SPR_TRAMWAY_BASE + 113,
   191 	SPR_ONEWAY_BASE = SPR_TRAMWAY_BASE + TRAMWAY_SPRITE_COUNT,
       
   192 	ONEWAY_SPRITE_COUNT = 6,
       
   193 
       
   194 	/* Flags sprites (in same order as enum NetworkLanguage) */
       
   195 	SPR_FLAGS_BASE = SPR_ONEWAY_BASE + ONEWAY_SPRITE_COUNT,
       
   196 	FLAGS_SPRITE_COUNT = 29,
   178 
   197 
   179 	/* Not really a sprite, but an empty bounding box. Used to construct bounding boxes, that help sorting the sprites, but do not have a sprite associated. */
   198 	/* Not really a sprite, but an empty bounding box. Used to construct bounding boxes, that help sorting the sprites, but do not have a sprite associated. */
   180 	SPR_EMPTY_BOUNDING_BOX = SPR_ONEWAY_BASE + 6,
   199 	SPR_EMPTY_BOUNDING_BOX = SPR_FLAGS_BASE + FLAGS_SPRITE_COUNT,
   181 
   200 	EMPTY_BOUNDING_BOX_SPRITE_COUNT = 1,
   182 	/* Flags sprites (in same order as enum NetworkLanguage) */
   201 
   183 	SPR_FLAGS_BASE = SPR_EMPTY_BOUNDING_BOX + 1,
   202 	/* From where can we start putting NewGRFs? */
       
   203 	SPR_NEWGRFS_BASE = SPR_EMPTY_BOUNDING_BOX + EMPTY_BOUNDING_BOX_SPRITE_COUNT,
   184 
   204 
   185 	/* Manager face sprites */
   205 	/* Manager face sprites */
   186 	SPR_GRADIENT = 874, // background gradient behind manager face
   206 	SPR_GRADIENT = 874, // background gradient behind manager face
   187 
   207 
   188 	/* Icon showing player colour. */
   208 	/* Icon showing player colour. */
   191 	/* is itself no foundation sprite, because tileh 0 has no foundation */
   211 	/* is itself no foundation sprite, because tileh 0 has no foundation */
   192 	SPR_FOUNDATION_BASE = 989,
   212 	SPR_FOUNDATION_BASE = 989,
   193 
   213 
   194 	/* Shadow cell */
   214 	/* Shadow cell */
   195 	SPR_SHADOW_CELL = 1004,
   215 	SPR_SHADOW_CELL = 1004,
   196 
       
   197 	/* Sliced view shadow cells */
       
   198 	/* Maybe we have different ones in the future */
       
   199 	SPR_MAX_SLICE = SPR_OPENTTD_BASE + 64,
       
   200 	SPR_MIN_SLICE = SPR_OPENTTD_BASE + 64,
       
   201 
   216 
   202 	/* Unmovables spritenumbers */
   217 	/* Unmovables spritenumbers */
   203 	SPR_UNMOVABLE_TRANSMITTER   = 2601,
   218 	SPR_UNMOVABLE_TRANSMITTER   = 2601,
   204 	SPR_UNMOVABLE_LIGHTHOUSE    = 2602,
   219 	SPR_UNMOVABLE_LIGHTHOUSE    = 2602,
   205 	SPR_TINYHQ_NORTH            = 2603,
   220 	SPR_TINYHQ_NORTH            = 2603,
   292 	SPR_MGLV_SINGLE_EAST              = 1173,
   307 	SPR_MGLV_SINGLE_EAST              = 1173,
   293 	SPR_MGLV_SINGLE_WEST              = 1174,
   308 	SPR_MGLV_SINGLE_WEST              = 1174,
   294 	SPR_MGLV_TRACK_Y                  = 1175,
   309 	SPR_MGLV_TRACK_Y                  = 1175,
   295 	SPR_MGLV_TRACK_BASE               = 1182,
   310 	SPR_MGLV_TRACK_BASE               = 1182,
   296 	SPR_MGLV_TRACK_N_S                = 1199,
   311 	SPR_MGLV_TRACK_N_S                = 1199,
   297 	SPR_WAYPOINT_X_1            = SPR_OPENTTD_BASE + 15,
   312 	SPR_WAYPOINT_X_1            = SPR_OPENTTD_BASE + 78,
   298 	SPR_WAYPOINT_X_2            = SPR_OPENTTD_BASE + 16,
   313 	SPR_WAYPOINT_X_2            = SPR_OPENTTD_BASE + 79,
   299 	SPR_WAYPOINT_Y_1            = SPR_OPENTTD_BASE + 17,
   314 	SPR_WAYPOINT_Y_1            = SPR_OPENTTD_BASE + 80,
   300 	SPR_WAYPOINT_Y_2            = SPR_OPENTTD_BASE + 18,
   315 	SPR_WAYPOINT_Y_2            = SPR_OPENTTD_BASE + 81,
   301 	OFFSET_TILEH_IMPOSSIBLE     = 0,
   316 	OFFSET_TILEH_IMPOSSIBLE     = 0,
   302 	OFFSET_TILEH_1              = 14,
   317 	OFFSET_TILEH_1              = 14,
   303 	OFFSET_TILEH_2              = 15,
   318 	OFFSET_TILEH_2              = 15,
   304 	OFFSET_TILEH_3              = 22,
   319 	OFFSET_TILEH_3              = 22,
   305 	OFFSET_TILEH_4              = 13,
   320 	OFFSET_TILEH_4              = 13,
   324 
   339 
   325 	/* Elrail stuff */
   340 	/* Elrail stuff */
   326 	/* Wires. First identifier is the direction of the track, second is the required placement of the pylon.
   341 	/* Wires. First identifier is the direction of the track, second is the required placement of the pylon.
   327 	 * "short" denotes a wire that requires a pylon on each end. Third identifier is the direction of the slope
   342 	 * "short" denotes a wire that requires a pylon on each end. Third identifier is the direction of the slope
   328 	 * (in positive coordinate direction) */
   343 	 * (in positive coordinate direction) */
   329 	SPR_WIRE_X_SHORT = SPR_ELRAIL_BASE + 3,
   344 	SPR_WIRE_X_SHORT      = SPR_ELRAIL_BASE + 0,
   330 	SPR_WIRE_Y_SHORT = SPR_ELRAIL_BASE + 4,
   345 	SPR_WIRE_Y_SHORT      = SPR_ELRAIL_BASE + 1,
   331 	SPR_WIRE_EW_SHORT = SPR_ELRAIL_BASE + 5,
   346 	SPR_WIRE_EW_SHORT     = SPR_ELRAIL_BASE + 2,
   332 	SPR_WIRE_NS_SHORT = SPR_ELRAIL_BASE + 6,
   347 	SPR_WIRE_NS_SHORT     = SPR_ELRAIL_BASE + 3,
   333 	SPR_WIRE_X_SHORT_DOWN = SPR_ELRAIL_BASE + 7,
   348 	SPR_WIRE_X_SHORT_DOWN = SPR_ELRAIL_BASE + 4,
   334 	SPR_WIRE_Y_SHORT_UP = SPR_ELRAIL_BASE + 8,
   349 	SPR_WIRE_Y_SHORT_UP   = SPR_ELRAIL_BASE + 5,
   335 	SPR_WIRE_X_SHORT_UP = SPR_ELRAIL_BASE + 9,
   350 	SPR_WIRE_X_SHORT_UP   = SPR_ELRAIL_BASE + 6,
   336 	SPR_WIRE_Y_SHORT_DOWN = SPR_ELRAIL_BASE + 10,
   351 	SPR_WIRE_Y_SHORT_DOWN = SPR_ELRAIL_BASE + 7,
   337 
   352 
   338 	SPR_WIRE_X_SW = SPR_ELRAIL_BASE + 11,
   353 	SPR_WIRE_X_SW      = SPR_ELRAIL_BASE +  8,
   339 	SPR_WIRE_Y_SE = SPR_ELRAIL_BASE + 12,
   354 	SPR_WIRE_Y_SE      = SPR_ELRAIL_BASE +  9,
   340 	SPR_WIRE_EW_E = SPR_ELRAIL_BASE + 13,
   355 	SPR_WIRE_EW_E      = SPR_ELRAIL_BASE + 10,
   341 	SPR_WIRE_NS_S = SPR_ELRAIL_BASE + 14,
   356 	SPR_WIRE_NS_S      = SPR_ELRAIL_BASE + 11,
   342 	SPR_WIRE_X_SW_DOWN = SPR_ELRAIL_BASE + 15,
   357 	SPR_WIRE_X_SW_DOWN = SPR_ELRAIL_BASE + 12,
   343 	SPR_WIRE_Y_SE_UP = SPR_ELRAIL_BASE + 16,
   358 	SPR_WIRE_Y_SE_UP   = SPR_ELRAIL_BASE + 13,
   344 	SPR_WIRE_X_SW_UP = SPR_ELRAIL_BASE + 17,
   359 	SPR_WIRE_X_SW_UP   = SPR_ELRAIL_BASE + 14,
   345 	SPR_WIRE_Y_SE_DOWN = SPR_ELRAIL_BASE + 18,
   360 	SPR_WIRE_Y_SE_DOWN = SPR_ELRAIL_BASE + 15,
   346 
   361 
   347 	SPR_WIRE_X_NE = SPR_ELRAIL_BASE + 19,
   362 	SPR_WIRE_X_NE      = SPR_ELRAIL_BASE + 16,
   348 	SPR_WIRE_Y_NW = SPR_ELRAIL_BASE + 20,
   363 	SPR_WIRE_Y_NW      = SPR_ELRAIL_BASE + 17,
   349 	SPR_WIRE_EW_W = SPR_ELRAIL_BASE + 21,
   364 	SPR_WIRE_EW_W      = SPR_ELRAIL_BASE + 18,
   350 	SPR_WIRE_NS_N = SPR_ELRAIL_BASE + 22,
   365 	SPR_WIRE_NS_N      = SPR_ELRAIL_BASE + 19,
   351 	SPR_WIRE_X_NE_DOWN = SPR_ELRAIL_BASE + 23,
   366 	SPR_WIRE_X_NE_DOWN = SPR_ELRAIL_BASE + 20,
   352 	SPR_WIRE_Y_NW_UP = SPR_ELRAIL_BASE + 24,
   367 	SPR_WIRE_Y_NW_UP   = SPR_ELRAIL_BASE + 21,
   353 	SPR_WIRE_X_NE_UP = SPR_ELRAIL_BASE + 25,
   368 	SPR_WIRE_X_NE_UP   = SPR_ELRAIL_BASE + 22,
   354 	SPR_WIRE_Y_NW_DOWN = SPR_ELRAIL_BASE + 26,
   369 	SPR_WIRE_Y_NW_DOWN = SPR_ELRAIL_BASE + 23,
   355 
   370 
   356 	/* Tunnel entries */
   371 	/* Tunnel entries */
   357 	SPR_WIRE_TUNNEL_NE = SPR_ELRAIL_BASE + 27,
   372 	SPR_WIRE_TUNNEL_NE = SPR_ELRAIL_BASE + 24,
   358 	SPR_WIRE_TUNNEL_SE = SPR_ELRAIL_BASE + 28,
   373 	SPR_WIRE_TUNNEL_SE = SPR_ELRAIL_BASE + 25,
   359 	SPR_WIRE_TUNNEL_SW = SPR_ELRAIL_BASE + 29,
   374 	SPR_WIRE_TUNNEL_SW = SPR_ELRAIL_BASE + 26,
   360 	SPR_WIRE_TUNNEL_NW = SPR_ELRAIL_BASE + 30,
   375 	SPR_WIRE_TUNNEL_NW = SPR_ELRAIL_BASE + 27,
   361 
   376 
   362 	/* Depot entries */
   377 	/* Depot entries */
   363 	SPR_WIRE_DEPOT_SW = SPR_ELRAIL_BASE + 27,
   378 	SPR_WIRE_DEPOT_SW = SPR_ELRAIL_BASE + 24,
   364 	SPR_WIRE_DEPOT_NW = SPR_ELRAIL_BASE + 28,
   379 	SPR_WIRE_DEPOT_NW = SPR_ELRAIL_BASE + 25,
   365 	SPR_WIRE_DEPOT_NE = SPR_ELRAIL_BASE + 29,
   380 	SPR_WIRE_DEPOT_NE = SPR_ELRAIL_BASE + 26,
   366 	SPR_WIRE_DEPOT_SE = SPR_ELRAIL_BASE + 30,
   381 	SPR_WIRE_DEPOT_SE = SPR_ELRAIL_BASE + 27,
   367 
   382 
   368 
   383 
   369 	/* Pylons, first identifier is the direction of the track, second the placement relative to the track */
   384 	/* Pylons, first identifier is the direction of the track, second the placement relative to the track */
   370 	SPR_PYLON_Y_NE = SPR_ELRAIL_BASE + 31,
   385 	SPR_PYLON_Y_NE = SPR_ELRAIL_BASE + 28,
   371 	SPR_PYLON_Y_SW = SPR_ELRAIL_BASE + 32,
   386 	SPR_PYLON_Y_SW = SPR_ELRAIL_BASE + 29,
   372 	SPR_PYLON_X_NW = SPR_ELRAIL_BASE + 33,
   387 	SPR_PYLON_X_NW = SPR_ELRAIL_BASE + 30,
   373 	SPR_PYLON_X_SE = SPR_ELRAIL_BASE + 34,
   388 	SPR_PYLON_X_SE = SPR_ELRAIL_BASE + 31,
   374 	SPR_PYLON_EW_N = SPR_ELRAIL_BASE + 35,
   389 	SPR_PYLON_EW_N = SPR_ELRAIL_BASE + 32,
   375 	SPR_PYLON_EW_S = SPR_ELRAIL_BASE + 36,
   390 	SPR_PYLON_EW_S = SPR_ELRAIL_BASE + 33,
   376 	SPR_PYLON_NS_W = SPR_ELRAIL_BASE + 37,
   391 	SPR_PYLON_NS_W = SPR_ELRAIL_BASE + 34,
   377 	SPR_PYLON_NS_E = SPR_ELRAIL_BASE + 38,
   392 	SPR_PYLON_NS_E = SPR_ELRAIL_BASE + 35,
   378 
   393 
   379 	/* sprites for roads */
   394 	/* sprites for roads */
   380 	SPR_ROAD_PAVED_STRAIGHT_Y       = 1313,
   395 	SPR_ROAD_PAVED_STRAIGHT_Y       = 1313,
   381 	SPR_ROAD_PAVED_STRAIGHT_X       = 1314,
   396 	SPR_ROAD_PAVED_STRAIGHT_X       = 1314,
   382 
   397 
   439 	SPR_AIRPORT_RADAR_8             = 2687,
   454 	SPR_AIRPORT_RADAR_8             = 2687,
   440 	SPR_AIRPORT_RADAR_9             = 2688,
   455 	SPR_AIRPORT_RADAR_9             = 2688,
   441 	SPR_AIRPORT_RADAR_A             = 2689,
   456 	SPR_AIRPORT_RADAR_A             = 2689,
   442 	SPR_AIRPORT_RADAR_B             = 2690,
   457 	SPR_AIRPORT_RADAR_B             = 2690,
   443 	SPR_AIRPORT_RADAR_C             = 2691,
   458 	SPR_AIRPORT_RADAR_C             = 2691,
   444 	SPR_AIRPORT_HELIPAD             = SPR_OPENTTD_BASE + 28,
   459 	SPR_AIRPORT_HELIPAD             = SPR_OPENTTD_BASE + 86,
   445 	SPR_AIRPORT_HELIDEPOT_OFFICE    = 2095,
   460 	SPR_AIRPORT_HELIDEPOT_OFFICE    = 2095,
   446 
   461 
   447 	/* Road Stops */
   462 	/* Road Stops */
   448 	/* Road stops have a ground tile and 3 buildings, one on each side
   463 	/* Road stops have a ground tile and 3 buildings, one on each side
   449 	 * (except the side where the entry is). These are marked _A _B and _C */
   464 	 * (except the side where the entry is). These are marked _A _B and _C */
   553 	SPR_SHIP_DEPOT_NW           = 4072,
   568 	SPR_SHIP_DEPOT_NW           = 4072,
   554 	SPR_SHIP_DEPOT_NE           = 4073,
   569 	SPR_SHIP_DEPOT_NE           = 4073,
   555 	SPR_SHIP_DEPOT_SE_REAR      = 4074,
   570 	SPR_SHIP_DEPOT_SE_REAR      = 4074,
   556 	SPR_SHIP_DEPOT_SW_REAR      = 4075,
   571 	SPR_SHIP_DEPOT_SW_REAR      = 4075,
   557 	//here come sloped water sprites
   572 	//here come sloped water sprites
   558 	SPR_WATER_SLOPE_Y_UP        = SPR_CANALS_BASE + 5, //Water flowing negative Y direction
   573 	SPR_WATER_SLOPE_Y_UP        = SPR_CANALS_BASE + 0, //Water flowing negative Y direction
   559 	SPR_WATER_SLOPE_X_DOWN      = SPR_CANALS_BASE + 6, //positive X
   574 	SPR_WATER_SLOPE_X_DOWN      = SPR_CANALS_BASE + 1, //positive X
   560 	SPR_WATER_SLOPE_X_UP        = SPR_CANALS_BASE + 7, //negative X
   575 	SPR_WATER_SLOPE_X_UP        = SPR_CANALS_BASE + 2, //negative X
   561 	SPR_WATER_SLOPE_Y_DOWN      = SPR_CANALS_BASE + 8,  //positive Y
   576 	SPR_WATER_SLOPE_Y_DOWN      = SPR_CANALS_BASE + 3,  //positive Y
   562 	//sprites for the shiplifts
   577 	//sprites for the shiplifts
   563 	//there are 4 kinds of shiplifts, each of them is 3 tiles long.
   578 	//there are 4 kinds of shiplifts, each of them is 3 tiles long.
   564 	//the four kinds are running in the X and Y direction and
   579 	//the four kinds are running in the X and Y direction and
   565 	//are "lowering" either in the "+" or the "-" direction.
   580 	//are "lowering" either in the "+" or the "-" direction.
   566 	//the three tiles are the center tile (where the slope is)
   581 	//the three tiles are the center tile (where the slope is)
   567 	//and a bottom and a top tile
   582 	//and a bottom and a top tile
   568 	SPR_SHIPLIFT_Y_UP_CENTER_REAR     = SPR_CANALS_BASE + 9,
   583 	SPR_SHIPLIFT_BASE                 = SPR_CANALS_BASE +  4,
   569 	SPR_SHIPLIFT_X_DOWN_CENTER_REAR   = SPR_CANALS_BASE + 10,
   584 	SPR_SHIPLIFT_Y_UP_CENTER_REAR     = SPR_CANALS_BASE +  4,
   570 	SPR_SHIPLIFT_X_UP_CENTER_REAR     = SPR_CANALS_BASE + 11,
   585 	SPR_SHIPLIFT_X_DOWN_CENTER_REAR   = SPR_CANALS_BASE +  5,
   571 	SPR_SHIPLIFT_Y_DOWN_CENTER_REAR   = SPR_CANALS_BASE + 12,
   586 	SPR_SHIPLIFT_X_UP_CENTER_REAR     = SPR_CANALS_BASE +  6,
   572 	SPR_SHIPLIFT_Y_UP_CENTER_FRONT    = SPR_CANALS_BASE + 13,
   587 	SPR_SHIPLIFT_Y_DOWN_CENTER_REAR   = SPR_CANALS_BASE +  7,
   573 	SPR_SHIPLIFT_X_DOWN_CENTER_FRONT  = SPR_CANALS_BASE + 14,
   588 	SPR_SHIPLIFT_Y_UP_CENTER_FRONT    = SPR_CANALS_BASE +  8,
   574 	SPR_SHIPLIFT_X_UP_CENTER_FRONT    = SPR_CANALS_BASE + 15,
   589 	SPR_SHIPLIFT_X_DOWN_CENTER_FRONT  = SPR_CANALS_BASE +  9,
   575 	SPR_SHIPLIFT_Y_DOWN_CENTER_FRONT  = SPR_CANALS_BASE + 16,
   590 	SPR_SHIPLIFT_X_UP_CENTER_FRONT    = SPR_CANALS_BASE + 10,
   576 	SPR_SHIPLIFT_Y_UP_BOTTOM_REAR     = SPR_CANALS_BASE + 17,
   591 	SPR_SHIPLIFT_Y_DOWN_CENTER_FRONT  = SPR_CANALS_BASE + 11,
   577 	SPR_SHIPLIFT_X_DOWN_BOTTOM_REAR   = SPR_CANALS_BASE + 18,
   592 	SPR_SHIPLIFT_Y_UP_BOTTOM_REAR     = SPR_CANALS_BASE + 12,
   578 	SPR_SHIPLIFT_X_UP_BOTTOM_REAR     = SPR_CANALS_BASE + 19,
   593 	SPR_SHIPLIFT_X_DOWN_BOTTOM_REAR   = SPR_CANALS_BASE + 13,
   579 	SPR_SHIPLIFT_Y_DOWN_BOTTOM_REAR   = SPR_CANALS_BASE + 20,
   594 	SPR_SHIPLIFT_X_UP_BOTTOM_REAR     = SPR_CANALS_BASE + 14,
   580 	SPR_SHIPLIFT_Y_UP_BOTTOM_FRONT    = SPR_CANALS_BASE + 21,
   595 	SPR_SHIPLIFT_Y_DOWN_BOTTOM_REAR   = SPR_CANALS_BASE + 15,
   581 	SPR_SHIPLIFT_X_DOWN_BOTTOM_FRONT  = SPR_CANALS_BASE + 22,
   596 	SPR_SHIPLIFT_Y_UP_BOTTOM_FRONT    = SPR_CANALS_BASE + 16,
   582 	SPR_SHIPLIFT_X_UP_BOTTOM_FRONT    = SPR_CANALS_BASE + 23,
   597 	SPR_SHIPLIFT_X_DOWN_BOTTOM_FRONT  = SPR_CANALS_BASE + 17,
   583 	SPR_SHIPLIFT_Y_DOWN_BOTTOM_FRONT  = SPR_CANALS_BASE + 24,
   598 	SPR_SHIPLIFT_X_UP_BOTTOM_FRONT    = SPR_CANALS_BASE + 18,
   584 	SPR_SHIPLIFT_Y_UP_TOP_REAR        = SPR_CANALS_BASE + 25,
   599 	SPR_SHIPLIFT_Y_DOWN_BOTTOM_FRONT  = SPR_CANALS_BASE + 19,
   585 	SPR_SHIPLIFT_X_DOWN_TOP_REAR      = SPR_CANALS_BASE + 26,
   600 	SPR_SHIPLIFT_Y_UP_TOP_REAR        = SPR_CANALS_BASE + 20,
   586 	SPR_SHIPLIFT_X_UP_TOP_REAR        = SPR_CANALS_BASE + 27,
   601 	SPR_SHIPLIFT_X_DOWN_TOP_REAR      = SPR_CANALS_BASE + 21,
   587 	SPR_SHIPLIFT_Y_DOWN_TOP_REAR      = SPR_CANALS_BASE + 28,
   602 	SPR_SHIPLIFT_X_UP_TOP_REAR        = SPR_CANALS_BASE + 22,
   588 	SPR_SHIPLIFT_Y_UP_TOP_FRONT       = SPR_CANALS_BASE + 29,
   603 	SPR_SHIPLIFT_Y_DOWN_TOP_REAR      = SPR_CANALS_BASE + 23,
   589 	SPR_SHIPLIFT_X_DOWN_TOP_FRONT     = SPR_CANALS_BASE + 30,
   604 	SPR_SHIPLIFT_Y_UP_TOP_FRONT       = SPR_CANALS_BASE + 24,
   590 	SPR_SHIPLIFT_X_UP_TOP_FRONT       = SPR_CANALS_BASE + 31,
   605 	SPR_SHIPLIFT_X_DOWN_TOP_FRONT     = SPR_CANALS_BASE + 25,
   591 	SPR_SHIPLIFT_Y_DOWN_TOP_FRONT     = SPR_CANALS_BASE + 32,
   606 	SPR_SHIPLIFT_X_UP_TOP_FRONT       = SPR_CANALS_BASE + 26,
       
   607 	SPR_SHIPLIFT_Y_DOWN_TOP_FRONT     = SPR_CANALS_BASE + 27,
       
   608 	SPR_CANAL_DIKES_BASE              = SPR_CANALS_BASE + 52,
   592 
   609 
   593 	/* Sprites for tunnels and bridges */
   610 	/* Sprites for tunnels and bridges */
   594 	SPR_TUNNEL_ENTRY_REAR_RAIL   = 2365,
   611 	SPR_TUNNEL_ENTRY_REAR_RAIL   = 2365,
   595 	SPR_TUNNEL_ENTRY_REAR_MONO   = 2373,
   612 	SPR_TUNNEL_ENTRY_REAR_MONO   = 2373,
   596 	SPR_TUNNEL_ENTRY_REAR_MAGLEV = 2381,
   613 	SPR_TUNNEL_ENTRY_REAR_MAGLEV = 2381,
   600 	SPR_CROSSING_OFF_X_RAIL   = 1370,
   617 	SPR_CROSSING_OFF_X_RAIL   = 1370,
   601 	SPR_CROSSING_OFF_X_MONO   = 1382,
   618 	SPR_CROSSING_OFF_X_MONO   = 1382,
   602 	SPR_CROSSING_OFF_X_MAGLEV = 1394,
   619 	SPR_CROSSING_OFF_X_MAGLEV = 1394,
   603 
   620 
   604 	/* bridge type sprites */
   621 	/* bridge type sprites */
   605 	SPR_PILLARS_BASE = SPR_OPENTTD_BASE + 30,
   622 	SPR_PILLARS_BASE = SPR_OPENTTD_BASE + 14,
   606 
   623 
   607 	/* Wooden bridge (type 0) */
   624 	/* Wooden bridge (type 0) */
   608 	SPR_BTWDN_RAIL_Y_REAR       = 2545,
   625 	SPR_BTWDN_RAIL_Y_REAR       = 2545,
   609 	SPR_BTWDN_RAIL_X_REAR       = 2546,
   626 	SPR_BTWDN_RAIL_X_REAR       = 2546,
   610 	SPR_BTWDN_ROAD_Y_REAR       = 2547,
   627 	SPR_BTWDN_ROAD_Y_REAR       = 2547,
   999 	SPR_IMG_TERRAFORM_DOWN  = 695,
  1016 	SPR_IMG_TERRAFORM_DOWN  = 695,
  1000 	SPR_IMG_DYNAMITE        = 703,
  1017 	SPR_IMG_DYNAMITE        = 703,
  1001 	SPR_IMG_ROCKS           = 4084,
  1018 	SPR_IMG_ROCKS           = 4084,
  1002 	SPR_IMG_LIGHTHOUSE_DESERT = 4085, // XXX - is Desert image on the desert-climate
  1019 	SPR_IMG_LIGHTHOUSE_DESERT = 4085, // XXX - is Desert image on the desert-climate
  1003 	SPR_IMG_TRANSMITTER     = 4086,
  1020 	SPR_IMG_TRANSMITTER     = 4086,
  1004 	SPR_IMG_LEVEL_LAND      = SPR_OPENTTD_BASE + 61,
  1021 	SPR_IMG_LEVEL_LAND      = SPR_OPENTTD_BASE + 91,
  1005 	SPR_IMG_BUILD_CANAL     = SPR_OPENTTD_BASE + 58,
  1022 	SPR_IMG_BUILD_CANAL     = SPR_OPENTTD_BASE + 88,
  1006 	SPR_IMG_BUILD_LOCK      = SPR_CANALS_BASE + 69,
  1023 	SPR_IMG_BUILD_LOCK      = SPR_CANALS_BASE + 64,
  1007 	SPR_IMG_PAUSE           = 726,
  1024 	SPR_IMG_PAUSE           = 726,
  1008 	SPR_IMG_FASTFORWARD     = SPR_OPENTTD_BASE + 54,
  1025 	SPR_IMG_FASTFORWARD     = SPR_OPENTTD_BASE + 90,
  1009 	SPR_IMG_SETTINGS        = 751,
  1026 	SPR_IMG_SETTINGS        = 751,
  1010 	SPR_IMG_SAVE            = 724,
  1027 	SPR_IMG_SAVE            = 724,
  1011 	SPR_IMG_SMALLMAP        = 708,
  1028 	SPR_IMG_SMALLMAP        = 708,
  1012 	SPR_IMG_TOWN            = 4077,
  1029 	SPR_IMG_TOWN            = 4077,
  1013 	SPR_IMG_SUBSIDIES       = 679,
  1030 	SPR_IMG_SUBSIDIES       = 679,
  1039 	SPR_IMG_BUY_LAND        = 4791,
  1056 	SPR_IMG_BUY_LAND        = 4791,
  1040 
  1057 
  1041 	/* OPEN TRANSPORT TYCOON in gamescreen */
  1058 	/* OPEN TRANSPORT TYCOON in gamescreen */
  1042 	SPR_OTTD_O                = 4842,
  1059 	SPR_OTTD_O                = 4842,
  1043 	SPR_OTTD_P                = 4841,
  1060 	SPR_OTTD_P                = 4841,
  1044 	SPR_OTTD_E                = SPR_OPENTTD_BASE + 13,
  1061 	SPR_OTTD_E                = SPR_OPENTTD_BASE + 12,
  1045 	SPR_OTTD_D                = SPR_OPENTTD_BASE + 14,
  1062 	SPR_OTTD_D                = SPR_OPENTTD_BASE + 13,
  1046 	SPR_OTTD_N                = 4839,
  1063 	SPR_OTTD_N                = 4839,
  1047 	SPR_OTTD_T                = 4836,
  1064 	SPR_OTTD_T                = 4836,
  1048 	SPR_OTTD_R                = 4837,
  1065 	SPR_OTTD_R                = 4837,
  1049 	SPR_OTTD_A                = 4838,
  1066 	SPR_OTTD_A                = 4838,
  1050 	SPR_OTTD_S                = 4840,
  1067 	SPR_OTTD_S                = 4840,
  1189 	SPR_BUBBLE_ABSORB_2 = 4760,
  1206 	SPR_BUBBLE_ABSORB_2 = 4760,
  1190 	SPR_BUBBLE_ABSORB_3 = 4761,
  1207 	SPR_BUBBLE_ABSORB_3 = 4761,
  1191 	SPR_BUBBLE_ABSORB_4 = 4762,
  1208 	SPR_BUBBLE_ABSORB_4 = 4762,
  1192 
  1209 
  1193 	/* Electrified rail build menu */
  1210 	/* Electrified rail build menu */
  1194 	SPR_BUILD_NS_ELRAIL = SPR_ELRAIL_BASE + 39,
  1211 	SPR_BUILD_NS_ELRAIL = SPR_ELRAIL_BASE + 36,
  1195 	SPR_BUILD_X_ELRAIL  = SPR_ELRAIL_BASE + 40,
  1212 	SPR_BUILD_X_ELRAIL  = SPR_ELRAIL_BASE + 37,
  1196 	SPR_BUILD_EW_ELRAIL = SPR_ELRAIL_BASE + 41,
  1213 	SPR_BUILD_EW_ELRAIL = SPR_ELRAIL_BASE + 38,
  1197 	SPR_BUILD_Y_ELRAIL  = SPR_ELRAIL_BASE + 42,
  1214 	SPR_BUILD_Y_ELRAIL  = SPR_ELRAIL_BASE + 39,
  1198 	SPR_BUILD_TUNNEL_ELRAIL = SPR_ELRAIL_BASE + 47,
  1215 	SPR_BUILD_TUNNEL_ELRAIL = SPR_ELRAIL_BASE + 44,
  1199 
  1216 
  1200 	/* airport_gui.c */
  1217 	/* airport_gui.c */
  1201 	SPR_IMG_AIRPORT       = 744,
  1218 	SPR_IMG_AIRPORT       = 744,
  1202 
  1219 
  1203 	/* dock_gui.c */
  1220 	/* dock_gui.c */
  1210 	SPR_IMG_SKIP_TO_NEXT  = 710,
  1227 	SPR_IMG_SKIP_TO_NEXT  = 710,
  1211 	SPR_IMG_STOP_MUSIC    = 711,
  1228 	SPR_IMG_STOP_MUSIC    = 711,
  1212 	SPR_IMG_PLAY_MUSIC    = 712,
  1229 	SPR_IMG_PLAY_MUSIC    = 712,
  1213 
  1230 
  1214 	/* road_gui.c */
  1231 	/* road_gui.c */
  1215 	SPR_IMG_ROAD_NW       = 1309,
  1232 	SPR_IMG_ROAD_Y_DIR    = 1309,
  1216 	SPR_IMG_ROAD_NE       = 1310,
  1233 	SPR_IMG_ROAD_X_DIR    = 1310,
       
  1234 	SPR_IMG_AUTOROAD      = SPR_OPENTTD_BASE + 82,
  1217 	SPR_IMG_ROAD_DEPOT    = 1295,
  1235 	SPR_IMG_ROAD_DEPOT    = 1295,
  1218 	SPR_IMG_BUS_STATION   = 749,
  1236 	SPR_IMG_BUS_STATION   = 749,
  1219 	SPR_IMG_TRUCK_BAY     = 750,
  1237 	SPR_IMG_TRUCK_BAY     = 750,
  1220 	SPR_IMG_BRIDGE        = 2594,
  1238 	SPR_IMG_BRIDGE        = 2594,
  1221 	SPR_IMG_ROAD_TUNNEL   = 2429,
  1239 	SPR_IMG_ROAD_TUNNEL   = 2429,
  1222 	SPR_IMG_REMOVE        = 714,
  1240 	SPR_IMG_REMOVE        = 714,
  1223 	SPR_IMG_TRAMWAY_NW    = SPR_TRAMWAY_BASE + 0,
  1241 	SPR_IMG_ROAD_ONE_WAY  = SPR_OPENTTD_BASE + 134,
  1224 	SPR_IMG_TRAMWAY_NE    = SPR_TRAMWAY_BASE + 1,
  1242 	SPR_IMG_TRAMWAY_Y_DIR = SPR_TRAMWAY_BASE + 0,
       
  1243 	SPR_IMG_TRAMWAY_X_DIR = SPR_TRAMWAY_BASE + 1,
       
  1244 	SPR_IMG_AUTOTRAM      = SPR_OPENTTD_BASE + 84,
  1225 
  1245 
  1226 	/* rail_gui.c */
  1246 	/* rail_gui.c */
  1227 	SPR_IMG_RAIL_NS    = 1251,
  1247 	SPR_IMG_RAIL_NS    = 1251,
  1228 	SPR_IMG_RAIL_NE    = 1252,
  1248 	SPR_IMG_RAIL_NE    = 1252,
  1229 	SPR_IMG_RAIL_EW    = 1253,
  1249 	SPR_IMG_RAIL_EW    = 1253,
  1230 	SPR_IMG_RAIL_NW    = 1254,
  1250 	SPR_IMG_RAIL_NW    = 1254,
  1231 	SPR_IMG_AUTORAIL   = SPR_OPENTTD_BASE + 0,
  1251 	SPR_IMG_AUTORAIL   = SPR_OPENTTD_BASE + 53,
  1232 	SPR_IMG_AUTOMONO   = SPR_OPENTTD_BASE + 1,
  1252 	SPR_IMG_AUTOELRAIL = SPR_OPENTTD_BASE + 57,
  1233 	SPR_IMG_AUTOMAGLEV = SPR_OPENTTD_BASE + 2,
  1253 	SPR_IMG_AUTOMONO   = SPR_OPENTTD_BASE + 63,
  1234 
  1254 	SPR_IMG_AUTOMAGLEV = SPR_OPENTTD_BASE + 69,
  1235 	SPR_IMG_WAYPOINT = SPR_OPENTTD_BASE + 3,
  1255 
       
  1256 	SPR_IMG_WAYPOINT = SPR_OPENTTD_BASE + 76,
  1236 
  1257 
  1237 	SPR_IMG_DEPOT_RAIL   = 1294,
  1258 	SPR_IMG_DEPOT_RAIL   = 1294,
  1238 	SPR_IMG_DEPOT_MONO   = SPR_OPENTTD_BASE + 9,
  1259 	SPR_IMG_DEPOT_ELRAIL = SPR_OPENTTD_BASE + 61,
  1239 	SPR_IMG_DEPOT_MAGLEV = SPR_OPENTTD_BASE + 10,
  1260 	SPR_IMG_DEPOT_MONO   = SPR_OPENTTD_BASE + 67,
       
  1261 	SPR_IMG_DEPOT_MAGLEV = SPR_OPENTTD_BASE + 73,
  1240 
  1262 
  1241 	SPR_IMG_RAIL_STATION = 1298,
  1263 	SPR_IMG_RAIL_STATION = 1298,
  1242 	SPR_IMG_RAIL_SIGNALS = 1291,
  1264 	SPR_IMG_RAIL_SIGNALS = 1291,
  1243 
  1265 
  1244 	SPR_IMG_TUNNEL_RAIL   = 2430,
  1266 	SPR_IMG_TUNNEL_RAIL   = 2430,
  1245 	SPR_IMG_TUNNEL_MONO   = 2431,
  1267 	SPR_IMG_TUNNEL_MONO   = 2431,
  1246 	SPR_IMG_TUNNEL_MAGLEV = 2432,
  1268 	SPR_IMG_TUNNEL_MAGLEV = 2432,
  1247 
  1269 
  1248 	SPR_IMG_CONVERT_RAIL   = SPR_OPENTTD_BASE + 22,
  1270 	SPR_IMG_CONVERT_RAIL   = SPR_OPENTTD_BASE + 55,
  1249 	SPR_IMG_CONVERT_MONO   = SPR_OPENTTD_BASE + 24,
  1271 	SPR_IMG_CONVERT_ELRAIL = SPR_OPENTTD_BASE + 59,
  1250 	SPR_IMG_CONVERT_MAGLEV = SPR_OPENTTD_BASE + 26,
  1272 	SPR_IMG_CONVERT_MONO   = SPR_OPENTTD_BASE + 65,
       
  1273 	SPR_IMG_CONVERT_MAGLEV = SPR_OPENTTD_BASE + 71,
  1251 
  1274 
  1252 	/* intro_gui.c, genworld_gui.c */
  1275 	/* intro_gui.c, genworld_gui.c */
  1253 	SPR_SELECT_TEMPERATE           = 4882,
  1276 	SPR_SELECT_TEMPERATE           = 4882,
  1254 	SPR_SELECT_TEMPERATE_PUSHED    = 4883,
  1277 	SPR_SELECT_TEMPERATE_PUSHED    = 4883,
  1255 	SPR_SELECT_SUB_ARCTIC          = 4884,
  1278 	SPR_SELECT_SUB_ARCTIC          = 4884,
  1272 	SPR_CURSOR_SHIP_DEPOT     = 721,
  1295 	SPR_CURSOR_SHIP_DEPOT     = 721,
  1273 	SPR_CURSOR_SIGN           = 722,
  1296 	SPR_CURSOR_SIGN           = 722,
  1274 
  1297 
  1275 	SPR_CURSOR_TREE           = 2010,
  1298 	SPR_CURSOR_TREE           = 2010,
  1276 	SPR_CURSOR_BUY_LAND       = 4792,
  1299 	SPR_CURSOR_BUY_LAND       = 4792,
  1277 	SPR_CURSOR_LEVEL_LAND     = SPR_OPENTTD_BASE + 62,
  1300 	SPR_CURSOR_LEVEL_LAND     = SPR_OPENTTD_BASE + 92,
  1278 
  1301 
  1279 	SPR_CURSOR_TOWN           = 4080,
  1302 	SPR_CURSOR_TOWN           = 4080,
  1280 	SPR_CURSOR_INDUSTRY       = 4081,
  1303 	SPR_CURSOR_INDUSTRY       = 4081,
  1281 	SPR_CURSOR_ROCKY_AREA     = 4087,
  1304 	SPR_CURSOR_ROCKY_AREA     = 4087,
  1282 	SPR_CURSOR_LIGHTHOUSE     = 4088,
  1305 	SPR_CURSOR_LIGHTHOUSE     = 4088,
  1285 	/* airport cursors */
  1308 	/* airport cursors */
  1286 	SPR_CURSOR_AIRPORT        = 2724,
  1309 	SPR_CURSOR_AIRPORT        = 2724,
  1287 
  1310 
  1288 	/* dock cursors */
  1311 	/* dock cursors */
  1289 	SPR_CURSOR_DOCK           = 3668,
  1312 	SPR_CURSOR_DOCK           = 3668,
  1290 	SPR_CURSOR_CANAL          = SPR_OPENTTD_BASE + 8,
  1313 	SPR_CURSOR_CANAL          = SPR_OPENTTD_BASE + 89,
  1291 	SPR_CURSOR_LOCK           = SPR_OPENTTD_BASE + 57,
  1314 	SPR_CURSOR_LOCK           = SPR_OPENTTD_BASE + 87,
  1292 
  1315 
  1293 	/* shared road & rail cursors */
  1316 	/* shared road & rail cursors */
  1294 	SPR_CURSOR_BRIDGE         = 2593,
  1317 	SPR_CURSOR_BRIDGE         = 2593,
  1295 
  1318 
  1296 	/* rail cursors */
  1319 	/* rail cursors */
  1307 	SPR_CURSOR_NS_MAGLEV      = 1271,
  1330 	SPR_CURSOR_NS_MAGLEV      = 1271,
  1308 	SPR_CURSOR_SWNE_MAGLEV    = 1272,
  1331 	SPR_CURSOR_SWNE_MAGLEV    = 1272,
  1309 	SPR_CURSOR_EW_MAGLEV      = 1273,
  1332 	SPR_CURSOR_EW_MAGLEV      = 1273,
  1310 	SPR_CURSOR_NWSE_MAGLEV    = 1274,
  1333 	SPR_CURSOR_NWSE_MAGLEV    = 1274,
  1311 
  1334 
  1312 	SPR_CURSOR_NS_ELRAIL      = SPR_ELRAIL_BASE + 43,
  1335 	SPR_CURSOR_NS_ELRAIL      = SPR_ELRAIL_BASE + 40,
  1313 	SPR_CURSOR_SWNE_ELRAIL    = SPR_ELRAIL_BASE + 44,
  1336 	SPR_CURSOR_SWNE_ELRAIL    = SPR_ELRAIL_BASE + 41,
  1314 	SPR_CURSOR_EW_ELRAIL      = SPR_ELRAIL_BASE + 45,
  1337 	SPR_CURSOR_EW_ELRAIL      = SPR_ELRAIL_BASE + 42,
  1315 	SPR_CURSOR_NWSE_ELRAIL    = SPR_ELRAIL_BASE + 46,
  1338 	SPR_CURSOR_NWSE_ELRAIL    = SPR_ELRAIL_BASE + 43,
  1316 
  1339 
  1317 	SPR_CURSOR_RAIL_STATION   = 1300,
  1340 	SPR_CURSOR_RAIL_STATION   = 1300,
  1318 
  1341 
  1319 	SPR_CURSOR_TUNNEL_RAIL    = 2434,
  1342 	SPR_CURSOR_TUNNEL_RAIL    = 2434,
  1320 	SPR_CURSOR_TUNNEL_ELRAIL  = SPR_ELRAIL_BASE + 48,
  1343 	SPR_CURSOR_TUNNEL_ELRAIL  = SPR_ELRAIL_BASE + 45,
  1321 	SPR_CURSOR_TUNNEL_MONO    = 2435,
  1344 	SPR_CURSOR_TUNNEL_MONO    = 2435,
  1322 	SPR_CURSOR_TUNNEL_MAGLEV  = 2436,
  1345 	SPR_CURSOR_TUNNEL_MAGLEV  = 2436,
  1323 
  1346 
  1324 	SPR_CURSOR_AUTORAIL       = SPR_OPENTTD_BASE + 4,
  1347 	SPR_CURSOR_AUTORAIL       = SPR_OPENTTD_BASE + 54,
  1325 	SPR_CURSOR_AUTOMONO       = SPR_OPENTTD_BASE + 5,
  1348 	SPR_CURSOR_AUTOELRAIL     = SPR_OPENTTD_BASE + 58,
  1326 	SPR_CURSOR_AUTOMAGLEV     = SPR_OPENTTD_BASE + 6,
  1349 	SPR_CURSOR_AUTOMONO       = SPR_OPENTTD_BASE + 64,
  1327 
  1350 	SPR_CURSOR_AUTOMAGLEV     = SPR_OPENTTD_BASE + 70,
  1328 	SPR_CURSOR_WAYPOINT       = SPR_OPENTTD_BASE + 7,
  1351 
       
  1352 	SPR_CURSOR_WAYPOINT       = SPR_OPENTTD_BASE + 77,
  1329 
  1353 
  1330 	SPR_CURSOR_RAIL_DEPOT     = 1296,
  1354 	SPR_CURSOR_RAIL_DEPOT     = 1296,
  1331 	SPR_CURSOR_MONO_DEPOT     = SPR_OPENTTD_BASE + 11,
  1355 	SPR_CURSOR_ELRAIL_DEPOT   = SPR_OPENTTD_BASE + 62,
  1332 	SPR_CURSOR_MAGLEV_DEPOT   = SPR_OPENTTD_BASE + 12,
  1356 	SPR_CURSOR_MONO_DEPOT     = SPR_OPENTTD_BASE + 68,
  1333 
  1357 	SPR_CURSOR_MAGLEV_DEPOT   = SPR_OPENTTD_BASE + 74,
  1334 	SPR_CURSOR_CONVERT_RAIL   = SPR_OPENTTD_BASE + 23,
  1358 
  1335 	SPR_CURSOR_CONVERT_MONO   = SPR_OPENTTD_BASE + 25,
  1359 	SPR_CURSOR_CONVERT_RAIL   = SPR_OPENTTD_BASE + 56,
  1336 	SPR_CURSOR_CONVERT_MAGLEV = SPR_OPENTTD_BASE + 27,
  1360 	SPR_CURSOR_CONVERT_ELRAIL = SPR_OPENTTD_BASE + 60,
       
  1361 	SPR_CURSOR_CONVERT_MONO   = SPR_OPENTTD_BASE + 66,
       
  1362 	SPR_CURSOR_CONVERT_MAGLEV = SPR_OPENTTD_BASE + 72,
  1337 
  1363 
  1338 	/* road cursors */
  1364 	/* road cursors */
  1339 	SPR_CURSOR_ROAD_NESW      = 1311,
  1365 	SPR_CURSOR_ROAD_NESW      = 1311,
  1340 	SPR_CURSOR_ROAD_NWSE      = 1312,
  1366 	SPR_CURSOR_ROAD_NWSE      = 1312,
       
  1367 	SPR_CURSOR_AUTOROAD       = SPR_OPENTTD_BASE + 83,
  1341 	SPR_CURSOR_TRAMWAY_NESW   = SPR_TRAMWAY_BASE + 2,
  1368 	SPR_CURSOR_TRAMWAY_NESW   = SPR_TRAMWAY_BASE + 2,
  1342 	SPR_CURSOR_TRAMWAY_NWSE   = SPR_TRAMWAY_BASE + 3,
  1369 	SPR_CURSOR_TRAMWAY_NWSE   = SPR_TRAMWAY_BASE + 3,
       
  1370 	SPR_CURSOR_AUTOTRAM       = SPR_OPENTTD_BASE + 85,
  1343 
  1371 
  1344 	SPR_CURSOR_ROAD_DEPOT     = 1297,
  1372 	SPR_CURSOR_ROAD_DEPOT     = 1297,
  1345 	SPR_CURSOR_BUS_STATION    = 2725,
  1373 	SPR_CURSOR_BUS_STATION    = 2725,
  1346 	SPR_CURSOR_TRUCK_STATION  = 2726,
  1374 	SPR_CURSOR_TRUCK_STATION  = 2726,
  1347 	SPR_CURSOR_ROAD_TUNNEL    = 2433,
  1375 	SPR_CURSOR_ROAD_TUNNEL    = 2433,
  1348 
  1376 
  1349 	SPR_CURSOR_CLONE_TRAIN    = SPR_OPENTTD_BASE +  88,
  1377 	SPR_CURSOR_CLONE_TRAIN    = SPR_OPENTTD_BASE + 110,
  1350 	SPR_CURSOR_CLONE_ROADVEH  = SPR_OPENTTD_BASE + 105,
  1378 	SPR_CURSOR_CLONE_ROADVEH  = SPR_OPENTTD_BASE + 111,
  1351 	SPR_CURSOR_CLONE_SHIP     = SPR_OPENTTD_BASE + 107,
  1379 	SPR_CURSOR_CLONE_SHIP     = SPR_OPENTTD_BASE + 112,
  1352 	SPR_CURSOR_CLONE_AIRPLANE = SPR_OPENTTD_BASE + 109
  1380 	SPR_CURSOR_CLONE_AIRPLANE = SPR_OPENTTD_BASE + 113,
  1353 };
  1381 };
  1354 
  1382 
  1355 /// Animation macro in table/animcursors.h (_animcursors[])
  1383 /// Animation macro in table/animcursors.h (_animcursors[])
  1356 enum AnimCursors {
  1384 enum AnimCursors {
  1357 	ANIMCURSOR_DEMOLISH     = -1, ///<  704 -  707 - demolish dynamite
  1385 	ANIMCURSOR_DEMOLISH     = -1, ///<  704 -  707 - demolish dynamite