# newgrf_properties.h

Go to the documentation of this file.

    00001 /* $Id: newgrf_properties.h 23504 2011-12-13 00:43:35Z michi_cc $ */
    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_VEHICLE_LOAD_AMOUNT                    = 0x07,
    00022
    00023   PROP_TRAIN_SPEED                            = 0x09,
    00024   PROP_TRAIN_POWER                            = 0x0B,
    00025   PROP_TRAIN_RUNNING_COST_FACTOR              = 0x0D,
    00026   PROP_TRAIN_CARGO_CAPACITY                   = 0x14,
    00027   PROP_TRAIN_WEIGHT                           = 0x16,
    00028   PROP_TRAIN_COST_FACTOR                      = 0x17,
    00029   PROP_TRAIN_TRACTIVE_EFFORT                  = 0x1F,
    00030   PROP_TRAIN_SHORTEN_FACTOR                   = 0x21,
    00031   PROP_TRAIN_USER_DATA                        = 0x25,
    00032   PROP_TRAIN_CARGO_AGE_PERIOD                 = 0x2B,
    00033
    00034   PROP_ROADVEH_RUNNING_COST_FACTOR            = 0x09,
    00035   PROP_ROADVEH_CARGO_CAPACITY                 = 0x0F,
    00036   PROP_ROADVEH_COST_FACTOR                    = 0x11,
    00037   PROP_ROADVEH_POWER                          = 0x13,
    00038   PROP_ROADVEH_WEIGHT                         = 0x14,
    00039   PROP_ROADVEH_SPEED                          = 0x15,
    00040   PROP_ROADVEH_TRACTIVE_EFFORT                = 0x18,
    00041   PROP_ROADVEH_CARGO_AGE_PERIOD               = 0x22,
    00042   PROP_ROADVEH_SHORTEN_FACTOR                 = 0x23,
    00043
    00044   PROP_SHIP_COST_FACTOR                       = 0x0A,
    00045   PROP_SHIP_SPEED                             = 0x0B,
    00046   PROP_SHIP_CARGO_CAPACITY                    = 0x0D,
    00047   PROP_SHIP_RUNNING_COST_FACTOR               = 0x0F,
    00048   PROP_SHIP_CARGO_AGE_PERIOD                  = 0x1D,
    00049
    00050   PROP_AIRCRAFT_COST_FACTOR                   = 0x0B,
    00051   PROP_AIRCRAFT_SPEED                         = 0x0C,
    00052   PROP_AIRCRAFT_RUNNING_COST_FACTOR           = 0x0E,
    00053   PROP_AIRCRAFT_PASSENGER_CAPACITY            = 0x0F,
    00054   PROP_AIRCRAFT_MAIL_CAPACITY                 = 0x11,
    00055   PROP_AIRCRAFT_CARGO_AGE_PERIOD              = 0x1C,
    00056   PROP_AIRCRAFT_RANGE                         = 0x1F,
    00057 };
    00058
    00059 #endif /* NEWGRF_PROPERTIES_H */