diff options
author | frosch <frosch@openttd.org> | 2013-05-26 19:27:22 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-05-26 19:27:22 +0000 |
commit | 23ba42b66ccf915230cab163cdeca19db6e95f76 (patch) | |
tree | eea2f6daffe6fc9283487ed3736dde80ebc87825 /src/openttd.cpp | |
parent | 8157a8afd814cb24aaaa4c725817c864e0c583c6 (diff) | |
download | openttd-23ba42b66ccf915230cab163cdeca19db6e95f76.tar.xz |
(svn r25291) -Add: WindowDesc ability to load and store information in a config file.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index ffecade0a..2386e4798 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -425,6 +425,7 @@ struct AfterNewGRFScan : NewGRFScanCallback { CheckConfig(); LoadFromHighScore(); LoadHotkeysFromConfig(); + WindowDesc::LoadFromConfig(); /* We have loaded the config, so we may possibly save it. */ *save_config_ptr = save_config; @@ -852,6 +853,7 @@ int ttd_main(int argc, char *argv[]) if (save_config) { SaveToConfig(); SaveHotkeysToConfig(); + WindowDesc::SaveToConfig(); SaveToHighScore(); } |