(svn r25873) -Codechange: Add property for the amount of generated objects upon map creation to default objects

This commit is contained in:
planetmaker
2013-10-17 21:27:08 +00:00
parent 6f62458e3b
commit 88286d33ab
2 changed files with 7 additions and 6 deletions

View File

@@ -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?
/**