dfhack/library/include
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
..
df
modules only reset extents if they are unusable 2020-12-16 11:10:47 -08:00
.gitignore
BitArray.h fix DfOtherVectors computed size 2020-05-14 14:01:12 -05:00
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 Add to_search_normalized to search for characters with accents 2020-09-24 07:31:10 -07:00
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 Update toSimpleString to use a the new builder API 2018-06-14 21:20:54 +03:00
wdirent.h