Commit Graph

9 Commits

Author SHA1 Message Date
Jonathan G Rennison
26d32269a3 Make auto TT separation rate a company setting.
Move auto TT by default setting to PLYX chunk.
2015-10-25 21:41:25 +00:00
Jonathan G Rennison
a380573c32 Merge branch 'save_ext' into auto_timetables-sx 2015-10-25 21:41:20 +00:00
Jonathan G Rennison
d6395b97a7 Enable extended feature versions for saving to be set at run time. 2015-09-12 14:15:32 +01:00
Jonathan G Rennison
42370dc28d Add company setting to auto-enable auto timetables for new vehicles.
Default: off.
2015-09-03 23:27:26 +01:00
Jonathan G Rennison
2e45dac18a Auto timetables patch: save/load changes, document rationale for
moving addition to VehicleFlags
2015-08-04 22:07:02 +01:00
Jonathan G Rennison
047395c663 Remove unnecessary and buggy field-packing in struct SlXvFeatureTest. 2015-08-02 23:37:34 +01:00
Jonathan G Rennison
5d680d9154 Implement version setting in SlXvSetCurrentState
Call in ClearSaveLoadState
2015-08-01 18:03:07 +01:00
Jonathan G Rennison
bde094fe01 Initial implementation of SLXI chunk save/load 2015-08-01 12:58:53 +01:00
Jonathan G Rennison
17e8693e62 Initial stubs for extending the save/load version checking/upgrade code,
with support for tests on individually versioned features as well as
savegame versions.
This is mainly for improved handling of features added to patchpacks.
The current status-quo of picking a random number for the savegame
version when releasing a patch breaks loading of savegames from newer
trunk savegame versions, with or without the same patch applied, as
savegame upgrade code is not run, which can also lead to crashes on load.
Instead don't change the savegame version (but set the high bit to
keep trunk versions away), but instead include the versions of individual
features using a separate mechanism.
2015-08-01 12:26:22 +01:00