Changeset - r22553:9f58922506e4
[Not reviewed]
master
0 2 0
frosch - 8 years ago 2017-02-26 20:31:02
frosch@openttd.org
(svn r27760) -Change: Enable realisitic train and road vehicle acceleration by default.
2 files changed with 6 insertions and 4 deletions:
0 comments (0 inline, 0 general)
src/saveload/afterload.cpp
Show inline comments
 
@@ -718,12 +718,14 @@ bool AfterLoadGame()
 
	if (IsSavegameVersionBefore(95))   _settings_game.vehicle.dynamic_engines = 0;
 
	if (IsSavegameVersionBefore(96))   _settings_game.economy.station_noise_level = false;
 
	if (IsSavegameVersionBefore(133)) {
 
		_settings_game.vehicle.roadveh_acceleration_model = 0;
 
		_settings_game.vehicle.train_slope_steepness = 3;
 
	}
 
	if (IsSavegameVersionBefore(134))  _settings_game.economy.feeder_payment_share = 75;
 
	if (IsSavegameVersionBefore(138))  _settings_game.vehicle.plane_crashes = 2;
 
	if (IsSavegameVersionBefore(139))  _settings_game.vehicle.roadveh_slope_steepness = 7;
 
	if (IsSavegameVersionBefore(139)) {
 
		_settings_game.vehicle.roadveh_acceleration_model = 0;
 
		_settings_game.vehicle.roadveh_slope_steepness = 7;
 
	}
 
	if (IsSavegameVersionBefore(143))  _settings_game.economy.allow_town_level_crossings = true;
 
	if (IsSavegameVersionBefore(159)) {
 
		_settings_game.vehicle.max_train_length = 50;
src/table/settings.ini
Show inline comments
 
@@ -760,7 +760,7 @@ base     = GameSettings
 
var      = vehicle.train_acceleration_model
 
type     = SLE_UINT8
 
guiflags = SGF_MULTISTRING
 
def      = 0
 
def      = 1
 
min      = 0
 
max      = 1
 
interval = 1
 
@@ -775,7 +775,7 @@ var      = vehicle.roadveh_acceleration_
 
type     = SLE_UINT8
 
from     = 139
 
guiflags = SGF_MULTISTRING
 
def      = 0
 
def      = 1
 
min      = 0
 
max      = 1
 
interval = 1
0 comments (0 inline, 0 general)