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/town.h | |
parent | 3e2fae03bdfcc672cffd342e5fadf06cff41e4e6 (diff) | |
download | openttd-4169bfba0604b33bad92389bd3eb6f9acde89f49.tar.xz |
(svn r9050) -Codechange: Foo(void) -> Foo()
Diffstat (limited to 'src/town.h')
-rw-r--r-- | src/town.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/town.h b/src/town.h index 184cea2e0..ad3b60ee5 100644 --- a/src/town.h +++ b/src/town.h @@ -80,10 +80,10 @@ struct Town { uint16 radius[5]; }; -uint32 GetWorldPopulation(void); +uint32 GetWorldPopulation(); void UpdateTownVirtCoord(Town *t); -void InitializeTown(void); +void InitializeTown(); void ShowTownViewWindow(TownID town); void ExpandTown(Town *t); Town *CreateRandomTown(uint attempts, uint size_mode); @@ -173,7 +173,7 @@ static inline bool IsValidTownID(TownID index) VARDEF uint _total_towns; -static inline TownID GetMaxTownIndex(void) +static inline TownID GetMaxTownIndex() { /* TODO - This isn't the real content of the function, but * with the new pool-system this will be replaced with one that @@ -183,7 +183,7 @@ static inline TownID GetMaxTownIndex(void) return GetTownPoolSize() - 1; } -static inline uint GetNumTowns(void) +static inline uint GetNumTowns() { return _total_towns; } @@ -191,7 +191,7 @@ static inline uint GetNumTowns(void) /** * Return a random valid town. */ -static inline Town *GetRandomTown(void) +static inline Town *GetRandomTown() { int num = RandomRange(GetNumTowns()); TownID index = INVALID_TOWN; |