equal
deleted
inserted
replaced
199 VARDEF Player _players[MAX_PLAYERS]; |
199 VARDEF Player _players[MAX_PLAYERS]; |
200 |
200 |
201 #define IS_HUMAN_PLAYER(p) (!DEREF_PLAYER((byte)(p))->is_ai) |
201 #define IS_HUMAN_PLAYER(p) (!DEREF_PLAYER((byte)(p))->is_ai) |
202 #define IS_INTERACTIVE_PLAYER(p) (((byte)p) == _local_player) |
202 #define IS_INTERACTIVE_PLAYER(p) (((byte)p) == _local_player) |
203 |
203 |
|
204 typedef struct HighScore { |
|
205 char company[100]; |
|
206 StringID title; |
|
207 uint16 score; |
|
208 } HighScore; |
|
209 |
|
210 VARDEF HighScore _highscore_table[4][5]; // 4 difficulty-settings; top 5 |
|
211 void SaveToHighScore(void); |
|
212 void LoadFromHighScore(void); |
|
213 int SaveHighScoreValue(const Player *p); |
|
214 |
204 #endif /* PLAYER_H */ |
215 #endif /* PLAYER_H */ |