summaryrefslogtreecommitdiff
path: root/src/town_type.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-02-05 13:33:37 +0000
committersmatz <smatz@openttd.org>2009-02-05 13:33:37 +0000
commitaa692a99a900066c48c78f162f355295507a4fb7 (patch)
tree3b80add82b9175070842f4d336bc64e767ee0ed5 /src/town_type.h
parent9d94c8f369218254a7273e22a1dfdf8c35f8a20d (diff)
downloadopenttd-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.h10
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 {