OpenTTD: src/newgrf_properties.h Source File

OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

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 {
21 PROP_VEHICLE_LOAD_AMOUNT = 0x07,
22
23 PROP_TRAIN_SPEED = 0x09,
24 PROP_TRAIN_POWER = 0x0B,
25 PROP_TRAIN_RUNNING_COST_FACTOR = 0x0D,
26 PROP_TRAIN_CARGO_CAPACITY = 0x14,
27 PROP_TRAIN_WEIGHT = 0x16,
28 PROP_TRAIN_COST_FACTOR = 0x17,
29 PROP_TRAIN_TRACTIVE_EFFORT = 0x1F,
30 PROP_TRAIN_SHORTEN_FACTOR = 0x21,
31 PROP_TRAIN_USER_DATA = 0x25,
32 PROP_TRAIN_CARGO_AGE_PERIOD = 0x2B,
33
34 PROP_ROADVEH_RUNNING_COST_FACTOR = 0x09,
35 PROP_ROADVEH_CARGO_CAPACITY = 0x0F,
36 PROP_ROADVEH_COST_FACTOR = 0x11,
37 PROP_ROADVEH_POWER = 0x13,
38 PROP_ROADVEH_WEIGHT = 0x14,
39 PROP_ROADVEH_SPEED = 0x15,
40 PROP_ROADVEH_TRACTIVE_EFFORT = 0x18,
41 PROP_ROADVEH_CARGO_AGE_PERIOD = 0x22,
42 PROP_ROADVEH_SHORTEN_FACTOR = 0x23,
43
44 PROP_SHIP_COST_FACTOR = 0x0A,
45 PROP_SHIP_SPEED = 0x0B,
46 PROP_SHIP_CARGO_CAPACITY = 0x0D,
47 PROP_SHIP_RUNNING_COST_FACTOR = 0x0F,
48 PROP_SHIP_CARGO_AGE_PERIOD = 0x1D,
49
50 PROP_AIRCRAFT_COST_FACTOR = 0x0B,
51 PROP_AIRCRAFT_SPEED = 0x0C,
52 PROP_AIRCRAFT_RUNNING_COST_FACTOR = 0x0E,
53 PROP_AIRCRAFT_PASSENGER_CAPACITY = 0x0F,
54 PROP_AIRCRAFT_MAIL_CAPACITY = 0x11,
55 PROP_AIRCRAFT_CARGO_AGE_PERIOD = 0x1C,
56 PROP_AIRCRAFT_RANGE = 0x1F,
57 };
58
59 #endif /* NEWGRF_PROPERTIES_H */