highscore.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00012 #ifndef HIGHSCORE_H
00013 #define HIGHSCORE_H
00014
00015 #include "strings_type.h"
00016 #include "company_type.h"
00017
00018 struct HighScore {
00019 char company[100];
00020 StringID title;
00021 uint16 score;
00022 };
00023
00024 extern HighScore _highscore_table[5][5];
00025
00026 void SaveToHighScore();
00027 void LoadFromHighScore();
00028 int8 SaveHighScoreValue(const Company *c);
00029 int8 SaveHighScoreValueNetwork();
00030 StringID EndGameGetPerformanceTitleFromValue(uint value);
00031 void ShowHighscoreTable(int difficulty, int8 rank);
00032
00033 #endif