summaryrefslogtreecommitdiff
path: root/src/table/settings.h
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-03-06 12:56:57 +0000
committerterkhen <terkhen@openttd.org>2010-03-06 12:56:57 +0000
commitc958c2c31f0f04cdf66dfae0b95743011202655a (patch)
tree0e5d74d9cf5d50a10f2733c3c40eb190cb2163ea /src/table/settings.h
parente770b3d6bbd6fa35f9f921232c965f1c306d1b85 (diff)
downloadopenttd-c958c2c31f0f04cdf66dfae0b95743011202655a.tar.xz
(svn r19345) -Feature: Realistic acceleration for road vehicles.
Diffstat (limited to 'src/table/settings.h')
-rw-r--r--src/table/settings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/table/settings.h b/src/table/settings.h
index 81b7a7a9d..e96a1cf35 100644
--- a/src/table/settings.h
+++ b/src/table/settings.h
@@ -23,6 +23,7 @@ static bool DeleteSelectStationWindow(int32 p1);
static bool UpdateConsists(int32 p1);
static bool CheckInterval(int32 p1);
static bool TrainAccelerationModelChanged(int32 p1);
+static bool RoadVehAccelerationModelChanged(int32 p1);
static bool TrainSlopeSteepnessChanged(int32 p1);
static bool DragSignalsDensityChanged(int32);
static bool TownFoundingChanged(int32 p1);
@@ -371,6 +372,7 @@ const SettingDesc _settings[] = {
SDT_CONDVAR(GameSettings, economy.found_town, SLE_UINT8,128, SL_MAX_VERSION, 0,MS,TF_FORBIDDEN,TF_BEGIN,TF_END - 1, 1, STR_CONFIG_SETTING_TOWN_FOUNDING, TownFoundingChanged),
SDT_VAR(GameSettings, vehicle.train_acceleration_model, SLE_UINT8, 0,MS, 0, 0, 1, 1, STR_CONFIG_SETTING_TRAIN_ACCELERATION_MODEL, TrainAccelerationModelChanged),
+ SDT_CONDVAR(GameSettings, vehicle.roadveh_acceleration_model, SLE_UINT8,139, SL_MAX_VERSION, 0,MS, 0, 0, 1, 1, STR_CONFIG_SETTING_ROAD_VEHICLE_ACCELERATION_MODEL, RoadVehAccelerationModelChanged),
SDT_CONDVAR(GameSettings, vehicle.train_slope_steepness, SLE_UINT8,133, SL_MAX_VERSION, 0, 0, 3, 0, 10, 1, STR_CONFIG_SETTING_TRAIN_SLOPE_STEEPNESS, TrainSlopeSteepnessChanged),
SDT_BOOL(GameSettings, pf.forbid_90_deg, 0, 0, false, STR_CONFIG_SETTING_FORBID_90_DEG, NULL),
SDT_BOOL(GameSettings, vehicle.mammoth_trains, 0,NN, true, STR_CONFIG_SETTING_MAMMOTHTRAINS, NULL),