summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-10-06 10:16:33 +0000
committerfrosch <frosch@openttd.org>2013-10-06 10:16:33 +0000
commit3e8d498bc513872bfcd202aa8ffc96b911c8fbf7 (patch)
tree31a70f0bc81be58c92dc508852b2627c6e76fd23
parent699e6b258811e65fbdc417863e7bbe71e88409c5 (diff)
downloadopenttd-3e8d498bc513872bfcd202aa8ffc96b911c8fbf7.tar.xz
(svn r25814) -Doc: Some Town members.
-rw-r--r--src/town.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/town.h b/src/town.h
index a672c2cee..665b438ed 100644
--- a/src/town.h
+++ b/src/town.h
@@ -60,13 +60,9 @@ struct Town : TownPool::PoolItem<&_town_pool> {
uint32 townnamegrfid;
uint16 townnametype;
uint32 townnameparts;
- char *name;
+ char *name; ///< Custom town name. If NULL, the town was not renamed and uses the generated name.
- /* Makes sure we don't build certain house types twice.
- * bit 0 = Building funds received
- * bit 1 = CHURCH
- * bit 2 = STADIUM */
- byte flags;
+ byte flags; ///< See #TownFlags.
uint16 noise_reached; ///< level of noise that all the airports are generating