Commit Graph

15885 Commits (8001d8635057dd71cb09a844aa49f2cd9cb81c2b)

Author SHA1 Message Date
Jonathan G Rennison 8001d86350 Merge branch 'save_ext' into order_occupancy-sx 9 years ago
Jonathan G Rennison e606a847c6 Add an un-ordered chunk for extra company settings: PLYX.
This is similar to the PATX chunk.
Minor refactoring to enable some code sharing between two chunks.
Fix MakeSettingsPatxList always regenerating cache.
Update documentation of PATX chunk structure.
9 years ago
Jonathan G Rennison d6395b97a7 Enable extended feature versions for saving to be set at run time. 9 years ago
Jonathan G Rennison 86dea90c4f save_ext: Initial support for save/load of RIFF chunk sizes > 28 bits.
Add a chunk extension header with a flag for increased RIFF size.
9 years ago
Jonathan G Rennison 459891343e Merge branch 'master' into save_ext 9 years ago
translators 081da61d05 (svn r27395) -Update from WebTranslator v3.0:
frisian - 14 changes by BAJansen
9 years ago
translators 54eb340998 (svn r27394) -Update from WebTranslator v3.0:
frisian - 25 changes by BAJansen
9 years ago
translators 246df66229 (svn r27391) -Update from WebTranslator v3.0:
english_US - 2 changes by Supercheese
9 years ago
Jonathan G Rennison e9d3e6fad2 Merge branch 'order_occupancy' into order_occupancy-sx 9 years ago
Jonathan G Rennison 0cf7428f85 Fix crash in competitor orders GUI.
Fix attempt to set occupancy widget displayed pane in
competitors order GUI, where the occupancy widget is not present.
9 years ago
translators ee8bee5e31 (svn r27390) -Update from WebTranslator v3.0:
korean - 1 changes by telk5093
9 years ago
Jonathan G Rennison 659b6b7337 PATX settings: Various changes to support legacy compilers. 9 years ago
frosch 8c389a2a96 (svn r27389) -Fix: There are two different availability conditions for fdatasync in the manpage. Use them both, since at least on some MinGW versions one is not enough. 9 years ago
translators 8f36c49ffa (svn r27388) -Update from WebTranslator v3.0:
dutch - 4 changes by TheTycoonist
9 years ago
translators 284c9dd342 (svn r27387) -Update from WebTranslator v3.0:
dutch - 2 changes by TheTycoonist
9 years ago
Jonathan G Rennison a8cc81d054 Initialiser list fixes for legacy compilers. 9 years ago
Jonathan G Rennison ef5ecdb2c7 Merge branch 'git_findversion_fix' into save_ext 9 years ago
translators 8cfc1e9d23 (svn r27386) -Update from WebTranslator v3.0:
dutch - 3 changes by TheTycoonist
9 years ago
rubidium 3b8aabdd9e (svn r27385) -Fix: compilation failure due #define-ing enum name of a system library before including the system library 9 years ago
translators 70322bce59 (svn r27384) -Update from WebTranslator v3.0:
catalan - 35 changes by juanjo
9 years ago
rubidium 8f711aca53 (svn r27383) -Fix: win32 sound driver would not catch the exception due to constness difference 9 years ago
michi_cc 44918010df (svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists. 9 years ago
michi_cc 0cd198c798 (svn r27380) -Fix: [Win32] Compilation with MSVC2015. 9 years ago
frosch 63aa9f4ea8 (svn r27379) -Codechange: Do not throw in the destructors of ScriptTest/ExecMode. 9 years ago
alberth 438d7a26cc (svn r27378) -Codechange: Fix indentation of the table values, allow Doxygen to link to the TextColour enum. 9 years ago
Jonathan G Rennison fdce64ddae Save/load changes for order occupancy 9 years ago
Jonathan G Rennison 52c07d1f51 Merge branch 'save_ext' into order_occupancy-sx
Conflicts:
	src/saveload/saveload.cpp
9 years ago
Jonathan G Rennison 117599ec7f Order occupancy: Add column to orders GUI to show occupancy running average.
This is an exponentially weighted moving average of occupancies updated
when any vehicle in the shared order set leaves the station of that order.
The weighting factor is an adv setting.
9 years ago
rubidium eb4b6a08d0 (svn r27377) -Codechange: use the pkg-config files of ICU as well. Since they are split into separate libraries it becomes possible to split RTL support for natural sorting, although the effect will be minimal 9 years ago
rubidium ee700fd3b1 (svn r27367) -Codechange: make a distinction between the layouting part of ICU (lx) or the sorting/collation part of ICU (i18n) 9 years ago
Jonathan G Rennison 316b3a4acc Merge branch 'master' into save_ext 9 years ago
frosch 9f72662ecc (svn r27366) -Fix [FS#6358]: Clickareas in settings tree were misaligned when the filter warning was displayed, if the setting height was defined by the icons instead of the font. 9 years ago
frosch c9120cd714 (svn r27365) -Fix: Center settings filter warning also vertically, and also in case of multiple lines. 9 years ago
translators a9200aa69a (svn r27364) -Update from WebTranslator v3.0:
czech - 1 changes by Eskymak
dutch - 12 changes by TheTycoonist
9 years ago
alberth 894f69e1fd (svn r27363) -Codechange: Fix codestyle of one-line methods and header codestyle of derived structs. 9 years ago
alberth 48485a6a5a (svn r27362) -Codechange: Codestyle fixes for reference var declarations, static cast type, operator methods. 9 years ago
Jonathan G Rennison e30d7c2164 Save/load ext: Fix SlXvSetCurrentState being called before AfterLoadGame(). 9 years ago
translators f95759139b (svn r27359) -Update from WebTranslator v3.0:
swedish - 1 changes by planetmaker
9 years ago
Jonathan G Rennison 03b6c41c67 Add shorthand flag in SlxiSubChunkFlags for XSCF_IGNORABLE_UNKNOWN | XSCF_IGNORABLE_VERSION. 9 years ago
Jonathan G Rennison eadeb51535 Merge branch 'master' into save_ext 9 years ago
Jonathan G Rennison 047395c663 Remove unnecessary and buggy field-packing in struct SlXvFeatureTest. 9 years ago
translators 163c30570b (svn r27358) -Update from WebTranslator v3.0:
catalan - 25 changes by juanjo
9 years ago
translators e6782df9ba (svn r27357) -Update from WebTranslator v3.0:
catalan - 181 changes by juanjo
9 years ago
Jonathan G Rennison b3e102fe52 Fix length mismatch in PATX loader. 9 years ago
Jonathan G Rennison 5d680d9154 Implement version setting in SlXvSetCurrentState
Call in ClearSaveLoadState
9 years ago
Jonathan G Rennison c57ffc64bc Settings update: add PATX chunk to store additional settings
in an unordered format which is tolerant of extra, missing or reordered
settings.
9 years ago
Jonathan G Rennison bde094fe01 Initial implementation of SLXI chunk save/load 9 years ago
Jonathan G Rennison a3980dc6ba Move SlRead/SlWrite functions to saveload.h
Add SlGetBytesRead and SlGetBytesWritten functions.
9 years ago
Jonathan G Rennison 4508cfbf93 Add format-style versions of SlError and SlErrorCorrupt. 9 years ago
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.
9 years ago