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 Convert untagged unions to tagged. Fix some edge cases in check-structures-sanity union checking. 2020-02-29 15:08:39 -06:00
modules only reset extents if they are unusable 2020-12-16 11:10:47 -08:00
.gitignore Use configure_file to optimize incremental builds for git-describe.h 2018-07-13 16:07:46 +03:00
BitArray.h fix DfOtherVectors computed size 2020-05-14 14:01:12 -05:00
ColorText.h Add parameter type checks to printf style functions 2018-06-11 19:27:35 +03:00
Console.h allow dfhack-run to output colors. 2020-03-06 15:02:03 -06:00
Core.h Merge branch 'develop' into persist 2019-08-22 22:00:50 -04:00
DFHack.h
DFHackVersion.h Add support for DFHACK_BUILD_ID 2018-07-11 11:47:55 -04:00
DataDefs.h implement df-other-vectors-type for lua 2020-05-09 18:28:40 -05:00
DataFuncs.h Remove Core.h include from DataDefs.h 2018-12-30 17:08:42 -05:00
DataIdentity.h Remove Core.h include from DataDefs.h 2018-12-30 17:08:42 -05:00
Debug.h Implement runtime debug print filtering 2018-07-03 15:23:46 +03:00
DebugManager.h Implement runtime debug print filtering 2018-07-03 15:23:46 +03:00
Error.h Add function names to NullPointer and InvalidArgument exceptions 2018-05-11 09:49:27 -04:00
Export.h Add parameter type checks to printf style functions 2018-06-11 19:27:35 +03:00
Hooks.h Fix ncurses wgetch() on OS X 2017-06-08 13:05:31 -04:00
Internal.h
LuaTools.h Remove Core.h include from DataDefs.h 2018-12-30 17:08:42 -05:00
LuaWrapper.h Add ref_target attribute to primitive field references 2020-04-09 00:02:07 -04:00
MemAccess.h Fix crash on missing symbols. 2020-02-03 20:21:10 -06:00
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 Update the module create calls to return unique_ptrs 2018-07-14 19:55:25 -07:00
PluginManager.h Rename save/load to "save data"/"load data" 2019-05-29 19:52:03 -04:00
PluginStatics.h Use typedefs from xlsxio in PluginStatics.h 2020-09-18 15:05:17 -04:00
Pragma.h Fix a bunch of 64-bit Windows warnings 2017-07-21 13:30:05 -05:00
RemoteClient.h Rename bind argument proto -> plugin to avoid confusion. 2018-07-03 16:00:48 -05:00
RemoteServer.h Make ServerMain and ServerConnection data race free 2019-07-18 23:05:11 -04:00
RemoteTools.h Refactor CoreSuspender to fix Console::lineedit exit hangs 2018-06-22 17:57:37 +03:00
SDL_events.h
SDL_keyboard.h
SDL_keysym.h
Signal.hpp Implement runtime debug print filtering 2018-07-03 15:23:46 +03:00
TileTypes.h
Types.h Add algorithm include for MSVC 2019-10-03 23:26:57 -04:00
VTableInterpose.h
VersionInfo.h More usage of smart pointers throughout core and version info. 2018-07-14 19:55:25 -07:00
VersionInfoFactory.h More usage of smart pointers throughout core and version info. 2018-07-14 19:55:25 -07:00
git-describe.h.in Use configure_file to optimize incremental builds for git-describe.h 2018-07-13 16:07:46 +03:00
jsoncpp-ex.h Update toSimpleString to use a the new builder API 2018-06-14 21:20:54 +03:00
wdirent.h