Commit Graph

23 Commits

Author SHA1 Message Date
Jonathan G Rennison
a8cc81d054 Initialiser list fixes for legacy compilers. 2015-08-16 14:36:07 +01:00
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.
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
frosch
e6f83028f6 (svn r26206) -Fix [FS#5829]: Run everything from ini, obg, obs, obs, ... files through str_validate. 2014-01-02 17:55:57 +00:00
rubidium
1cf6dad8f2 (svn r25508) -Change: split unit localisation choice into a choice per type of unit, and move it to the advanced settings
-Feature [FS#5482]: have tractive effort in imperial (lbf) and metric (kgf) units
-Feature: have weights and volumes in imperial units (short tons, gallons)
2013-06-29 09:47:18 +00:00
planetmaker
7aa0712644 (svn r25072) -Codechange: Don't require the custom currency to be the last defined one 2013-03-09 16:16:17 +00:00
frosch
11bb1086bd (svn r24843) -Codechange: Move news display options into the general settings framework. (based on patch by eagle_rainbow) 2012-12-23 21:07:12 +00:00
frosch
76fef0843c (svn r24790) -Remove: Classic difficulty profiles. 2012-12-05 19:36:41 +00:00
frosch
9ef1c5f4c3 (svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs. 2012-12-05 19:36:04 +00:00
frosch
903294f2bb (svn r24786) -Codechange: Add SettingsProfile enum for difficulty profiles and highscore tables. 2012-12-05 19:34:45 +00:00
frosch
18b97fa062 (svn r24785) -Add: Various methods to open the OSK. (based on patch by Eagle_rainbow) 2012-12-05 19:34:25 +00:00
frosch
b4c70a51da (svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow) 2012-11-08 10:04:00 +00:00
alberth
cc6b16a4c1 (svn r24234) -Add: Add help-string infrastructure to the ini files 2012-05-12 10:09:00 +00:00
rubidium
9e50228fe2 (svn r23326) -Fix [FS#4852] (r23239): snow line for very old savegames wasn't retrieved from the savegame anymore 2011-11-25 17:33:58 +00:00
rubidium
d98207d51b (svn r23239) -Fix: saving/loading the snow line height twice, especially when the values are not the same causes some nasty problems... like desyncs 2011-11-17 20:42:12 +00:00
rubidium
41223c8bc9 (svn r23084) -Codechange: get rid of a redundant variable 2011-11-03 22:49:03 +00:00
alberth
a7e7e76f7f (svn r22210) -Add: Add a variable for the value strings in the settings tables. 2011-03-06 15:51:44 +00:00
alberth
a5cdadf060 (svn r22207) -Add: Add the copyright message to the new ini files. 2011-03-06 09:54:20 +00:00
rubidium
7c608a4e0a (svn r22199) -Cleanup-ish: replace the shortcut macros for (gui)flags with their more clearly named (longer) constant names 2011-03-05 11:34:31 +00:00
rubidium
8ead62cdc1 (svn r22197) -Cleanup: remove the distinction between conditional and non-conditional settings; with default from and to savegame versions all can be conditional. They previously were as well; the non-conditional ones were macros of the conditionals with to/from saveload versions hardcoded 2011-03-05 10:47:49 +00:00
rubidium
13a31bf9b9 (svn r22196) -Codechange: use default values for the from and to of savegame versions as well 2011-03-05 10:20:49 +00:00
rubidium
2c04d3eb54 (svn r22194) -Codechange: use the defaults feature of settingsgen to remove the need to state the "default" value for all items 2011-03-05 10:12:03 +00:00
alberth
5ef8c3bbab (svn r22172) -Add: Add ini files containing the table/settings data. 2011-03-03 21:04:17 +00:00