summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-08 12:25:13 +0000
committerrubidium <rubidium@openttd.org>2009-02-08 12:25:13 +0000
commit377ce6c5bf1bc98087a83cd906dd14223668acef (patch)
tree5b7c7c6ed12ff58167007d93a309a4a340ebdf6b /src/saveload
parent27105127f6f9161e42f9e329e2db8ea417558c9f (diff)
downloadopenttd-377ce6c5bf1bc98087a83cd906dd14223668acef.tar.xz
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/afterload.cpp4
-rw-r--r--src/saveload/gamelog_sl.cpp10
-rw-r--r--src/saveload/saveload.cpp2
3 files changed, 8 insertions, 8 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index f34d5fda0..35580102b 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -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++;
diff --git a/src/saveload/gamelog_sl.cpp b/src/saveload/gamelog_sl.cpp
index 7364602bb..67f05d55e 100644
--- a/src/saveload/gamelog_sl.cpp
+++ b/src/saveload/gamelog_sl.cpp
@@ -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,
diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp
index ed6f1e739..f4e20ecef 100644
--- a/src/saveload/saveload.cpp
+++ b/src/saveload/saveload.cpp
@@ -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);