|
OpenTTD Source 20260208-master-g43af8e94d0
|
Settings related to vehicles. More...
#include <settings_type.h>
Data Fields | |
| uint8_t | max_train_length |
| maximum length for trains | |
| uint8_t | smoke_amount |
| amount of smoke/sparks locomotives produce | |
| uint8_t | train_acceleration_model |
| realistic acceleration for trains | |
| uint8_t | roadveh_acceleration_model |
| realistic acceleration for road vehicles | |
| uint8_t | train_slope_steepness |
| Steepness of hills for trains when using realistic acceleration. | |
| uint8_t | roadveh_slope_steepness |
| Steepness of hills for road vehicles when using realistic acceleration. | |
| bool | wagon_speed_limits |
| enable wagon speed limits | |
| bool | disable_elrails |
| when true, the elrails are disabled | |
| UnitID | max_trains |
| max trains in game per company | |
| UnitID | max_roadveh |
| max trucks in game per company | |
| UnitID | max_aircraft |
| max planes in game per company | |
| UnitID | max_ships |
| max ships in game per company | |
| uint8_t | plane_speed |
| divisor for speed of aircraft | |
| uint8_t | freight_trains |
| value to multiply the weight of cargo by | |
| bool | dynamic_engines |
| enable dynamic allocation of engine data | |
| bool | never_expire_vehicles |
| never expire vehicles | |
| uint8_t | extend_vehicle_life |
| extend vehicle life by this many years | |
| uint8_t | road_side |
| the side of the road vehicles drive on | |
| uint8_t | plane_crashes |
| number of plane crashes, 0 = none, 1 = reduced, 2 = normal | |
Settings related to vehicles.
Definition at line 543 of file settings_type.h.
| bool VehicleSettings::disable_elrails |
when true, the elrails are disabled
Definition at line 551 of file settings_type.h.
| bool VehicleSettings::dynamic_engines |
enable dynamic allocation of engine data
Definition at line 558 of file settings_type.h.
| uint8_t VehicleSettings::extend_vehicle_life |
extend vehicle life by this many years
Definition at line 560 of file settings_type.h.
| uint8_t VehicleSettings::freight_trains |
value to multiply the weight of cargo by
Definition at line 557 of file settings_type.h.
| UnitID VehicleSettings::max_aircraft |
max planes in game per company
Definition at line 554 of file settings_type.h.
| UnitID VehicleSettings::max_roadveh |
max trucks in game per company
Definition at line 553 of file settings_type.h.
| UnitID VehicleSettings::max_ships |
max ships in game per company
Definition at line 555 of file settings_type.h.
| uint8_t VehicleSettings::max_train_length |
maximum length for trains
Definition at line 544 of file settings_type.h.
| UnitID VehicleSettings::max_trains |
max trains in game per company
Definition at line 552 of file settings_type.h.
| bool VehicleSettings::never_expire_vehicles |
never expire vehicles
Definition at line 559 of file settings_type.h.
| uint8_t VehicleSettings::plane_crashes |
number of plane crashes, 0 = none, 1 = reduced, 2 = normal
Definition at line 562 of file settings_type.h.
| uint8_t VehicleSettings::plane_speed |
divisor for speed of aircraft
Definition at line 556 of file settings_type.h.
| uint8_t VehicleSettings::road_side |
the side of the road vehicles drive on
Definition at line 561 of file settings_type.h.
| uint8_t VehicleSettings::roadveh_acceleration_model |
realistic acceleration for road vehicles
Definition at line 547 of file settings_type.h.
| uint8_t VehicleSettings::roadveh_slope_steepness |
Steepness of hills for road vehicles when using realistic acceleration.
Definition at line 549 of file settings_type.h.
| uint8_t VehicleSettings::smoke_amount |
amount of smoke/sparks locomotives produce
Definition at line 545 of file settings_type.h.
| uint8_t VehicleSettings::train_acceleration_model |
realistic acceleration for trains
Definition at line 546 of file settings_type.h.
| uint8_t VehicleSettings::train_slope_steepness |
Steepness of hills for trains when using realistic acceleration.
Definition at line 548 of file settings_type.h.
| bool VehicleSettings::wagon_speed_limits |
enable wagon speed limits
Definition at line 550 of file settings_type.h.