(svn r24786) -Codechange: Add SettingsProfile enum for difficulty profiles and highscore tables.

This commit is contained in:
frosch
2012-12-05 19:34:45 +00:00
parent 5b2da98ca3
commit a499435351
10 changed files with 60 additions and 41 deletions

View File

@@ -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();