table/engines.h
changeset 3355 a653b8e47f27
parent 3096 682c6f2c0b6e
child 3862 898c8212afa1
equal deleted inserted replaced
3354:88222b8dafef 3355:a653b8e47f27
    25   */
    25   */
    26 #define MW(a, b, c, d, e, f) { a, b | 0x80, c, d, e, f, 0, 0 }
    26 #define MW(a, b, c, d, e, f) { a, b | 0x80, c, d, e, f, 0, 0 }
    27 
    27 
    28 // Rail types
    28 // Rail types
    29 // R = Conventional railway
    29 // R = Conventional railway
       
    30 // E = Electrified railway
    30 // M = Monorail
    31 // M = Monorail
    31 // L = MagLev
    32 // L = MagLev
    32 #define R 0
    33 #define R 0
    33 #define M 1
    34 #define E 1
    34 #define L 2
    35 #define M 2
       
    36 #define L 3
    35 // Climates
    37 // Climates
    36 // T = Temperate
    38 // T = Temperate
    37 // A = Arctic
    39 // A = Arctic
    38 // S = Sub-Tropic
    40 // S = Sub-Tropic
    39 // Y = Toyland
    41 // Y = Toyland
    63 	MK( 18993,  20,  22,  30, R,   A|S  ), /*  18 Centennial (Diesel) */
    65 	MK( 18993,  20,  22,  30, R,   A|S  ), /*  18 Centennial (Diesel) */
    64 	MK( 13880,  20,  22,  30, R,   A|S  ), /*  19 Kelling 3100 (Diesel) */
    66 	MK( 13880,  20,  22,  30, R,   A|S  ), /*  19 Kelling 3100 (Diesel) */
    65 	MK( 20454,  20,  22,  30, R,   A|S  ), /*  20 Turner Turbo (Diesel) */
    67 	MK( 20454,  20,  22,  30, R,   A|S  ), /*  20 Turner Turbo (Diesel) */
    66 	MK( 16071,  20,  22,  30, R,   A|S  ), /*  21 MJS 1000 (Diesel) */
    68 	MK( 16071,  20,  22,  30, R,   A|S  ), /*  21 MJS 1000 (Diesel) */
    67 	MK( 20820,  20,  20,  25, R, T      ), /*  22 SH '125' (Diesel) */
    69 	MK( 20820,  20,  20,  25, R, T      ), /*  22 SH '125' (Diesel) */
    68 	MK( 16437,  20,  23,  30, R, T      ), /*  23 SH '30' (Electric) */
    70 	MK( 16437,  20,  23,  30, E, T      ), /*  23 SH '30' (Electric) */
    69 	MK( 19359,  20,  23,  80, R, T      ), /*  24 SH '40' (Electric) */
    71 	MK( 19359,  20,  23,  80, E, T      ), /*  24 SH '40' (Electric) */
    70 	MK( 23376,  20,  25,  30, R, T      ), /*  25 'T.I.M.' (Electric) */
    72 	MK( 23376,  20,  25,  30, E, T      ), /*  25 'T.I.M.' (Electric) */
    71 	MK( 26298,  20,  25,  50, R, T      ), /*  26 'AsiaStar' (Electric) */
    73 	MK( 26298,  20,  25,  50, E, T      ), /*  26 'AsiaStar' (Electric) */
    72 	MW(  1827,  20,  20,  50, R, T|A|S|Y), /*  27 Passenger Carriage */
    74 	MW(  1827,  20,  20,  50, R, T|A|S|Y), /*  27 Passenger Carriage */
    73 	MW(  1827,  20,  20,  50, R, T|A|S|Y), /*  28 Mail Van */
    75 	MW(  1827,  20,  20,  50, R, T|A|S|Y), /*  28 Mail Van */
    74 	MW(  1827,  20,  20,  50, R, T|A    ), /*  29 Coal Truck */
    76 	MW(  1827,  20,  20,  50, R, T|A    ), /*  29 Coal Truck */
    75 	MW(  1827,  20,  20,  50, R, T|A|S  ), /*  30 Oil Tanker */
    77 	MW(  1827,  20,  20,  50, R, T|A|S  ), /*  30 Oil Tanker */
    76 	MW(  1827,  20,  20,  50, R, T|A    ), /*  31 Livestock Van */
    78 	MW(  1827,  20,  20,  50, R, T|A    ), /*  31 Livestock Van */
   304 #undef A
   306 #undef A
   305 #undef T
   307 #undef T
   306 #undef L
   308 #undef L
   307 #undef M
   309 #undef M
   308 #undef R
   310 #undef R
       
   311 #undef E
   309 
   312 
   310 /** Writes the properties of a rail vehicle into the RailVehicleInfo struct.
   313 /** Writes the properties of a rail vehicle into the RailVehicleInfo struct.
   311  * @see RailVehicleInfo
   314  * @see RailVehicleInfo
   312  * @param a image_index
   315  * @param a image_index
   313  * @param b flags
   316  * @param b flags