This patch splits the game setting "Forbid trains and ships from making 90º turns" into 2 separate settings:
- "Forbid trains from making 90º turns" - this game setting is re-using the value of the old setting for savegame conversion purposes.
- "Forbid ships from making 90º turns" - this game setting is new and copies the value of the old setting into it during savegame conversion.
- ship and train pathfinders have hopefully been dealt with, by using their respective vehicle type when checking the values of these settings as separate.
- new strings are added for ships.
- the old train strings have their text slighty modified, to accomodate the new behaviour (is for train only)
v2
- simplified the whole patching mess by reverting the variable name 'forbid_90_deg_trains' back into 'forbid_90_deg' while still maintaining its new behaviour.
- also reverted string names 'STR_CONFIG_SETTING_FORBID_90_DEG_TRAINS' and 'STR_CONFIG_SETTING_FORBID_90_DEG_TRAINS_HELPTEXT' back to 'STR_CONFIG_SETTING_FORBID_90_DEG' and 'STR_CONFIG_SETTING_FORBID90_DEG_HELPTEXT'.
- this vastly decreases the number of changes when patching.
separate forbid 90 degrees for trains and ships patch
Moderator: OpenTTD Developers
separate forbid 90 degrees for trains and ships patch
Formerly known as Samu
Who is online
Users browsing this forum: Amazon [Bot] and 11 guests