this allows callers of Buildings::setSize() to "pre-initialize" the extents to declare non-rectangular structures. this allows quickfort to create non-rectangular stockpiles, farm plots, zones, etc. the extents are still reset as before if the size of the building doesn't match the caller's expectations. this commit also fixes a memory leak when setSize() allocates memory for extents, but the memory is not deallocated if the building is ultimately invalid for some reason. |
||
---|---|---|
.. | ||
Buildings.h | ||
Burrows.h | ||
Constructions.h | ||
Designations.h | ||
Engravings.h | ||
EventManager.h | ||
Filesystem.h | ||
Graphic.h | ||
Gui.h | ||
GuiHooks.h | ||
Items.h | ||
Job.h | ||
Kitchen.h | ||
MapCache.h | ||
Maps.h | ||
Materials.h | ||
Notes.h | ||
Once.h | ||
PerlinNoise.inc | ||
Persistence.h | ||
Random.h | ||
Renderer.h | ||
Screen.h | ||
Translation.h | ||
Units.h | ||
Windows.h | ||
World.h |