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 | aa692a99a900066c48c78f162f355295507a4fb7 (patch) | |
tree | 3b80add82b9175070842f4d336bc64e767ee0ed5 /src/town_type.h | |
parent | 9d94c8f369218254a7273e22a1dfdf8c35f8a20d (diff) | |
download | openttd-aa692a99a900066c48c78f162f355295507a4fb7.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 { |