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. |
||
---|---|---|
.. | ||
df | ||
modules | ||
.gitignore | ||
BitArray.h | ||
ColorText.h | ||
Console.h | ||
Core.h | ||
DFHack.h | ||
DFHackVersion.h | ||
DataDefs.h | ||
DataFuncs.h | ||
DataIdentity.h | ||
Debug.h | ||
DebugManager.h | ||
Error.h | ||
Export.h | ||
Hooks.h | ||
Internal.h | ||
LuaTools.h | ||
LuaWrapper.h | ||
MemAccess.h | ||
Memory.h | ||
MiscUtils.h | ||
Module.h | ||
ModuleFactory.h | ||
PluginManager.h | ||
PluginStatics.h | ||
Pragma.h | ||
RemoteClient.h | ||
RemoteServer.h | ||
RemoteTools.h | ||
SDL_events.h | ||
SDL_keyboard.h | ||
SDL_keysym.h | ||
Signal.hpp | ||
TileTypes.h | ||
Types.h | ||
VTableInterpose.h | ||
VersionInfo.h | ||
VersionInfoFactory.h | ||
git-describe.h.in | ||
jsoncpp-ex.h | ||
wdirent.h |