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 | 36bb92ae241403d61dc7a3e5a1696b615be61395 (patch) | |
tree | 5676d0d54be47c40d975fdeb1026317fc2a010db /src/player.h | |
parent | a69e3b1c45f12ee6f21a4ac1c8a8f8bc0892f226 (diff) | |
download | openttd-36bb92ae241403d61dc7a3e5a1696b615be61395.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 */ |