summaryrefslogtreecommitdiff
path: root/src/newgrf_object.h
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-10-17 21:27:08 +0000
committerplanetmaker <planetmaker@openttd.org>2013-10-17 21:27:08 +0000
commit88286d33ab7d94c14896388790956321ac9cda52 (patch)
tree8fbd6c5ad5dc95e5611753f10a013a3bc89839ab /src/newgrf_object.h
parent6f62458e3b7ef08a05974570e5e2c69a60d9400c (diff)
downloadopenttd-88286d33ab7d94c14896388790956321ac9cda52.tar.xz
(svn r25873) -Codechange: Add property for the amount of generated objects upon map creation to default objects
Diffstat (limited to 'src/newgrf_object.h')
-rw-r--r--src/newgrf_object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_object.h b/src/newgrf_object.h
index 2c01b42d4..77b80894b 100644
--- a/src/newgrf_object.h
+++ b/src/newgrf_object.h
@@ -73,6 +73,7 @@ struct ObjectSpec {
uint16 callback_mask; ///< Bitmask of requested/allowed callbacks.
uint8 height; ///< The height of this structure, in heightlevels; max MAX_TILE_HEIGHT.
uint8 views; ///< The number of views.
+ uint8 generate_amount; ///< Number of objects which are attempted to be generated per 256^2 map during world generation.
bool enabled; ///< Is this spec enabled?
/**