diff options
author | darkvater <darkvater@openttd.org> | 2005-01-11 00:54:06 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-01-11 00:54:06 +0000 |
commit | 199a77d1eac8b6c9fedfd209bfbd6685957d091c (patch) | |
tree | e10943405d0221995867614d413adaef452ac9b6 /functions.h | |
parent | 2d023f9c0b2fb33747505e8b135026d9e16c46eb (diff) | |
download | openttd-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 'functions.h')
-rw-r--r-- | functions.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.h b/functions.h index 95ef0480d..0d20611fc 100644 --- a/functions.h +++ b/functions.h @@ -235,7 +235,8 @@ void ShowNetworkNeedCompanyPassword(); void ShowRenameSignWindow(SignStruct *ss); void ShowRenameWaypointWindow(Waypoint *cp); int FindFirstBit(uint32 x); -void ShowHighscoreTable(int tbl); +void ShowHighscoreTable(int difficulty, int rank); +void ShowEndGameChart(void); TileIndex AdjustTileCoordRandomly(TileIndex a, byte rng); enum SaveOrLoadResult { |