diff options
author | smatz <smatz@openttd.org> | 2009-02-05 13:33:37 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-02-05 13:33:37 +0000 |
commit | f561fa2891769c865042c5042ee6de06318f2403 (patch) | |
tree | 3b80add82b9175070842f4d336bc64e767ee0ed5 /src/town_type.h | |
parent | f30961b5ab4524903d7621b500ae780d0b10595a (diff) | |
download | openttd-f561fa2891769c865042c5042ee6de06318f2403.tar.xz |
(svn r15352) -Codechange: make the arguments passed around while founding a town a bit more readable
Diffstat (limited to 'src/town_type.h')
-rw-r--r-- | src/town_type.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/town_type.h b/src/town_type.h index b863741b9..8da1a198a 100644 --- a/src/town_type.h +++ b/src/town_type.h @@ -14,10 +14,12 @@ typedef uint16 HouseClassID; struct Town; struct HouseSpec; -enum TownSizeMode { - TSM_RANDOM, - TSM_FIXED, - TSM_CITY +/** Supported initial town sizes */ +enum TownSize { + TS_SMALL, ///< small town + TS_MEDIUM, ///< medium town + TS_LARGE, ///< large town + TS_RANDOM, ///< random size, bigger than small, smaller than large }; enum { |