(svn r14815) -Codechange: separate 'highscore' code from 'company' code
This commit is contained in:
@@ -32,18 +32,4 @@ static inline bool IsInteractiveCompany(CompanyID company)
|
||||
return company == _local_company;
|
||||
}
|
||||
|
||||
|
||||
|
||||
struct HighScore {
|
||||
char company[100];
|
||||
StringID title; ///< NOSAVE, has troubles with changing string-numbers.
|
||||
uint16 score; ///< do NOT change type, will break hs.dat
|
||||
};
|
||||
|
||||
extern HighScore _highscore_table[5][5]; // 4 difficulty-settings (+ network); top 5
|
||||
void SaveToHighScore();
|
||||
void LoadFromHighScore();
|
||||
int8 SaveHighScoreValue(const Company *c);
|
||||
int8 SaveHighScoreValueNetwork();
|
||||
|
||||
#endif /* COMPANY_FUNC_H */
|
||||
|
Reference in New Issue
Block a user