dfhack/library/include/modules
myk002 3ba984c22c
only reset extents if they are unusable
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.
2020-12-16 11:10:47 -08:00
..
Buildings.h only reset extents if they are unusable 2020-12-16 11:10:47 -08:00
Burrows.h
Constructions.h
Designations.h
Engravings.h
EventManager.h
Filesystem.h Use initial working directory as process path on Linux, and expose to Lua 2020-11-12 19:07:51 -05:00
Graphic.h
Gui.h
GuiHooks.h
Items.h cleaner mask-based implementation 2020-11-12 22:44:38 -08:00
Job.h cleaner mask-based implementation 2020-11-12 22:44:38 -08:00
Kitchen.h
MapCache.h
Maps.h
Materials.h cleaner mask-based implementation 2020-11-12 22:44:38 -08:00
Notes.h
Once.h
PerlinNoise.inc
Persistence.h
Random.h
Renderer.h
Screen.h
Translation.h
Units.h Fix a couple warnings in the Units module (#1615) 2020-08-08 14:35:12 -04:00
Windows.h
World.h