# newgrf_properties.h

Go to the documentation of this file.

    00001 /* $Id: newgrf_properties.h 18011 2009-11-08 13:02:05Z frosch $ */
    00002
    00003 /*
    00004  * This file is part of OpenTTD.
    00005  * 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.
    00006  * 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.
    00007  * 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/>.
    00008  */
    00009
    00012 #ifndef NEWGRF_PROPERTIES_H
    00013 #define NEWGRF_PROPERTIES_H
    00014
    00020 enum PropertyID {
    00021   PROP_TRAIN_SPEED                            = 0x09,
    00022   PROP_TRAIN_POWER                            = 0x0B,
    00023   PROP_TRAIN_RUNNING_COST_FACTOR              = 0x0D,
    00024   PROP_TRAIN_CARGO_CAPACITY                   = 0x14,
    00025   PROP_TRAIN_WEIGHT                           = 0x16,
    00026   PROP_TRAIN_COST_FACTOR                      = 0x17,
    00027   PROP_TRAIN_TRACTIVE_EFFORT                  = 0x1F,
    00028   PROP_TRAIN_USER_DATA                        = 0x25,
    00029
    00030   PROP_ROADVEH_RUNNING_COST_FACTOR            = 0x09,
    00031   PROP_ROADVEH_CARGO_CAPACITY                 = 0x0F,
    00032   PROP_ROADVEH_COST_FACTOR                    = 0x11,
    00033
    00034   PROP_SHIP_COST_FACTOR                       = 0x0A,
    00035   PROP_SHIP_SPEED                             = 0x0B,
    00036   PROP_SHIP_CARGO_CAPACITY                    = 0x0D,
    00037   PROP_SHIP_RUNNING_COST_FACTOR               = 0x0F,
    00038
    00039   PROP_AIRCRAFT_COST_FACTOR                   = 0x0B,
    00040   PROP_AIRCRAFT_SPEED                         = 0x0C,
    00041   PROP_AIRCRAFT_RUNNING_COST_FACTOR           = 0x0E,
    00042 };
    00043
    00044 #endif /* NEWGRF_PROPERTIES_H */