summaryrefslogtreecommitdiff
path: root/src/highscore.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-12-05 19:34:45 +0000
committerfrosch <frosch@openttd.org>2012-12-05 19:34:45 +0000
commita499435351fcb7b25e1e49e1366ebeac91636c35 (patch)
tree0941b7701eb2e7c88add8330fecb78b4720c8061 /src/highscore.h
parent5b2da98ca312f91c93012e7a92fb1120d2b9d1fa (diff)
downloadopenttd-a499435351fcb7b25e1e49e1366ebeac91636c35.tar.xz
(svn r24786) -Codechange: Add SettingsProfile enum for difficulty profiles and highscore tables.
Diffstat (limited to 'src/highscore.h')
-rw-r--r--src/highscore.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/highscore.h b/src/highscore.h
index d886d7648..97b57ca5e 100644
--- a/src/highscore.h
+++ b/src/highscore.h
@@ -14,6 +14,7 @@
#include "strings_type.h"
#include "company_type.h"
+#include "settings_type.h"
struct HighScore {
char company[100];
@@ -21,7 +22,7 @@ struct HighScore {
uint16 score; ///< do NOT change type, will break hs.dat
};
-extern HighScore _highscore_table[5][5]; // 4 difficulty-settings (+ network); top 5
+extern HighScore _highscore_table[SP_HIGHSCORE_END][5];
void SaveToHighScore();
void LoadFromHighScore();