diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
commit | 4169bfba0604b33bad92389bd3eb6f9acde89f49 (patch) | |
tree | 5676d0d54be47c40d975fdeb1026317fc2a010db /src/player.h | |
parent | 3e2fae03bdfcc672cffd342e5fadf06cff41e4e6 (diff) | |
download | openttd-4169bfba0604b33bad92389bd3eb6f9acde89f49.tar.xz |
(svn r9050) -Codechange: Foo(void) -> Foo()
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/player.h b/src/player.h index 459bc76cd..2f1d48259 100644 --- a/src/player.h +++ b/src/player.h @@ -217,7 +217,7 @@ VARDEF Player _players[MAX_PLAYERS]; // NOSAVE: can be determined from player structs VARDEF byte _player_colors[MAX_PLAYERS]; -static inline byte ActivePlayerCount(void) +static inline byte ActivePlayerCount() { const Player *p; byte count = 0; @@ -235,7 +235,7 @@ static inline Player* GetPlayer(PlayerID i) return &_players[i]; } -static inline bool IsLocalPlayer(void) +static inline bool IsLocalPlayer() { return _local_player == _current_player; } @@ -289,10 +289,10 @@ typedef struct HighScore { } HighScore; VARDEF HighScore _highscore_table[5][5]; // 4 difficulty-settings (+ network); top 5 -void SaveToHighScore(void); -void LoadFromHighScore(void); +void SaveToHighScore(); +void LoadFromHighScore(); int8 SaveHighScoreValue(const Player *p); -int8 SaveHighScoreValueNetwork(void); +int8 SaveHighScoreValueNetwork(); /* Engine Replacement Functions */ |