2 * This file is part of OpenTTD.
3 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
10 * All the roadtype-specific information is stored here.
17 * Global Roadtype definition
19 static const RoadTypeInfo _original_roadtypes
[] = {
36 SPR_CURSOR_ROAD_DEPOT
,
37 SPR_CURSOR_ROAD_TUNNEL
,
38 SPR_CURSOR_CONVERT_ROAD
,
44 STR_ROAD_TOOLBAR_ROAD_CONSTRUCTION_CAPTION
,
45 STR_ROAD_MENU_ROAD_CONSTRUCTION
,
46 STR_BUY_VEHICLE_ROAD_VEHICLE_CAPTION
,
47 STR_REPLACE_ROAD_VEHICLES
,
48 STR_ENGINE_PREVIEW_ROAD_VEHICLE
,
50 STR_ERROR_CAN_T_BUILD_ROAD_HERE
,
51 STR_ERROR_CAN_T_REMOVE_ROAD_FROM
,
52 STR_ERROR_CAN_T_BUILD_ROAD_DEPOT
,
53 { STR_ERROR_CAN_T_BUILD_BUS_STATION
, STR_ERROR_CAN_T_BUILD_TRUCK_STATION
},
54 { STR_ERROR_CAN_T_REMOVE_BUS_STATION
, STR_ERROR_CAN_T_REMOVE_TRUCK_STATION
},
55 STR_ERROR_CAN_T_CONVERT_ROAD
,
56 { STR_STATION_BUILD_BUS_ORIENTATION
, STR_STATION_BUILD_TRUCK_ORIENTATION
},
57 { STR_STATION_BUILD_BUS_ORIENTATION_TOOLTIP
, STR_STATION_BUILD_TRUCK_ORIENTATION_TOOLTIP
},
60 /* Powered roadtypes */
69 /* maintenance cost multiplier */
78 /* alternate labels */
84 /* introduction date */
87 /* roadtypes required for this to be introduced */
90 /* introduction road types */
100 /* Electrified Tram */
104 SPR_IMG_TRAMWAY_X_DIR
,
105 SPR_IMG_TRAMWAY_Y_DIR
,
109 SPR_IMG_CONVERT_TRAM
,
113 SPR_CURSOR_TRAMWAY_NESW
,
114 SPR_CURSOR_TRAMWAY_NWSE
,
116 SPR_CURSOR_ROAD_DEPOT
,
117 SPR_CURSOR_ROAD_TUNNEL
,
118 SPR_CURSOR_CONVERT_TRAM
,
124 STR_ROAD_TOOLBAR_TRAM_CONSTRUCTION_CAPTION
,
125 STR_ROAD_MENU_TRAM_CONSTRUCTION
,
126 STR_BUY_VEHICLE_TRAM_VEHICLE_CAPTION
,
127 STR_REPLACE_TRAM_VEHICLES
,
128 STR_ENGINE_PREVIEW_TRAM_VEHICLE
,
130 STR_ERROR_CAN_T_BUILD_TRAMWAY_HERE
,
131 STR_ERROR_CAN_T_REMOVE_TRAMWAY_FROM
,
132 STR_ERROR_CAN_T_BUILD_TRAM_DEPOT
,
133 { STR_ERROR_CAN_T_BUILD_PASSENGER_TRAM_STATION
, STR_ERROR_CAN_T_BUILD_CARGO_TRAM_STATION
},
134 { STR_ERROR_CAN_T_REMOVE_PASSENGER_TRAM_STATION
, STR_ERROR_CAN_T_REMOVE_CARGO_TRAM_STATION
},
135 STR_ERROR_CAN_T_CONVERT_TRAMWAY
,
136 { STR_STATION_BUILD_PASSENGER_TRAM_ORIENTATION
, STR_STATION_BUILD_CARGO_TRAM_ORIENTATION
},
137 { STR_STATION_BUILD_PASSENGER_TRAM_ORIENTATION_TOOLTIP
, STR_STATION_BUILD_CARGO_TRAM_ORIENTATION_TOOLTIP
},
140 /* Powered roadtypes */
144 ROTFB_CATENARY
| ROTFB_NO_HOUSES
,
146 /* cost multiplier */
149 /* maintenance cost multiplier */
155 /* road type label */
158 /* alternate labels */
164 /* introduction date */
167 /* roadtypes required for this to be introduced */
170 /* introduction road types */
181 #endif /* ROADTYPES_H */