(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.
This commit is contained in:
darkvater
2005-01-11 00:54:06 +00:00
parent 085563653f
commit 5fac6142e8
17 changed files with 367 additions and 61 deletions

View File

@@ -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