OpenTTD
newgrf_properties.h
Go to the documentation of this file.
1 /*
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/>.
6  */
7 
10 #ifndef NEWGRF_PROPERTIES_H
11 #define NEWGRF_PROPERTIES_H
12 
18 enum PropertyID {
20 
31 
41 
43  PROP_SHIP_SPEED = 0x0B,
47 
55 };
56 
57 #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)