(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.

This commit is contained in:
rubidium
2009-02-08 12:25:13 +00:00
parent 9eee0a6a81
commit 283b3d16ab
83 changed files with 9864 additions and 9863 deletions

View File

@@ -1215,7 +1215,7 @@ bool AfterLoadGame()
}
}
/* A patch option containing the proportion of towns that grow twice as
/* A setting containing the proportion of towns that grow twice as
* fast was added in version 54. From version 56 this is now saved in the
* town as cities can be built specifically in the scenario editor. */
if (CheckSavegameVersion(56)) {
@@ -1257,7 +1257,7 @@ bool AfterLoadGame()
}
if (CheckSavegameVersion(58)) {
/* patch difficulty number_industries other than zero get bumped to +1
/* Setting difficulty number_industries other than zero get bumped to +1
* since a new option (very low at position1) has been added */
if (_settings_game.difficulty.number_industries > 0) {
_settings_game.difficulty.number_industries++;

View File

@@ -34,10 +34,10 @@ static const SaveLoad _glog_oldver_desc[] = {
SLE_END()
};
static const SaveLoad _glog_patch_desc[] = {
SLE_STR(LoggedChange, patch.name, SLE_STR, 128),
SLE_VAR(LoggedChange, patch.oldval, SLE_INT32),
SLE_VAR(LoggedChange, patch.newval, SLE_INT32),
static const SaveLoad _glog_setting_desc[] = {
SLE_STR(LoggedChange, setting.name, SLE_STR, 128),
SLE_VAR(LoggedChange, setting.oldval, SLE_INT32),
SLE_VAR(LoggedChange, setting.newval, SLE_INT32),
SLE_END()
};
@@ -80,7 +80,7 @@ static const SaveLoad *_glog_desc[] = {
_glog_mode_desc,
_glog_revision_desc,
_glog_oldver_desc,
_glog_patch_desc,
_glog_setting_desc,
_glog_grfadd_desc,
_glog_grfrem_desc,
_glog_grfcompat_desc,

View File

@@ -1830,7 +1830,7 @@ SaveOrLoadResult SaveOrLoad(const char *filename, int mode, Subdirectory sb)
}
}
/** Do a save when exiting the game (patch option) _settings_client.gui.autosave_on_exit */
/** Do a save when exiting the game (_settings_client.gui.autosave_on_exit) */
void DoExitSave()
{
SaveOrLoad("exit.sav", SL_SAVE, AUTOSAVE_DIR);