OpenTTD
newgrf_properties.h
Go to the documentation of this file.
1 /* $Id: newgrf_properties.h 23504 2011-12-13 00:43:35Z michi_cc $ */
2 
3 /*
4  * This file is part of OpenTTD.
5  * 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.
6  * 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.
7  * 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/>.
8  */
9 
12 #ifndef NEWGRF_PROPERTIES_H
13 #define NEWGRF_PROPERTIES_H
14 
20 enum PropertyID {
22 
33 
43 
45  PROP_SHIP_SPEED = 0x0B,
49 
57 };
58 
59 #endif /* NEWGRF_PROPERTIES_H */
Aircraft range.
Max. speed: 1 unit = 1/1.6 mph = 1 km-ish/h.
Power in hp (if dualheaded: sum of both vehicles)
Yearly runningcost (if dualheaded: sum of both vehicles)
Purchase cost (if dualheaded: sum of both vehicles)
PropertyID
List of NewGRF properties used in Action 0 or Callback 0x36 (CBID_VEHICLE_MODIFY_PROPERTY).
Number of ticks before carried cargo is aged.
Tractive effort coefficient in 1/256.
User defined data for vehicle variable 0x42.
Capacity (if dualheaded: for each single vehicle)
Weight in 1/4 t.
Max. speed: 1 unit = 1/0.8 mph = 2 km-ish/h.
Number of ticks before carried cargo is aged.
Power in 10 HP.
Max. speed: 1 unit = 1/3.2 mph = 0.5 km-ish/h.
Number of ticks before carried cargo is aged.
Number of ticks before carried cargo is aged.
Max. speed: 1 unit = 8 mph = 12.8 km-ish/h.
Tractive effort coefficient in 1/256.
Weight in t (if dualheaded: for each single vehicle)