summaryrefslogtreecommitdiff
path: root/win32.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-11 00:54:06 +0000
committerdarkvater <darkvater@openttd.org>2005-01-11 00:54:06 +0000
commit199a77d1eac8b6c9fedfd209bfbd6685957d091c (patch)
treee10943405d0221995867614d413adaef452ac9b6 /win32.c
parent2d023f9c0b2fb33747505e8b135026d9e16c46eb (diff)
downloadopenttd-199a77d1eac8b6c9fedfd209bfbd6685957d091c.tar.xz
(svn r1479) -Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu)
-Added endgame score on 1 jan 2051 where you are added to the highscore if sufficiently large points have been accumulated. Game is paused while -These values are saved in hs.dat; added read/write functions for it -Added code to delete all windows to show charts. There is one issue left: somehow a news-gui pops up in front of the the chart at the end of the game.
Diffstat (limited to 'win32.c')
-rw-r--r--win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32.c b/win32.c
index 309576196..f3951f94d 100644
--- a/win32.c
+++ b/win32.c
@@ -2065,6 +2065,7 @@ void DeterminePaths()
_path.lang_dir = str_fmt("%slang\\", cfg);
_config_file = str_fmt("%sopenttd.cfg", _path.personal_dir);
+ _highscore_file = str_fmt("%shs.dat", _path.personal_dir);
_log_file = str_fmt("%sopenttd.log", _path.personal_dir);
// make (auto)save and scenario folder