table/engines.h
author celestar
Wed, 29 Mar 2006 16:30:26 +0000
changeset 3355 e414a0b104a6
parent 3096 c99edbe5f20f
child 3862 fe7b57944a39
permissions -rw-r--r--
(svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
2186
db48cf29b983 (svn r2701) Insert Id tags into all source files
tron
parents: 2171
diff changeset
     1
/* $Id$ */
db48cf29b983 (svn r2701) Insert Id tags into all source files
tron
parents: 2171
diff changeset
     2
376
6ffd7911bf39 (svn r565) -newgrf: fixed double work of RoadVehicleInfo[]; added AircraftVehicleInfo[] as well. table/engines.h is now the same as in the _map branch.
darkvater
parents: 374
diff changeset
     3
#ifndef ENGINES_H
6ffd7911bf39 (svn r565) -newgrf: fixed double work of RoadVehicleInfo[]; added AircraftVehicleInfo[] as well. table/engines.h is now the same as in the _map branch.
darkvater
parents: 374
diff changeset
     4
#define ENGINES_H
6ffd7911bf39 (svn r565) -newgrf: fixed double work of RoadVehicleInfo[]; added AircraftVehicleInfo[] as well. table/engines.h is now the same as in the _map branch.
darkvater
parents: 374
diff changeset
     5
2129
5a1fe83c2b4d (svn r2639) -Add: Added the vehicle names in table/engines.h so that you know what line represents what vehicle (I hope I didn't mess that up). Added some comments while I'm at it and include the table/ directory in the Doxygen generation
celestar
parents: 1922
diff changeset
     6
/** @file table/engines.h
5a1fe83c2b4d (svn r2639) -Add: Added the vehicle names in table/engines.h so that you know what line represents what vehicle (I hope I didn't mess that up). Added some comments while I'm at it and include the table/ directory in the Doxygen generation
celestar
parents: 1922
diff changeset
     7
  * This file contains all the data for vehicles
5a1fe83c2b4d (svn r2639) -Add: Added the vehicle names in table/engines.h so that you know what line represents what vehicle (I hope I didn't mess that up). Added some comments while I'm at it and include the table/ directory in the Doxygen generation
celestar
parents: 1922
diff changeset
     8
  */
5a1fe83c2b4d (svn r2639) -Add: Added the vehicle names in table/engines.h so that you know what line represents what vehicle (I hope I didn't mess that up). Added some comments while I'm at it and include the table/ directory in the Doxygen generation
celestar
parents: 1922
diff changeset
     9
2189
5cdc11ffeaa4 (svn r2704) Remove . from include path again, too much trouble. Also add some #ifdefs and #includes for the Windows build
tron
parents: 2186
diff changeset
    10
#include "../sound.h"
376
6ffd7911bf39 (svn r565) -newgrf: fixed double work of RoadVehicleInfo[]; added AircraftVehicleInfo[] as well. table/engines.h is now the same as in the _map branch.
darkvater
parents: 374
diff changeset
    11
2129
5a1fe83c2b4d (svn r2639) -Add: Added the vehicle names in table/engines.h so that you know what line represents what vehicle (I hope I didn't mess that up). Added some comments while I'm at it and include the table/ directory in the Doxygen generation
celestar
parents: 1922
diff changeset
    12
/** Writes the properties of a vehicle into the EngineInfo struct.
5a1fe83c2b4d (svn r2639) -Add: Added the vehicle names in table/engines.h so that you know what line represents what vehicle (I hope I didn't mess that up). Added some comments while I'm at it and include the table/ directory in the Doxygen generation
celestar
parents: 1922
diff changeset
    13
  * @see EngineInfo
2147
eb6ba42fd216 (svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
celestar
parents: 2129
diff changeset
    14
  * @param a Introduction date
eb6ba42fd216 (svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
celestar
parents: 2129
diff changeset
    15
  * @param e Rail Type of the vehicle
eb6ba42fd216 (svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
celestar
parents: 2129
diff changeset
    16
  * @param f Bitmask of the climates
2129
5a1fe83c2b4d (svn r2639) -Add: Added the vehicle names in table/engines.h so that you know what line represents what vehicle (I hope I didn't mess that up). Added some comments while I'm at it and include the table/ directory in the Doxygen generation
celestar
parents: 1922
diff changeset
    17
  */
3096
c99edbe5f20f (svn r3685) Include a file missed from r3684...
peter1138
parents: 3022
diff changeset
    18
#define MK(a, b, c, d, e, f) { a, b, c, d, e, f, 0, 0 }
2147
eb6ba42fd216 (svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
celestar
parents: 2129
diff changeset
    19
/** Writes the properties of a train carriage into the EngineInfo struct.
eb6ba42fd216 (svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
celestar
parents: 2129
diff changeset
    20
  * @see EngineInfo
eb6ba42fd216 (svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
celestar
parents: 2129
diff changeset
    21
  * @param a Introduction date
eb6ba42fd216 (svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
celestar
parents: 2129
diff changeset
    22
  * @param e Rail Type of the vehicle
eb6ba42fd216 (svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
celestar
parents: 2129
diff changeset
    23
  * @param f Bitmask of the climates
eb6ba42fd216 (svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
celestar
parents: 2129
diff changeset
    24
  * @note the 0x80 in parameter b sets the "is carriage bit"
eb6ba42fd216 (svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
celestar
parents: 2129
diff changeset
    25
  */
3096
c99edbe5f20f (svn r3685) Include a file missed from r3684...
peter1138
parents: 3022
diff changeset
    26
#define MW(a, b, c, d, e, f) { a, b | 0x80, c, d, e, f, 0, 0 }
0
29654efe3188 (svn r1) Import of revision 975 of old (crashed) SVN
truelight
parents:
diff changeset
    27
2509
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    28
// Rail types
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    29
// R = Conventional railway
3355
e414a0b104a6 (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
celestar
parents: 3096
diff changeset
    30
// E = Electrified railway
2509
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    31
// M = Monorail
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    32
// L = MagLev
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    33
#define R 0
3355
e414a0b104a6 (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
celestar
parents: 3096
diff changeset
    34
#define E 1
e414a0b104a6 (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
celestar
parents: 3096
diff changeset
    35
#define M 2
e414a0b104a6 (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
celestar
parents: 3096
diff changeset
    36
#define L 3
2509
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    37
// Climates
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    38
// T = Temperate
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    39
// A = Arctic
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    40
// S = Sub-Tropic
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    41
// Y = Toyland
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    42
#define T 1
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    43
#define A 2
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    44
#define S 4
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    45
#define Y 8
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    46
const EngineInfo orig_engine_info[] = {
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    47
	MK(  1827,  20,  15,  30, R, T      ), /*   0 Kirby Paul Tank (Steam) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    48
	MK( 12784,  20,  22,  30, R,   A|S  ), /*   1 MJS 250 (Diesel) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    49
	MK(  9497,  20,  20,  50, R,       Y), /*   2 Ploddyphut Choo-Choo */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    50
	MK( 11688,  20,  20,  30, R,       Y), /*   3 Powernaut Choo-Choo */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    51
	MK( 16802,  20,  20,  30, R,       Y), /*   4 Mightymover Choo-Choo */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    52
	MK( 18993,  20,  20,  30, R,       Y), /*   5 Ploddyphut Diesel */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    53
	MK( 20820,  20,  20,  30, R,       Y), /*   6 Powernaut Diesel */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    54
	MK(  8766,  20,  20,  30, R,   A|S  ), /*   7 Wills 2-8-0 (Steam) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    55
	MK(  5114,  20,  21,  30, R, T      ), /*   8 Chaney 'Jubilee' (Steam) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    56
	MK(  5479,  20,  20,  30, R, T      ), /*   9 Ginzu 'A4' (Steam) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    57
	MK( 12419,  20,  23,  25, R, T      ), /*  10 SH '8P' (Steam) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    58
	MK( 13149,  20,  12,  30, R, T      ), /*  11 Manley-Morel DMU (Diesel) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    59
	MK( 23376,  20,  15,  35, R, T      ), /*  12 'Dash' (Diesel) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    60
	MK( 14976,  20,  18,  28, R, T      ), /*  13 SH/Hendry '25' (Diesel) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    61
	MK( 14245,  20,  20,  30, R, T      ), /*  14 UU '37' (Diesel) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    62
	MK( 15341,  20,  22,  33, R, T      ), /*  15 Floss '47' (Diesel) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    63
	MK( 14976,  20,  20,  25, R,   A|S  ), /*  16 CS 4000 (Diesel) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    64
	MK( 16437,  20,  20,  30, R,   A|S  ), /*  17 CS 2400 (Diesel) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    65
	MK( 18993,  20,  22,  30, R,   A|S  ), /*  18 Centennial (Diesel) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    66
	MK( 13880,  20,  22,  30, R,   A|S  ), /*  19 Kelling 3100 (Diesel) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    67
	MK( 20454,  20,  22,  30, R,   A|S  ), /*  20 Turner Turbo (Diesel) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    68
	MK( 16071,  20,  22,  30, R,   A|S  ), /*  21 MJS 1000 (Diesel) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    69
	MK( 20820,  20,  20,  25, R, T      ), /*  22 SH '125' (Diesel) */
3355
e414a0b104a6 (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
celestar
parents: 3096
diff changeset
    70
	MK( 16437,  20,  23,  30, E, T      ), /*  23 SH '30' (Electric) */
e414a0b104a6 (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
celestar
parents: 3096
diff changeset
    71
	MK( 19359,  20,  23,  80, E, T      ), /*  24 SH '40' (Electric) */
e414a0b104a6 (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
celestar
parents: 3096
diff changeset
    72
	MK( 23376,  20,  25,  30, E, T      ), /*  25 'T.I.M.' (Electric) */
e414a0b104a6 (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
celestar
parents: 3096
diff changeset
    73
	MK( 26298,  20,  25,  50, E, T      ), /*  26 'AsiaStar' (Electric) */
2509
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    74
	MW(  1827,  20,  20,  50, R, T|A|S|Y), /*  27 Passenger Carriage */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    75
	MW(  1827,  20,  20,  50, R, T|A|S|Y), /*  28 Mail Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    76
	MW(  1827,  20,  20,  50, R, T|A    ), /*  29 Coal Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    77
	MW(  1827,  20,  20,  50, R, T|A|S  ), /*  30 Oil Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    78
	MW(  1827,  20,  20,  50, R, T|A    ), /*  31 Livestock Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    79
	MW(  1827,  20,  20,  50, R, T|A|S  ), /*  32 Goods Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    80
	MW(  1827,  20,  20,  50, R, T|A|S  ), /*  33 Grain Hopper */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    81
	MW(  1827,  20,  20,  50, R, T|A|S  ), /*  34 Wood Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    82
	MW(  1827,  20,  20,  50, R, T      ), /*  35 Iron Ore Hopper */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    83
	MW(  1827,  20,  20,  50, R, T      ), /*  36 Steel Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    84
	MW(  1827,  20,  20,  50, R, T|A|S  ), /*  37 Armoured Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    85
	MW(  1827,  20,  20,  50, R,   A|S  ), /*  38 Food Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    86
	MW(  1827,  20,  20,  50, R,   A    ), /*  39 Paper Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    87
	MW(  1827,  20,  20,  50, R,     S  ), /*  40 Copper Ore Hopper */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    88
	MW(  1827,  20,  20,  50, R,     S  ), /*  41 Water Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    89
	MW(  1827,  20,  20,  50, R,     S  ), /*  42 Fruit Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    90
	MW(  1827,  20,  20,  50, R,     S  ), /*  43 Rubber Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    91
	MW(  1827,  20,  20,  50, R,       Y), /*  44 Sugar Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    92
	MW(  1827,  20,  20,  50, R,       Y), /*  45 Candyfloss Hopper */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    93
	MW(  1827,  20,  20,  50, R,       Y), /*  46 Toffee Hopper */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    94
	MW(  1827,  20,  20,  50, R,       Y), /*  47 Bubble Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    95
	MW(  1827,  20,  20,  50, R,       Y), /*  48 Cola Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    96
	MW(  1827,  20,  20,  50, R,       Y), /*  49 Sweet Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    97
	MW(  1827,  20,  20,  50, R,       Y), /*  50 Toy Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    98
	MW(  1827,  20,  20,  50, R,       Y), /*  51 Battery Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
    99
	MW(  1827,  20,  20,  50, R,       Y), /*  52 Fizzy Drink Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   100
	MW(  1827,  20,  20,  50, R,       Y), /*  53 Plastic Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   101
	MK( 28490,  20,  20,  50, M, T|A|S  ), /*  54 'X2001' (Electric) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   102
	MK( 31047,  20,  20,  50, M, T|A|S  ), /*  55 'Millennium Z1' (Electric) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   103
	MK( 28855,  20,  20,  50, M,       Y), /*  56 Wizzowow Z99 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   104
	MW(  1827,  20,  20,  50, M, T|A|S|Y), /*  57 Passenger Carriage */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   105
	MW(  1827,  20,  20,  50, M, T|A|S|Y), /*  58 Mail Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   106
	MW(  1827,  20,  20,  50, M, T|A    ), /*  59 Coal Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   107
	MW(  1827,  20,  20,  50, M, T|A|S  ), /*  60 Oil Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   108
	MW(  1827,  20,  20,  50, M, T|A    ), /*  61 Livestock Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   109
	MW(  1827,  20,  20,  50, M, T|A|S  ), /*  62 Goods Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   110
	MW(  1827,  20,  20,  50, M, T|A|S  ), /*  63 Grain Hopper */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   111
	MW(  1827,  20,  20,  50, M, T|A|S  ), /*  64 Wood Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   112
	MW(  1827,  20,  20,  50, M, T      ), /*  65 Iron Ore Hopper */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   113
	MW(  1827,  20,  20,  50, M, T      ), /*  66 Steel Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   114
	MW(  1827,  20,  20,  50, M, T|A|S  ), /*  67 Armoured Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   115
	MW(  1827,  20,  20,  50, M,   A|S  ), /*  68 Food Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   116
	MW(  1827,  20,  20,  50, M,   A    ), /*  69 Paper Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   117
	MW(  1827,  20,  20,  50, M,     S  ), /*  70 Copper Ore Hopper */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   118
	MW(  1827,  20,  20,  50, M,     S  ), /*  71 Water Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   119
	MW(  1827,  20,  20,  50, M,     S  ), /*  72 Fruit Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   120
	MW(  1827,  20,  20,  50, M,     S  ), /*  73 Rubber Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   121
	MW(  1827,  20,  20,  50, M,       Y), /*  74 Sugar Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   122
	MW(  1827,  20,  20,  50, M,       Y), /*  75 Candyfloss Hopper */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   123
	MW(  1827,  20,  20,  50, M,       Y), /*  76 Toffee Hopper */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   124
	MW(  1827,  20,  20,  50, M,       Y), /*  77 Bubble Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   125
	MW(  1827,  20,  20,  50, M,       Y), /*  78 Cola Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   126
	MW(  1827,  20,  20,  50, M,       Y), /*  79 Sweet Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   127
	MW(  1827,  20,  20,  50, M,       Y), /*  80 Toy Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   128
	MW(  1827,  20,  20,  50, M,       Y), /*  81 Battery Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   129
	MW(  1827,  20,  20,  50, M,       Y), /*  82 Fizzy Drink Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   130
	MW(  1827,  20,  20,  50, M,       Y), /*  83 Plastic Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   131
	MK( 36525,  20,  20,  50, L, T|A|S  ), /*  84 Lev1 'Leviathan' (Electric) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   132
	MK( 39447,  20,  20,  50, L, T|A|S  ), /*  85 Lev2 'Cyclops' (Electric) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   133
	MK( 42004,  20,  20,  50, L, T|A|S  ), /*  86 Lev3 'Pegasus' (Electric) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   134
	MK( 42735,  20,  20,  50, L, T|A|S  ), /*  87 Lev4 'Chimaera' (Electric) */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   135
	MK( 36891,  20,  20,  60, L,       Y), /*  88 Wizzowow Rocketeer */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   136
	MW(  1827,  20,  20,  50, L, T|A|S|Y), /*  89 Passenger Carriage */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   137
	MW(  1827,  20,  20,  50, L, T|A|S|Y), /*  90 Mail Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   138
	MW(  1827,  20,  20,  50, L, T|A    ), /*  91 Coal Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   139
	MW(  1827,  20,  20,  50, L, T|A|S  ), /*  92 Oil Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   140
	MW(  1827,  20,  20,  50, L, T|A    ), /*  93 Livestock Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   141
	MW(  1827,  20,  20,  50, L, T|A|S  ), /*  94 Goods Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   142
	MW(  1827,  20,  20,  50, L, T|A|S  ), /*  95 Grain Hopper */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   143
	MW(  1827,  20,  20,  50, L, T|A|S  ), /*  96 Wood Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   144
	MW(  1827,  20,  20,  50, L, T      ), /*  97 Iron Ore Hopper */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   145
	MW(  1827,  20,  20,  50, L, T      ), /*  98 Steel Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   146
	MW(  1827,  20,  20,  50, L, T|A|S  ), /*  99 Armoured Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   147
	MW(  1827,  20,  20,  50, L,   A|S  ), /* 100 Food Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   148
	MW(  1827,  20,  20,  50, L,   A    ), /* 101 Paper Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   149
	MW(  1827,  20,  20,  50, L,     S  ), /* 102 Copper Ore Hopper */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   150
	MW(  1827,  20,  20,  50, L,     S  ), /* 103 Water Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   151
	MW(  1827,  20,  20,  50, L,     S  ), /* 104 Fruit Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   152
	MW(  1827,  20,  20,  50, L,     S  ), /* 105 Rubber Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   153
	MW(  1827,  20,  20,  50, L,       Y), /* 106 Sugar Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   154
	MW(  1827,  20,  20,  50, L,       Y), /* 107 Candyfloss Hopper */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   155
	MW(  1827,  20,  20,  50, L,       Y), /* 108 Toffee Hopper */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   156
	MW(  1827,  20,  20,  50, L,       Y), /* 109 Bubble Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   157
	MW(  1827,  20,  20,  50, L,       Y), /* 110 Cola Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   158
	MW(  1827,  20,  20,  50, L,       Y), /* 111 Sweet Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   159
	MW(  1827,  20,  20,  50, L,       Y), /* 112 Toy Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   160
	MW(  1827,  20,  20,  50, L,       Y), /* 113 Battery Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   161
	MW(  1827,  20,  20,  50, L,       Y), /* 114 Fizzy Drink Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   162
	MW(  1827,  20,  20,  50, L,       Y), /* 115 Plastic Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   163
	MK(  3378,  20,  12,  40, 0, T|A|S  ), /* 116 MPS Regal Bus */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   164
	MK( 16071,  20,  15,  30, 0, T|A|S  ), /* 117 Hereford Leopard Bus */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   165
	MK( 24107,  20,  15,  40, 0, T|A|S  ), /* 118 Foster Bus */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   166
	MK( 32142,  20,  15,  80, 0, T|A|S  ), /* 119 Foster MkII Superbus */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   167
	MK(  9132,  20,  15,  40, 0,       Y), /* 120 Ploddyphut MkI Bus */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   168
	MK( 18993,  20,  15,  40, 0,       Y), /* 121 Ploddyphut MkII Bus */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   169
	MK( 32873,  20,  15,  80, 0,       Y), /* 122 Ploddyphut MkIII Bus */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   170
	MK(  5479,  20,  15,  55, 0, T|A    ), /* 123 Balogh Coal Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   171
	MK( 20089,  20,  15,  55, 0, T|A    ), /* 124 Uhl Coal Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   172
	MK( 33969,  20,  15,  85, 0, T|A    ), /* 125 DW Coal Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   173
	MK(  5479,  20,  15,  55, 0, T|A|S  ), /* 126 MPS Mail Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   174
	MK( 21550,  20,  15,  55, 0, T|A|S  ), /* 127 Reynard Mail Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   175
	MK( 35795,  20,  15,  85, 0, T|A|S  ), /* 128 Perry Mail Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   176
	MK(  5479,  20,  15,  55, 0,       Y), /* 129 MightyMover Mail Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   177
	MK( 21550,  20,  15,  55, 0,       Y), /* 130 Powernaught Mail Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   178
	MK( 35795,  20,  15,  85, 0,       Y), /* 131 Wizzowow Mail Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   179
	MK(  5479,  20,  15,  55, 0, T|A|S  ), /* 132 Witcombe Oil Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   180
	MK( 19359,  20,  15,  55, 0, T|A|S  ), /* 133 Foster Oil Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   181
	MK( 31047,  20,  15,  85, 0, T|A|S  ), /* 134 Perry Oil Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   182
	MK(  5479,  20,  15,  55, 0, T|A    ), /* 135 Talbott Livestock Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   183
	MK( 21915,  20,  15,  55, 0, T|A    ), /* 136 Uhl Livestock Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   184
	MK( 37256,  20,  15,  85, 0, T|A    ), /* 137 Foster Livestock Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   185
	MK(  5479,  20,  15,  55, 0, T|A|S  ), /* 138 Balogh Goods Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   186
	MK( 19724,  20,  15,  55, 0, T|A|S  ), /* 139 Craighead Goods Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   187
	MK( 31047,  20,  15,  85, 0, T|A|S  ), /* 140 Goss Goods Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   188
	MK(  5479,  20,  15,  55, 0, T|A|S  ), /* 141 Hereford Grain Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   189
	MK( 21185,  20,  15,  55, 0, T|A|S  ), /* 142 Thomas Grain Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   190
	MK( 32873,  20,  15,  85, 0, T|A|S  ), /* 143 Goss Grain Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   191
	MK(  5479,  20,  15,  55, 0, T|A|S  ), /* 144 Witcombe Wood Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   192
	MK( 19724,  20,  15,  55, 0, T|A|S  ), /* 145 Foster Wood Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   193
	MK( 35430,  20,  15,  85, 0, T|A|S  ), /* 146 Moreland Wood Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   194
	MK(  5479,  20,  15,  55, 0, T      ), /* 147 MPS Iron Ore Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   195
	MK( 20820,  20,  15,  55, 0, T      ), /* 148 Uhl Iron Ore Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   196
	MK( 33238,  20,  15,  85, 0, T      ), /* 149 Chippy Iron Ore Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   197
	MK(  5479,  20,  15,  55, 0, T      ), /* 150 Balogh Steel Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   198
	MK( 21185,  20,  15,  55, 0, T      ), /* 151 Uhl Steel Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   199
	MK( 31777,  20,  15,  85, 0, T      ), /* 152 Kelling Steel Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   200
	MK(  5479,  20,  15,  55, 0, T|A|S  ), /* 153 Balogh Armoured Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   201
	MK( 22281,  20,  15,  55, 0, T|A|S  ), /* 154 Uhl Armoured Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   202
	MK( 33603,  20,  15,  85, 0, T|A|S  ), /* 155 Foster Armoured Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   203
	MK(  5479,  20,  15,  55, 0,   A|S  ), /* 156 Foster Food Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   204
	MK( 18628,  20,  15,  55, 0,   A|S  ), /* 157 Perry Food Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   205
	MK( 30681,  20,  15,  85, 0,   A|S  ), /* 158 Chippy Food Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   206
	MK(  5479,  20,  15,  55, 0,   A    ), /* 159 Uhl Paper Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   207
	MK( 21185,  20,  15,  55, 0,   A    ), /* 160 Balogh Paper Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   208
	MK( 31777,  20,  15,  85, 0,   A    ), /* 161 MPS Paper Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   209
	MK(  5479,  20,  15,  55, 0,     S  ), /* 162 MPS Copper Ore Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   210
	MK( 20820,  20,  15,  55, 0,     S  ), /* 163 Uhl Copper Ore Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   211
	MK( 33238,  20,  15,  85, 0,     S  ), /* 164 Goss Copper Ore Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   212
	MK(  5479,  20,  15,  55, 0,     S  ), /* 165 Uhl Water Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   213
	MK( 20970,  20,  15,  55, 0,     S  ), /* 166 Balogh Water Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   214
	MK( 33388,  20,  15,  85, 0,     S  ), /* 167 MPS Water Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   215
	MK(  5479,  20,  15,  55, 0,     S  ), /* 168 Balogh Fruit Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   216
	MK( 21335,  20,  15,  55, 0,     S  ), /* 169 Uhl Fruit Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   217
	MK( 33753,  20,  15,  85, 0,     S  ), /* 170 Kelling Fruit Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   218
	MK(  5479,  20,  15,  55, 0,     S  ), /* 171 Balogh Rubber Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   219
	MK( 20604,  20,  15,  55, 0,     S  ), /* 172 Uhl Rubber Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   220
	MK( 33023,  20,  15,  85, 0,     S  ), /* 173 RMT Rubber Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   221
	MK(  5479,  20,  15,  55, 0,       Y), /* 174 MightyMover Sugar Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   222
	MK( 19724,  20,  15,  55, 0,       Y), /* 175 Powernaught Sugar Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   223
	MK( 33238,  20,  15,  85, 0,       Y), /* 176 Wizzowow Sugar Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   224
	MK(  5479,  20,  15,  55, 0,       Y), /* 177 MightyMover Cola Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   225
	MK( 20089,  20,  15,  55, 0,       Y), /* 178 Powernaught Cola Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   226
	MK( 33603,  20,  15,  85, 0,       Y), /* 179 Wizzowow Cola Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   227
	MK(  5479,  20,  15,  55, 0,       Y), /* 180 MightyMover Candyfloss Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   228
	MK( 20454,  20,  15,  55, 0,       Y), /* 181 Powernaught Candyfloss Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   229
	MK( 33969,  20,  15,  85, 0,       Y), /* 182 Wizzowow Candyfloss Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   230
	MK(  5479,  20,  15,  55, 0,       Y), /* 183 MightyMover Toffee Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   231
	MK( 20820,  20,  15,  55, 0,       Y), /* 184 Powernaught Toffee Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   232
	MK( 34334,  20,  15,  85, 0,       Y), /* 185 Wizzowow Toffee Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   233
	MK(  5479,  20,  15,  55, 0,       Y), /* 186 MightyMover Toy Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   234
	MK( 21185,  20,  15,  55, 0,       Y), /* 187 Powernaught Toy Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   235
	MK( 34699,  20,  15,  85, 0,       Y), /* 188 Wizzowow Toy Van */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   236
	MK(  5479,  20,  15,  55, 0,       Y), /* 189 MightyMover Sweet Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   237
	MK( 21550,  20,  15,  55, 0,       Y), /* 190 Powernaught Sweet Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   238
	MK( 35064,  20,  15,  85, 0,       Y), /* 191 Wizzowow Sweet Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   239
	MK(  5479,  20,  15,  55, 0,       Y), /* 192 MightyMover Battery Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   240
	MK( 19874,  20,  15,  55, 0,       Y), /* 193 Powernaught Battery Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   241
	MK( 35430,  20,  15,  85, 0,       Y), /* 194 Wizzowow Battery Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   242
	MK(  5479,  20,  15,  55, 0,       Y), /* 195 MightyMover Fizzy Drink Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   243
	MK( 20239,  20,  15,  55, 0,       Y), /* 196 Powernaught Fizzy Drink Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   244
	MK( 35795,  20,  15,  85, 0,       Y), /* 197 Wizzowow Fizzy Drink Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   245
	MK(  5479,  20,  15,  55, 0,       Y), /* 198 MightyMover Plastic Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   246
	MK( 20604,  20,  15,  55, 0,       Y), /* 199 Powernaught Plastic Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   247
	MK( 32873,  20,  15,  85, 0,       Y), /* 200 Wizzowow Plastic Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   248
	MK(  5479,  20,  15,  55, 0,       Y), /* 201 MightyMover Bubble Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   249
	MK( 20970,  20,  15,  55, 0,       Y), /* 202 Powernaught Bubble Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   250
	MK( 33023,  20,  15,  85, 0,       Y), /* 203 Wizzowow Bubble Truck */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   251
	MK(  2922,   5,  30,  50, 0, T|A|S  ), /* 204 MPS Oil Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   252
	MK( 17167,   5,  30,  90, 0, T|A|S  ), /* 205 CS-Inc. Oil Tanker */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   253
	MK(  2192,   5,  30,  55, 0, T|A|S  ), /* 206 MPS Passenger Ferry */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   254
	MK( 18628,   5,  30,  90, 0, T|A|S  ), /* 207 FFP Passenger Ferry */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   255
	MK( 17257,  10,  25,  90, 0, T|A|S  ), /* 208 Bakewell 300 Hovercraft */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   256
	MK(  9587,   5,  30,  40, 0,       Y), /* 209 Chugger-Chug Passenger Ferry */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   257
	MK( 20544,   5,  30,  90, 0,       Y), /* 210 Shivershake Passenger Ferry */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   258
	MK(  2557,   5,  30,  55, 0, T|A|S  ), /* 211 Yate Cargo ship */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   259
	MK( 19724,   5,  30,  98, 0, T|A|S  ), /* 212 Bakewell Cargo ship */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   260
	MK(  9587,   5,  30,  45, 0,       Y), /* 213 Mightymover Cargo ship */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   261
	MK( 22371,   5,  30,  90, 0,       Y), /* 214 Powernaut Cargo ship */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   262
	MK(  2922,  20,  20,  20, 0, T|A|S  ), /* 215 Sampson U52 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   263
	MK(  9922,  20,  24,  20, 0, T|A|S  ), /* 216 Coleman Count */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   264
	MK( 12659,  20,  18,  20, 0, T|A|S  ), /* 217 FFP Dart */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   265
	MK( 17652,  20,  25,  35, 0, T|A|S  ), /* 218 Yate Haugan */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   266
	MK(  4929,  20,  30,  30, 0, T|A|S  ), /* 219 Bakewell Cotswald LB-3 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   267
	MK( 13695,  20,  23,  25, 0, T|A|S  ), /* 220 Bakewell Luckett LB-8 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   268
	MK( 16341,  20,  26,  30, 0, T|A|S  ), /* 221 Bakewell Luckett LB-9 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   269
	MK( 21395,  20,  25,  30, 0, T|A|S  ), /* 222 Bakewell Luckett LB80 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   270
	MK( 18263,  20,  20,  30, 0, T|A|S  ), /* 223 Bakewell Luckett LB-10 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   271
	MK( 25233,  20,  25,  30, 0, T|A|S  ), /* 224 Bakewell Luckett LB-11 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   272
	MK( 15371,  20,  22,  25, 0, T|A|S  ), /* 225 Yate Aerospace YAC 1-11 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   273
	MK( 15461,  20,  25,  25, 0, T|A|S  ), /* 226 Darwin 100 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   274
	MK( 16952,  20,  22,  25, 0, T|A|S  ), /* 227 Darwin 200 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   275
	MK( 17227,  20,  25,  30, 0, T|A|S  ), /* 228 Darwin 300 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   276
	MK( 22371,  20,  25,  35, 0, T|A|S  ), /* 229 Darwin 400 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   277
	MK( 22341,  20,  25,  30, 0, T|A|S  ), /* 230 Darwin 500 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   278
	MK( 27209,  20,  25,  30, 0, T|A|S  ), /* 231 Darwin 600 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   279
	MK( 17988,  20,  20,  30, 0, T|A|S  ), /* 232 Guru Galaxy */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   280
	MK( 18993,  20,  24,  35, 0, T|A|S  ), /* 233 Airtaxi A21 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   281
	MK( 22401,  20,  24,  30, 0, T|A|S  ), /* 234 Airtaxi A31 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   282
	MK( 24472,  20,  24,  30, 0, T|A|S  ), /* 235 Airtaxi A32 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   283
	MK( 26724,  20,  24,  30, 0, T|A|S  ), /* 236 Airtaxi A33 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   284
	MK( 22005,  20,  25,  30, 0, T|A|S  ), /* 237 Yate Aerospace YAe46 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   285
	MK( 24107,  20,  20,  35, 0, T|A|S  ), /* 238 Dinger 100 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   286
	MK( 29310,  20,  25,  60, 0, T|A|S  ), /* 239 AirTaxi A34-1000 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   287
	MK( 35520,  20,  22,  30, 0, T|A|S  ), /* 240 Yate Z-Shuttle */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   288
	MK( 36981,  20,  22,  30, 0, T|A|S  ), /* 241 Kelling K1 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   289
	MK( 38807,  20,  22,  50, 0, T|A|S  ), /* 242 Kelling K6 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   290
	MK( 42094,  20,  25,  30, 0, T|A|S  ), /* 243 Kelling K7 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   291
	MK( 44651,  20,  23,  30, 0, T|A|S  ), /* 244 Darwin 700 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   292
	MK( 40268,  20,  25,  30, 0, T|A|S  ), /* 245 FFP Hyperdart 2 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   293
	MK( 33693,  20,  25,  50, 0, T|A|S  ), /* 246 Dinger 200 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   294
	MK( 32963,  20,  20,  60, 0, T|A|S  ), /* 247 Dinger 1000 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   295
	MK(  9222,  20,  20,  35, 0,       Y), /* 248 Ploddyphut 100 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   296
	MK( 12874,  20,  20,  35, 0,       Y), /* 249 Ploddyphut 500 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   297
	MK( 16892,  20,  20,  35, 0,       Y), /* 250 Flashbang X1 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   298
	MK( 21275,  20,  20,  99, 0,       Y), /* 251 Juggerplane M1 */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   299
	MK( 23832,  20,  20,  99, 0,       Y), /* 252 Flashbang Wizzer */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   300
	MK( 13575,  20,  20,  40, 0, T|A|S  ), /* 253 Tricario Helicopter */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   301
	MK( 28215,  20,  20,  30, 0, T|A|S  ), /* 254 Guru X2 Helicopter */
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   302
	MK( 13575,  20,  20,  99, 0,       Y), /* 255  */
0
29654efe3188 (svn r1) Import of revision 975 of old (crashed) SVN
truelight
parents:
diff changeset
   303
};
2509
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   304
#undef Y
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   305
#undef S
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   306
#undef A
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   307
#undef T
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   308
#undef L
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   309
#undef M
dd48475227dd (svn r3035) Augment the engine table with symbolic names for rail types and climates
tron
parents: 2463
diff changeset
   310
#undef R
3355
e414a0b104a6 (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
celestar
parents: 3096
diff changeset
   311
#undef E
0
29654efe3188 (svn r1) Import of revision 975 of old (crashed) SVN
truelight
parents:
diff changeset
   312
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   313
/** Writes the properties of a rail vehicle into the RailVehicleInfo struct.
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   314
 * @see RailVehicleInfo
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   315
 * @param a image_index
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   316
 * @param b flags
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   317
 * @param c base_cost
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   318
 * @param d max_speed (kph)
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   319
 * @param e power (hp)
3022
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   320
 * @param f weight
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   321
 * @param g running_cost_base
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   322
 * @param h running_cost_class / engclass
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   323
 * @param i capacity
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   324
 * @param j cargo_type
3022
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   325
 * @param k ai_rank
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   326
 */
3022
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   327
#define RVI(a, b, c, d, e, f, g, h, i, j, k) { a, b, c, d, e, f, g, h, h, i, j, k, 0, 0, 0, 0, 0 }
2521
e7eb2535b206 (svn r3050) Augment the rail vehicle table with symbolic names for dual-head engines and wagons
tron
parents: 2509
diff changeset
   328
#define M RVI_MULTIHEAD
e7eb2535b206 (svn r3050) Augment the rail vehicle table with symbolic names for dual-head engines and wagons
tron
parents: 2509
diff changeset
   329
#define W RVI_WAGON
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   330
#define S 0
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   331
#define D 1
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   332
#define E 2
2463
db029c987bc7 (svn r2989) - Make engine/vehicle information tables constant. Duplicate them so NewGRF data can be loaded without wiping out the default data.
peter1138
parents: 2189
diff changeset
   333
const RailVehicleInfo orig_rail_vehicle_info[NUM_TRAIN_ENGINES] = {
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   334
	//    image_index  max_speed (kph)      running_cost_base
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   335
	//    |  flags     |        power (hp)  |  running_cost_class & engclass
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   336
	//    |  |    base_cost     |    weight |  |   capacity
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   337
	//    |  |    |    |        |    |      |  |   |  cargo_type
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   338
	//    |  |    |    |        |    |      |  |   |  |
3022
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   339
	RVI(  2, 0,   7,  64,     300,  47,    50, S,  0, 0              ,  1 ), /*   0 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   340
	RVI( 19, 0,   8,  80,     600,  65,    65, D,  0, 0              ,  4 ), /*   1 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   341
	RVI(  2, 0,  10,  72,     400,  85,    90, S,  0, 0              ,  7 ), /*   2 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   342
	RVI(  0, 0,  15,  96,     900, 130,   130, S,  0, 0              , 19 ), /*   3 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   343
	RVI(  1, 0,  19, 112,    1000, 140,   145, S,  0, 0              , 20 ), /*   4 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   344
	RVI( 12, 0,  16, 120,    1400,  95,   125, D,  0, 0              , 30 ), /*   5 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   345
	RVI( 14, 0,  20, 152,    2000, 120,   135, D,  0, 0              , 31 ), /*   6 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   346
	RVI(  3, 0,  14,  88,    1100, 145,   130, S,  0, 0              , 19 ), /*   7 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   347
	RVI(  0, 0,  13, 112,    1000, 131,   120, S,  0, 0              , 20 ), /*   8 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   348
	RVI(  1, 0,  19, 128,    1200, 162,   140, S,  0, 0              , 21 ), /*   9 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   349
	RVI(  0, 0,  22, 144,    1600, 170,   130, S,  0, 0              , 22 ), /*  10 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   350
	RVI(  8, M,  11, 112,   600/2,32/2,  85/2, D, 38, CT_PASSENGERS  , 10 ), /*  11 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   351
	RVI( 10, M,  14, 120,   700/2,38/2,  70/2, D, 40, CT_PASSENGERS  , 11 ), /*  12 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   352
	RVI(  4, 0,  15, 128,    1250,  72,    95, D,  0, 0              , 30 ), /*  13 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   353
	RVI(  5, 0,  17, 144,    1750, 101,   120, D,  0, 0              , 31 ), /*  14 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   354
	RVI(  4, 0,  18, 160,    2580, 112,   140, D,  0, 0              , 32 ), /*  15 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   355
	RVI( 14, 0,  23,  96,    4000, 150,   135, D,  0, 0              , 33 ), /*  16 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   356
	RVI( 12, 0,  16, 112,    2400, 120,   105, D,  0, 0              , 34 ), /*  17 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   357
	RVI( 13, 0,  30, 112,    6600, 207,   155, D,  0, 0              , 35 ), /*  18 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   358
	RVI( 15, 0,  18, 104,    1500, 110,   105, D,  0, 0              , 29 ), /*  19 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   359
	RVI( 16, M,  35, 160,  3500/2,95/2, 205/2, D,  0, 0              , 45 ), /*  20 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   360
	RVI( 18, 0,  21, 104,    2200, 120,   145, D,  0, 0              , 32 ), /*  21 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   361
	RVI(  6, M,  20, 200,  4500/2,70/2, 190/2, D,  4, CT_MAIL        , 50 ), /*  22 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   362
	RVI( 20, 0,  26, 160,    3600,  84,   180, E,  0, 0              , 40 ), /*  23 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   363
	RVI( 20, 0,  30, 176,    5000,  82,   205, E,  0, 0              , 41 ), /*  24 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   364
	RVI( 21, M,  40, 240,  7000/2,90/2, 240/2, E,  0, 0              , 51 ), /*  25 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   365
	RVI( 23, M,  43, 264,  8000/2,95/2, 250/2, E,  0, 0              , 52 ), /*  26 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   366
	RVI( 33, W, 247,   0,       0,  25,     0, 0, 40, CT_PASSENGERS  ,  0 ), /*  27 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   367
	RVI( 35, W, 228,   0,       0,  21,     0, 0, 30, CT_MAIL        ,  0 ), /*  28 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   368
	RVI( 34, W, 176,   0,       0,  18,     0, 0, 30, CT_COAL        ,  0 ), /*  29 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   369
	RVI( 36, W, 200,   0,       0,  24,     0, 0, 30, CT_OIL         ,  0 ), /*  30 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   370
	RVI( 37, W, 192,   0,       0,  20,     0, 0, 25, CT_LIVESTOCK   ,  0 ), /*  31 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   371
	RVI( 38, W, 190,   0,       0,  21,     0, 0, 25, CT_GOODS       ,  0 ), /*  32 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   372
	RVI( 39, W, 182,   0,       0,  19,     0, 0, 30, CT_GRAIN       ,  0 ), /*  33 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   373
	RVI( 40, W, 181,   0,       0,  16,     0, 0, 30, CT_WOOD        ,  0 ), /*  34 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   374
	RVI( 41, W, 179,   0,       0,  19,     0, 0, 30, CT_IRON_ORE    ,  0 ), /*  35 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   375
	RVI( 42, W, 196,   0,       0,  18,     0, 0, 20, CT_STEEL       ,  0 ), /*  36 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   376
	RVI( 43, W, 255,   0,       0,  30,     0, 0, 20, CT_VALUABLES   ,  0 ), /*  37 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   377
	RVI( 44, W, 191,   0,       0,  22,     0, 0, 25, CT_FOOD        ,  0 ), /*  38 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   378
	RVI( 45, W, 196,   0,       0,  18,     0, 0, 20, CT_PAPER       ,  0 ), /*  39 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   379
	RVI( 46, W, 179,   0,       0,  19,     0, 0, 30, CT_COPPER_ORE  ,  0 ), /*  40 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   380
	RVI( 47, W, 199,   0,       0,  25,     0, 0, 25, CT_WATER       ,  0 ), /*  41 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   381
	RVI( 48, W, 182,   0,       0,  18,     0, 0, 25, CT_FRUIT       ,  0 ), /*  42 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   382
	RVI( 49, W, 185,   0,       0,  19,     0, 0, 21, CT_RUBBER      ,  0 ), /*  43 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   383
	RVI( 50, W, 176,   0,       0,  19,     0, 0, 30, CT_SUGAR       ,  0 ), /*  44 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   384
	RVI( 51, W, 178,   0,       0,  20,     0, 0, 30, CT_COTTON_CANDY,  0 ), /*  45 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   385
	RVI( 52, W, 192,   0,       0,  20,     0, 0, 30, CT_TOFFEE      ,  0 ), /*  46 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   386
	RVI( 53, W, 190,   0,       0,  21,     0, 0, 20, CT_BUBBLES     ,  0 ), /*  47 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   387
	RVI( 54, W, 182,   0,       0,  24,     0, 0, 25, CT_COLA        ,  0 ), /*  48 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   388
	RVI( 55, W, 181,   0,       0,  21,     0, 0, 25, CT_CANDY       ,  0 ), /*  49 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   389
	RVI( 56, W, 183,   0,       0,  21,     0, 0, 20, CT_TOYS        ,  0 ), /*  50 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   390
	RVI( 57, W, 196,   0,       0,  18,     0, 0, 22, CT_BATTERIES   ,  0 ), /*  51 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   391
	RVI( 58, W, 193,   0,       0,  18,     0, 0, 25, CT_FIZZY_DRINKS,  0 ), /*  52 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   392
	RVI( 59, W, 191,   0,       0,  18,     0, 0, 30, CT_PLASTIC     ,  0 ), /*  53 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   393
	RVI( 25, 0,  52, 304,    9000,  95,   230, E,  0, 0              , 60 ), /*  54 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   394
	RVI( 26, M,  60, 336, 10000/2,85/2, 240/2, E, 25, CT_PASSENGERS  , 62 ), /*  55 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   395
	RVI( 26, 0,  53, 320,    5000,  95,   230, E,  0, 0              , 63 ), /*  56 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   396
	RVI( 60, W, 247,   0,       0,  25,     0, 0, 45, CT_PASSENGERS  ,  0 ), /*  57 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   397
	RVI( 62, W, 228,   0,       0,  21,     0, 0, 35, CT_MAIL        ,  0 ), /*  58 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   398
	RVI( 61, W, 176,   0,       0,  18,     0, 0, 35, CT_COAL        ,  0 ), /*  59 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   399
	RVI( 63, W, 200,   0,       0,  24,     0, 0, 35, CT_OIL         ,  0 ), /*  60 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   400
	RVI( 64, W, 192,   0,       0,  20,     0, 0, 30, CT_LIVESTOCK   ,  0 ), /*  61 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   401
	RVI( 65, W, 190,   0,       0,  21,     0, 0, 30, CT_GOODS       ,  0 ), /*  62 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   402
	RVI( 66, W, 182,   0,       0,  19,     0, 0, 35, CT_GRAIN       ,  0 ), /*  63 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   403
	RVI( 67, W, 181,   0,       0,  16,     0, 0, 35, CT_WOOD        ,  0 ), /*  64 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   404
	RVI( 68, W, 179,   0,       0,  19,     0, 0, 35, CT_IRON_ORE    ,  0 ), /*  65 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   405
	RVI( 69, W, 196,   0,       0,  18,     0, 0, 25, CT_STEEL       ,  0 ), /*  66 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   406
	RVI( 70, W, 255,   0,       0,  30,     0, 0, 25, CT_VALUABLES   ,  0 ), /*  67 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   407
	RVI( 71, W, 191,   0,       0,  22,     0, 0, 30, CT_FOOD        ,  0 ), /*  68 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   408
	RVI( 72, W, 196,   0,       0,  18,     0, 0, 25, CT_PAPER       ,  0 ), /*  69 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   409
	RVI( 73, W, 179,   0,       0,  19,     0, 0, 35, CT_COPPER_ORE  ,  0 ), /*  70 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   410
	RVI( 47, W, 199,   0,       0,  25,     0, 0, 30, CT_WATER       ,  0 ), /*  71 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   411
	RVI( 48, W, 182,   0,       0,  18,     0, 0, 30, CT_FRUIT       ,  0 ), /*  72 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   412
	RVI( 49, W, 185,   0,       0,  19,     0, 0, 26, CT_RUBBER      ,  0 ), /*  73 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   413
	RVI( 50, W, 176,   0,       0,  19,     0, 0, 35, CT_SUGAR       ,  0 ), /*  74 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   414
	RVI( 51, W, 178,   0,       0,  20,     0, 0, 35, CT_COTTON_CANDY,  0 ), /*  75 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   415
	RVI( 52, W, 192,   0,       0,  20,     0, 0, 35, CT_TOFFEE      ,  0 ), /*  76 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   416
	RVI( 53, W, 190,   0,       0,  21,     0, 0, 25, CT_BUBBLES     ,  0 ), /*  77 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   417
	RVI( 54, W, 182,   0,       0,  24,     0, 0, 30, CT_COLA        ,  0 ), /*  78 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   418
	RVI( 55, W, 181,   0,       0,  21,     0, 0, 30, CT_CANDY       ,  0 ), /*  79 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   419
	RVI( 56, W, 183,   0,       0,  21,     0, 0, 25, CT_TOYS        ,  0 ), /*  80 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   420
	RVI( 57, W, 196,   0,       0,  18,     0, 0, 27, CT_BATTERIES   ,  0 ), /*  81 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   421
	RVI( 58, W, 193,   0,       0,  18,     0, 0, 30, CT_FIZZY_DRINKS,  0 ), /*  82 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   422
	RVI( 59, W, 191,   0,       0,  18,     0, 0, 35, CT_PLASTIC     ,  0 ), /*  83 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   423
	RVI( 28, 0,  70, 400,   10000, 105,   250, E,  0, 0              , 70 ), /*  84 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   424
	RVI( 29, 0,  74, 448,   12000, 120,   253, E,  0, 0              , 71 ), /*  85 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   425
	RVI( 30, 0,  82, 480,   15000, 130,   254, E,  0, 0              , 72 ), /*  86 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   426
	RVI( 31, M,  95, 640, 20000/2,150/2,255/2, E,  0, 0              , 73 ), /*  87 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   427
	RVI( 28, 0,  70, 480,   10000, 120,   250, E,  0, 0              , 74 ), /*  88 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   428
	RVI( 60, W, 247,   0,       0,  25,     0, 0, 47, CT_PASSENGERS  ,  0 ), /*  89 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   429
	RVI( 62, W, 228,   0,       0,  21,     0, 0, 37, CT_MAIL        ,  0 ), /*  90 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   430
	RVI( 61, W, 176,   0,       0,  18,     0, 0, 37, CT_COAL        ,  0 ), /*  91 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   431
	RVI( 63, W, 200,   0,       0,  24,     0, 0, 37, CT_OIL         ,  0 ), /*  92 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   432
	RVI( 64, W, 192,   0,       0,  20,     0, 0, 32, CT_LIVESTOCK   ,  0 ), /*  93 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   433
	RVI( 65, W, 190,   0,       0,  21,     0, 0, 32, CT_GOODS       ,  0 ), /*  94 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   434
	RVI( 66, W, 182,   0,       0,  19,     0, 0, 37, CT_GRAIN       ,  0 ), /*  95 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   435
	RVI( 67, W, 181,   0,       0,  16,     0, 0, 37, CT_WOOD        ,  0 ), /*  96 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   436
	RVI( 68, W, 179,   0,       0,  19,     0, 0, 37, CT_IRON_ORE    ,  0 ), /*  97 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   437
	RVI( 69, W, 196,   0,       0,  18,     0, 0, 27, CT_STEEL       ,  0 ), /*  98 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   438
	RVI( 70, W, 255,   0,       0,  30,     0, 0, 27, CT_VALUABLES   ,  0 ), /*  99 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   439
	RVI( 71, W, 191,   0,       0,  22,     0, 0, 32, CT_FOOD        ,  0 ), /* 100 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   440
	RVI( 72, W, 196,   0,       0,  18,     0, 0, 27, CT_PAPER       ,  0 ), /* 101 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   441
	RVI( 73, W, 179,   0,       0,  19,     0, 0, 37, CT_COPPER_ORE  ,  0 ), /* 102 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   442
	RVI( 47, W, 199,   0,       0,  25,     0, 0, 32, CT_WATER       ,  0 ), /* 103 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   443
	RVI( 48, W, 182,   0,       0,  18,     0, 0, 32, CT_FRUIT       ,  0 ), /* 104 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   444
	RVI( 49, W, 185,   0,       0,  19,     0, 0, 28, CT_RUBBER      ,  0 ), /* 105 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   445
	RVI( 50, W, 176,   0,       0,  19,     0, 0, 37, CT_SUGAR       ,  0 ), /* 106 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   446
	RVI( 51, W, 178,   0,       0,  20,     0, 0, 37, CT_COTTON_CANDY,  0 ), /* 107 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   447
	RVI( 52, W, 192,   0,       0,  20,     0, 0, 37, CT_TOFFEE      ,  0 ), /* 108 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   448
	RVI( 53, W, 190,   0,       0,  21,     0, 0, 27, CT_BUBBLES     ,  0 ), /* 109 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   449
	RVI( 54, W, 182,   0,       0,  24,     0, 0, 32, CT_COLA        ,  0 ), /* 110 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   450
	RVI( 55, W, 181,   0,       0,  21,     0, 0, 32, CT_CANDY       ,  0 ), /* 111 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   451
	RVI( 56, W, 183,   0,       0,  21,     0, 0, 27, CT_TOYS        ,  0 ), /* 112 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   452
	RVI( 57, W, 196,   0,       0,  18,     0, 0, 29, CT_BATTERIES   ,  0 ), /* 113 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   453
	RVI( 58, W, 193,   0,       0,  18,     0, 0, 32, CT_FIZZY_DRINKS,  0 ), /* 114 */
d4b90d0b5b24 (svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.
peter1138
parents: 3006
diff changeset
   454
	RVI( 59, W, 191,   0,       0,  18,     0, 0, 37, CT_PLASTIC     ,  0 ), /* 115 */
0
29654efe3188 (svn r1) Import of revision 975 of old (crashed) SVN
truelight
parents:
diff changeset
   455
};
2961
f83710dba47c (svn r3523) Undefine helper macros after using them
peter1138
parents: 2960
diff changeset
   456
#undef E
f83710dba47c (svn r3523) Undefine helper macros after using them
peter1138
parents: 2960
diff changeset
   457
#undef D
f83710dba47c (svn r3523) Undefine helper macros after using them
peter1138
parents: 2960
diff changeset
   458
#undef S
2521
e7eb2535b206 (svn r3050) Augment the rail vehicle table with symbolic names for dual-head engines and wagons
tron
parents: 2509
diff changeset
   459
#undef W
e7eb2535b206 (svn r3050) Augment the rail vehicle table with symbolic names for dual-head engines and wagons
tron
parents: 2509
diff changeset
   460
#undef M
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   461
#undef RVI
0
29654efe3188 (svn r1) Import of revision 975 of old (crashed) SVN
truelight
parents:
diff changeset
   462
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   463
/** Writes the properties of a ship into the ShipVehicleInfo struct.
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   464
 * @see ShipVehicleInfo
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   465
 * @param a image_index
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   466
 * @param b base_cost
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   467
 * @param c max_speed
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   468
 * @param d cargo_type
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   469
 * @param e cargo_amount
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   470
 * @param f running_cost
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   471
 * @param g sound effect
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   472
 * @param h refittable
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   473
 */
3006
6da38dbee2a7 (svn r3586) - NewGRF: Load callback masks for all vehicle types.
peter1138
parents: 2961
diff changeset
   474
#define SVI(a, b, c, d, e, f, g, h) { a, b, c, d, e, f, g, h, 0 }
2463
db029c987bc7 (svn r2989) - Make engine/vehicle information tables constant. Duplicate them so NewGRF data can be loaded without wiping out the default data.
peter1138
parents: 2189
diff changeset
   475
const ShipVehicleInfo orig_ship_vehicle_info[NUM_SHIP_ENGINES] = {
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   476
	//   image_index  cargo_type     cargo_amount                 refittable
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   477
	//   |    base_cost |              |    running_cost          |
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   478
	//   |    |    max_speed           |    |  sfx                |
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   479
	//   |    |    |    |              |    |  |                  |
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   480
	SVI( 1, 160,  48, CT_OIL,        220, 140, SND_06_SHIP_HORN,  0 ), /*  0 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   481
	SVI( 1, 176,  80, CT_OIL,        350, 125, SND_06_SHIP_HORN,  0 ), /*  1 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   482
	SVI( 2,  96,  64, CT_PASSENGERS, 100,  90, SND_07_FERRY_HORN, 0 ), /*  2 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   483
	SVI( 2, 112, 128, CT_PASSENGERS, 130,  80, SND_07_FERRY_HORN, 0 ), /*  3 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   484
	SVI( 3, 148, 224, CT_PASSENGERS, 100, 190, SND_07_FERRY_HORN, 0 ), /*  4 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   485
	SVI( 2,  96,  64, CT_PASSENGERS, 100,  90, SND_07_FERRY_HORN, 0 ), /*  5 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   486
	SVI( 2, 112, 128, CT_PASSENGERS, 130,  80, SND_07_FERRY_HORN, 0 ), /*  6 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   487
	SVI( 0, 128,  48, CT_GOODS,      160, 150, SND_06_SHIP_HORN,  1 ), /*  7 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   488
	SVI( 0, 144,  80, CT_GOODS,      190, 113, SND_06_SHIP_HORN,  1 ), /*  8 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   489
	SVI( 0, 128,  48, CT_GOODS,      160, 150, SND_06_SHIP_HORN,  1 ), /*  9 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   490
	SVI( 0, 144,  80, CT_GOODS,      190, 113, SND_06_SHIP_HORN,  1 ), /* 10 */
374
0309a855fc66 (svn r562) newgrf: Merge most of the road vehicle info to a single
celestar
parents: 114
diff changeset
   491
};
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   492
#undef SVI
374
0309a855fc66 (svn r562) newgrf: Merge most of the road vehicle info to a single
celestar
parents: 114
diff changeset
   493
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   494
/** Writes the properties of an aircraft into the AircraftVehicleInfo struct.
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   495
 * @see AircraftVehicleInfo
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   496
 * @param a image_index
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   497
 * @param b base_cost
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   498
 * @param c running_Cost
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   499
 * @param d subtype (bit 0 - plane, bit 1 - large plane)
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   500
 * @param e sound effect
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   501
 * @param f acceleration
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   502
 * @param g max_speed
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   503
 * @param h mail_capacity
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   504
 * @param i passenger_capacity
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   505
 */
3006
6da38dbee2a7 (svn r3586) - NewGRF: Load callback masks for all vehicle types.
peter1138
parents: 2961
diff changeset
   506
#define AVI(a, b, c, d, e, f, g, h, i) { a, b, c, d, e, f, g, h, i, 0 }
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   507
#define H 0
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   508
#define P 1
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   509
#define J 3
2463
db029c987bc7 (svn r2989) - Make engine/vehicle information tables constant. Duplicate them so NewGRF data can be loaded without wiping out the default data.
peter1138
parents: 2189
diff changeset
   510
const AircraftVehicleInfo orig_aircraft_vehicle_info[NUM_AIRCRAFT_ENGINES] = {
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   511
	//    image_index         sfx                         acceleration
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   512
	//    |   base_cost       |                           |   max_speed
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   513
	//    |   |    running_cost                           |   |    mail_capacity
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   514
	//    |   |    |  subtype |                           |   |    |    passenger_capacity
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   515
	//    |   |    |  |       |                           |   |    |    |
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   516
	AVI(  1, 14,  85, P, SND_08_PLANE_TAKE_OFF,          18,  37,  4,  25 ), /*  0 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   517
	AVI(  0, 15, 100, P, SND_08_PLANE_TAKE_OFF,          20,  37,  8,  65 ), /*  1 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   518
	AVI(  2, 16, 130, J, SND_09_JET,                     35,  74, 10,  90 ), /*  2 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   519
	AVI(  8, 75, 250, J, SND_3B_JET_OVERHEAD,            50, 181, 20, 100 ), /*  3 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   520
	AVI(  5, 15,  98, P, SND_08_PLANE_TAKE_OFF,          20,  37,  6,  30 ), /*  4 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   521
	AVI(  6, 18, 240, J, SND_09_JET,                     40,  74, 30, 200 ), /*  5 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   522
	AVI(  2, 17, 150, P, SND_09_JET,                     35,  74, 15, 100 ), /*  6 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   523
	AVI(  2, 18, 245, J, SND_09_JET,                     40,  74, 30, 150 ), /*  7 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   524
	AVI(  3, 19, 192, J, SND_09_JET,                     40,  74, 40, 220 ), /*  8 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   525
	AVI(  3, 20, 190, J, SND_09_JET,                     40,  74, 25, 230 ), /*  9 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   526
	AVI(  2, 16, 135, J, SND_09_JET,                     35,  74, 10,  95 ), /* 10 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   527
	AVI(  2, 18, 240, J, SND_09_JET,                     40,  74, 35, 170 ), /* 11 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   528
	AVI(  4, 17, 155, J, SND_09_JET,                     40,  74, 15, 110 ), /* 12 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   529
	AVI(  7, 30, 253, J, SND_3D_ANOTHER_JET_OVERHEAD,    40,  74, 50, 300 ), /* 13 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   530
	AVI(  4, 18, 210, J, SND_09_JET,                     40,  74, 25, 200 ), /* 14 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   531
	AVI(  4, 19, 220, J, SND_09_JET,                     40,  74, 25, 240 ), /* 15 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   532
	AVI(  4, 27, 230, J, SND_09_JET,                     40,  74, 40, 260 ), /* 16 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   533
	AVI(  3, 25, 225, J, SND_09_JET,                     40,  74, 35, 240 ), /* 17 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   534
	AVI(  4, 20, 235, J, SND_09_JET,                     40,  74, 30, 260 ), /* 18 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   535
	AVI(  4, 19, 220, J, SND_09_JET,                     40,  74, 25, 210 ), /* 19 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   536
	AVI(  4, 18, 170, J, SND_09_JET,                     40,  74, 20, 160 ), /* 20 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   537
	AVI(  4, 26, 210, J, SND_09_JET,                     40,  74, 20, 220 ), /* 21 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   538
	AVI(  6, 16, 125, P, SND_09_JET,                     50,  74, 10,  80 ), /* 22 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   539
	AVI(  2, 17, 145, P, SND_09_JET,                     40,  74, 10,  85 ), /* 23 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   540
	AVI( 11, 16, 130, J, SND_09_JET,                     40,  74, 10,  75 ), /* 24 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   541
	AVI( 10, 16, 149, J, SND_09_JET,                     40,  74, 10,  85 ), /* 25 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   542
	AVI( 15, 17, 170, J, SND_09_JET,                     40,  74, 18,  65 ), /* 26 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   543
	AVI( 12, 18, 210, J, SND_09_JET,                     40,  74, 25, 110 ), /* 27 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   544
	AVI( 13, 20, 230, J, SND_09_JET,                     40,  74, 60, 180 ), /* 28 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   545
	AVI( 14, 21, 220, J, SND_09_JET,                     40,  74, 65, 150 ), /* 29 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   546
	AVI( 16, 19, 160, J, SND_09_JET,                     40, 181, 45,  85 ), /* 30 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   547
	AVI( 17, 24, 248, J, SND_3D_ANOTHER_JET_OVERHEAD,    40,  74, 80, 400 ), /* 31 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   548
	AVI( 18, 80, 251, J, SND_3B_JET_OVERHEAD,            50, 181, 45, 130 ), /* 32 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   549
	AVI( 20, 13,  85, P, SND_45_PLANE_CRASHING,          18,  37,  5,  25 ), /* 33 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   550
	AVI( 21, 18, 100, P, SND_46_PLANE_ENGINE_SPUTTERING, 20,  37,  9,  60 ), /* 34 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   551
	AVI( 22, 25, 140, P, SND_09_JET,                     40,  74, 12,  90 ), /* 35 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   552
	AVI( 23, 32, 220, J, SND_3D_ANOTHER_JET_OVERHEAD,    40,  74, 40, 200 ), /* 36 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   553
	AVI( 24, 80, 255, J, SND_3B_JET_OVERHEAD,            50, 181, 30, 100 ), /* 37 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   554
	AVI(  9, 15,  81, H, SND_09_JET,                     20,  25, 15,  40 ), /* 38 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   555
	AVI( 19, 17,  77, H, SND_09_JET,                     20,  40, 20,  55 ), /* 39 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   556
	AVI( 25, 15,  80, H, SND_09_JET,                     20,  25, 10,  40 ), /* 40 */
376
6ffd7911bf39 (svn r565) -newgrf: fixed double work of RoadVehicleInfo[]; added AircraftVehicleInfo[] as well. table/engines.h is now the same as in the _map branch.
darkvater
parents: 374
diff changeset
   557
};
2961
f83710dba47c (svn r3523) Undefine helper macros after using them
peter1138
parents: 2960
diff changeset
   558
#undef J
f83710dba47c (svn r3523) Undefine helper macros after using them
peter1138
parents: 2960
diff changeset
   559
#undef P
f83710dba47c (svn r3523) Undefine helper macros after using them
peter1138
parents: 2960
diff changeset
   560
#undef H
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   561
#undef AVI
374
0309a855fc66 (svn r562) newgrf: Merge most of the road vehicle info to a single
celestar
parents: 114
diff changeset
   562
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   563
/** Writes the properties of a road vehicle into the RoadVehicleInfo struct.
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   564
 * @see RoadVehicleInfo
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   565
 * @param a image_index
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   566
 * @param b base_cost
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   567
 * @param c running_cost
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   568
 * @param d sound effect
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   569
 * @param e max_speed
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   570
 * @param f capacity
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   571
 * @param g cargo_type
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   572
 */
3006
6da38dbee2a7 (svn r3586) - NewGRF: Load callback masks for all vehicle types.
peter1138
parents: 2961
diff changeset
   573
#define RVI(a, b, c, d, e, f, g) { a, b, c, d, e, f, g, 0 }
2463
db029c987bc7 (svn r2989) - Make engine/vehicle information tables constant. Duplicate them so NewGRF data can be loaded without wiping out the default data.
peter1138
parents: 2189
diff changeset
   574
const RoadVehicleInfo orig_road_vehicle_info[NUM_ROAD_ENGINES] = {
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   575
	//    image_index       sfx                                 max_speed
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   576
	//    |    base_cost    |                                   |   capacity
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   577
	//    |    |    running_cost                                |   |  cargo_type
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   578
	//    |    |    |       |                                   |   |  |
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   579
	RVI(  0, 120,  91, SND_19_BUS_START_PULL_AWAY,            112, 31, CT_PASSENGERS   ), /*  0 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   580
	RVI( 17, 140, 128, SND_1C_TRUCK_START_2,                  176, 35, CT_PASSENGERS   ), /*  1 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   581
	RVI( 17, 150, 178, SND_1B_TRUCK_START,                    224, 37, CT_PASSENGERS   ), /*  2 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   582
	RVI( 34, 160, 240, SND_1B_TRUCK_START,                    255, 40, CT_PASSENGERS   ), /*  3 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   583
	RVI( 51, 120,  91, SND_3C_COMEDY_CAR,                     112, 30, CT_PASSENGERS   ), /*  4 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   584
	RVI( 51, 140, 171, SND_3E_COMEDY_CAR_2,                   192, 35, CT_PASSENGERS   ), /*  5 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   585
	RVI( 51, 160, 240, SND_3C_COMEDY_CAR,                     240, 38, CT_PASSENGERS   ), /*  6 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   586
	RVI(  1, 108,  90, SND_19_BUS_START_PULL_AWAY,             96, 20, CT_COAL         ), /*  7 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   587
	RVI( 18, 128, 168, SND_19_BUS_START_PULL_AWAY,            176, 25, CT_COAL         ), /*  8 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   588
	RVI( 35, 138, 240, SND_19_BUS_START_PULL_AWAY,            224, 28, CT_COAL         ), /*  9 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   589
	RVI(  2, 115,  90, SND_19_BUS_START_PULL_AWAY,             96, 22, CT_MAIL         ), /* 10 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   590
	RVI( 19, 135, 168, SND_19_BUS_START_PULL_AWAY,            176, 28, CT_MAIL         ), /* 11 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   591
	RVI( 36, 145, 240, SND_19_BUS_START_PULL_AWAY,            224, 30, CT_MAIL         ), /* 12 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   592
	RVI( 57, 115,  90, SND_3E_COMEDY_CAR_2,                    96, 22, CT_MAIL         ), /* 13 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   593
	RVI( 57, 135, 168, SND_3C_COMEDY_CAR,                     176, 28, CT_MAIL         ), /* 14 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   594
	RVI( 57, 145, 240, SND_3E_COMEDY_CAR_2,                   224, 30, CT_MAIL         ), /* 15 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   595
	RVI(  3, 110,  90, SND_19_BUS_START_PULL_AWAY,             96, 21, CT_OIL          ), /* 16 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   596
	RVI( 20, 140, 168, SND_19_BUS_START_PULL_AWAY,            176, 25, CT_OIL          ), /* 17 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   597
	RVI( 37, 150, 240, SND_19_BUS_START_PULL_AWAY,            224, 27, CT_OIL          ), /* 18 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   598
	RVI(  4, 105,  90, SND_19_BUS_START_PULL_AWAY,             96, 14, CT_LIVESTOCK    ), /* 19 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   599
	RVI( 21, 130, 168, SND_19_BUS_START_PULL_AWAY,            176, 16, CT_LIVESTOCK    ), /* 20 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   600
	RVI( 38, 140, 240, SND_19_BUS_START_PULL_AWAY,            224, 18, CT_LIVESTOCK    ), /* 21 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   601
	RVI(  5, 107,  90, SND_19_BUS_START_PULL_AWAY,             96, 14, CT_GOODS        ), /* 22 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   602
	RVI( 22, 130, 168, SND_19_BUS_START_PULL_AWAY,            176, 16, CT_GOODS        ), /* 23 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   603
	RVI( 39, 140, 240, SND_19_BUS_START_PULL_AWAY,            224, 18, CT_GOODS        ), /* 24 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   604
	RVI(  6, 114,  90, SND_19_BUS_START_PULL_AWAY,             96, 20, CT_GRAIN        ), /* 25 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   605
	RVI( 23, 133, 168, SND_19_BUS_START_PULL_AWAY,            176, 25, CT_GRAIN        ), /* 26 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   606
	RVI( 40, 143, 240, SND_19_BUS_START_PULL_AWAY,            224, 30, CT_GRAIN        ), /* 27 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   607
	RVI(  7, 118,  90, SND_19_BUS_START_PULL_AWAY,             96, 20, CT_WOOD         ), /* 28 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   608
	RVI( 24, 137, 168, SND_19_BUS_START_PULL_AWAY,            176, 22, CT_WOOD         ), /* 29 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   609
	RVI( 41, 147, 240, SND_19_BUS_START_PULL_AWAY,            224, 24, CT_WOOD         ), /* 30 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   610
	RVI(  8, 121,  90, SND_19_BUS_START_PULL_AWAY,             96, 22, CT_IRON_ORE     ), /* 31 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   611
	RVI( 25, 140, 168, SND_19_BUS_START_PULL_AWAY,            176, 25, CT_IRON_ORE     ), /* 32 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   612
	RVI( 42, 150, 240, SND_19_BUS_START_PULL_AWAY,            224, 27, CT_IRON_ORE     ), /* 33 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   613
	RVI(  9, 112,  90, SND_19_BUS_START_PULL_AWAY,             96, 15, CT_STEEL        ), /* 34 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   614
	RVI( 26, 135, 168, SND_19_BUS_START_PULL_AWAY,            176, 18, CT_STEEL        ), /* 35 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   615
	RVI( 43, 145, 240, SND_19_BUS_START_PULL_AWAY,            224, 20, CT_STEEL        ), /* 36 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   616
	RVI( 10, 145,  90, SND_19_BUS_START_PULL_AWAY,             96, 12, CT_VALUABLES    ), /* 37 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   617
	RVI( 27, 170, 168, SND_19_BUS_START_PULL_AWAY,            176, 15, CT_VALUABLES    ), /* 38 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   618
	RVI( 44, 180, 240, SND_19_BUS_START_PULL_AWAY,            224, 16, CT_VALUABLES    ), /* 39 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   619
	RVI( 11, 112,  90, SND_19_BUS_START_PULL_AWAY,             96, 17, CT_FOOD         ), /* 40 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   620
	RVI( 28, 134, 168, SND_19_BUS_START_PULL_AWAY,            176, 20, CT_FOOD         ), /* 41 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   621
	RVI( 45, 144, 240, SND_19_BUS_START_PULL_AWAY,            224, 22, CT_FOOD         ), /* 42 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   622
	RVI( 12, 112,  90, SND_19_BUS_START_PULL_AWAY,             96, 15, CT_PAPER        ), /* 43 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   623
	RVI( 29, 135, 168, SND_19_BUS_START_PULL_AWAY,            176, 18, CT_PAPER        ), /* 44 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   624
	RVI( 46, 145, 240, SND_19_BUS_START_PULL_AWAY,            224, 20, CT_PAPER        ), /* 45 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   625
	RVI( 13, 121,  90, SND_19_BUS_START_PULL_AWAY,             96, 22, CT_COPPER_ORE   ), /* 46 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   626
	RVI( 30, 140, 168, SND_19_BUS_START_PULL_AWAY,            176, 25, CT_COPPER_ORE   ), /* 47 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   627
	RVI( 47, 150, 240, SND_19_BUS_START_PULL_AWAY,            224, 27, CT_COPPER_ORE   ), /* 48 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   628
	RVI( 14, 111,  90, SND_19_BUS_START_PULL_AWAY,             96, 21, CT_WATER        ), /* 49 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   629
	RVI( 31, 141, 168, SND_19_BUS_START_PULL_AWAY,            176, 25, CT_WATER        ), /* 50 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   630
	RVI( 48, 151, 240, SND_19_BUS_START_PULL_AWAY,            224, 27, CT_WATER        ), /* 51 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   631
	RVI( 15, 118,  90, SND_19_BUS_START_PULL_AWAY,             96, 18, CT_FRUIT        ), /* 52 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   632
	RVI( 32, 148, 168, SND_19_BUS_START_PULL_AWAY,            176, 20, CT_FRUIT        ), /* 53 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   633
	RVI( 49, 158, 240, SND_19_BUS_START_PULL_AWAY,            224, 23, CT_FRUIT        ), /* 54 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   634
	RVI( 16, 117,  90, SND_19_BUS_START_PULL_AWAY,             96, 17, CT_RUBBER       ), /* 55 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   635
	RVI( 33, 147, 168, SND_19_BUS_START_PULL_AWAY,            176, 19, CT_RUBBER       ), /* 56 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   636
	RVI( 50, 157, 240, SND_19_BUS_START_PULL_AWAY,            224, 22, CT_RUBBER       ), /* 57 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   637
	RVI( 52, 117,  90, SND_3F_COMEDY_CAR_3,                    96, 17, CT_SUGAR        ), /* 58 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   638
	RVI( 52, 147, 168, SND_40_COMEDY_CAR_START_AND_PULL_AWAY, 176, 19, CT_SUGAR        ), /* 59 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   639
	RVI( 52, 157, 240, SND_3F_COMEDY_CAR_3,                   224, 22, CT_SUGAR        ), /* 60 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   640
	RVI( 53, 117,  90, SND_40_COMEDY_CAR_START_AND_PULL_AWAY,  96, 17, CT_COLA         ), /* 61 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   641
	RVI( 53, 147, 168, SND_3F_COMEDY_CAR_3,                   176, 19, CT_COLA         ), /* 62 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   642
	RVI( 53, 157, 240, SND_40_COMEDY_CAR_START_AND_PULL_AWAY, 224, 22, CT_COLA         ), /* 63 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   643
	RVI( 54, 117,  90, SND_3F_COMEDY_CAR_3,                    96, 17, CT_COTTON_CANDY ), /* 64 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   644
	RVI( 54, 147, 168, SND_40_COMEDY_CAR_START_AND_PULL_AWAY, 176, 19, CT_COTTON_CANDY ), /* 65 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   645
	RVI( 54, 157, 240, SND_3F_COMEDY_CAR_3,                   224, 22, CT_COTTON_CANDY ), /* 66 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   646
	RVI( 55, 117,  90, SND_40_COMEDY_CAR_START_AND_PULL_AWAY,  96, 17, CT_TOFFEE       ), /* 67 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   647
	RVI( 55, 147, 168, SND_3F_COMEDY_CAR_3,                   176, 19, CT_TOFFEE       ), /* 68 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   648
	RVI( 55, 157, 240, SND_40_COMEDY_CAR_START_AND_PULL_AWAY, 224, 22, CT_TOFFEE       ), /* 69 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   649
	RVI( 56, 117,  90, SND_3F_COMEDY_CAR_3,                    96, 17, CT_TOYS         ), /* 70 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   650
	RVI( 56, 147, 168, SND_40_COMEDY_CAR_START_AND_PULL_AWAY, 176, 19, CT_TOYS         ), /* 71 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   651
	RVI( 56, 157, 240, SND_3F_COMEDY_CAR_3,                   224, 22, CT_TOYS         ), /* 72 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   652
	RVI( 58, 117,  90, SND_40_COMEDY_CAR_START_AND_PULL_AWAY,  96, 17, CT_CANDY        ), /* 73 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   653
	RVI( 58, 147, 168, SND_3F_COMEDY_CAR_3,                   176, 19, CT_CANDY        ), /* 74 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   654
	RVI( 58, 157, 240, SND_40_COMEDY_CAR_START_AND_PULL_AWAY, 224, 22, CT_CANDY        ), /* 75 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   655
	RVI( 59, 117,  90, SND_3F_COMEDY_CAR_3,                    96, 17, CT_BATTERIES    ), /* 76 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   656
	RVI( 59, 147, 168, SND_40_COMEDY_CAR_START_AND_PULL_AWAY, 176, 19, CT_BATTERIES    ), /* 77 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   657
	RVI( 59, 157, 240, SND_3F_COMEDY_CAR_3,                   224, 22, CT_BATTERIES    ), /* 78 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   658
	RVI( 60, 117,  90, SND_40_COMEDY_CAR_START_AND_PULL_AWAY,  96, 17, CT_FIZZY_DRINKS ), /* 79 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   659
	RVI( 60, 147, 168, SND_3F_COMEDY_CAR_3,                   176, 19, CT_FIZZY_DRINKS ), /* 80 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   660
	RVI( 60, 157, 240, SND_40_COMEDY_CAR_START_AND_PULL_AWAY, 224, 22, CT_FIZZY_DRINKS ), /* 81 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   661
	RVI( 61, 117,  90, SND_3F_COMEDY_CAR_3,                    96, 17, CT_PLASTIC      ), /* 82 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   662
	RVI( 61, 147, 168, SND_40_COMEDY_CAR_START_AND_PULL_AWAY, 176, 19, CT_PLASTIC      ), /* 83 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   663
	RVI( 61, 157, 240, SND_3F_COMEDY_CAR_3,                   224, 22, CT_PLASTIC      ), /* 84 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   664
	RVI( 62, 117,  90, SND_40_COMEDY_CAR_START_AND_PULL_AWAY,  96, 17, CT_BUBBLES      ), /* 85 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   665
	RVI( 62, 147, 168, SND_3F_COMEDY_CAR_3,                   176, 19, CT_BUBBLES      ), /* 86 */
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   666
	RVI( 62, 157, 240, SND_40_COMEDY_CAR_START_AND_PULL_AWAY, 224, 22, CT_BUBBLES      ), /* 87 */
0
29654efe3188 (svn r1) Import of revision 975 of old (crashed) SVN
truelight
parents:
diff changeset
   667
};
2960
b51397e5b207 (svn r3522) - Wrap the vehicle info tables with a macro to simplify adding new fields in the future.
peter1138
parents: 2840
diff changeset
   668
#undef RVI
376
6ffd7911bf39 (svn r565) -newgrf: fixed double work of RoadVehicleInfo[]; added AircraftVehicleInfo[] as well. table/engines.h is now the same as in the _map branch.
darkvater
parents: 374
diff changeset
   669
6ffd7911bf39 (svn r565) -newgrf: fixed double work of RoadVehicleInfo[]; added AircraftVehicleInfo[] as well. table/engines.h is now the same as in the _map branch.
darkvater
parents: 374
diff changeset
   670
#endif /* ENGINES_H */