dfhack/library
Myk Taylor 82013c0c5e prep buildingplan for core algorithm changes
Lots of refactoring and reorganizing, with only cosmetic player-visible changes.

- show quickfort mode hotlkey label regardless of whether the current building type has buildingplan enabled. before, it was only shown after the user enabled buildingplan for the current building. this eliminates the extra step when enabling quickfort mode, which force-enables all building types.
- changed signature of lua-exported isPlannableBuilding to take subtype
  and custom type in addition to building type. this is only used by
  quickfort, and it already sends all three params in preparation for
  this change
- added lua-exported scheduleCycle(), which is like doCycle(), but only
  takes effect on the next non-paused frame. this lets quickfort
  run only one buildingplan cycle regardless of how many #build
  blueprints were run
- declared a few dfhack library methods and params const so buildingplan
  could call them from const methods
- converted buildingplan internal debug logging fn to have a printf api
- reshaped buildingplan-planner API and refactored implementation in
  preparation for upcoming core algorithm changes for supporing all
  building types (no externally-visible functionality changes)
  - changed df::building_type params to type, subtype, custom tuple keys
  - introduced capability to return multiple filters per building type
    (though the current buildings all only have one filter per)
- split monolith hook functions in buildingplan.cpp into one per scope.
  this significantly cleans up the code and preps the hooks to handle
  iterating through multiple item filters.
- got rid of send_key function and replaced with better reporting of
  whether keys have been handled
2020-10-16 13:52:23 -07:00
..
DataStaticsFields Split DataStaticsFields into multiple compilation units 2016-03-22 17:34:25 -04:00
include prep buildingplan for core algorithm changes 2020-10-16 13:52:23 -07:00
lua remove references to non-existent vector ids 2020-09-28 23:14:13 -07:00
modules prep buildingplan for core algorithm changes 2020-10-16 13:52:23 -07:00
proto Remove execute permission on files that are not executables. 2018-07-03 15:37:16 -05:00
xml@00549aca06 Update to 0.47.04-r3 (authors, changelog, and submodules) 2020-10-10 17:31:30 -04:00
.gitignore Use configure_file to optimize incremental builds for git-describe.h 2018-07-13 16:07:46 +03:00
CMakeLists.txt move xlsxreader identity statics to dfhack lib 2020-08-11 14:51:17 -07:00
ColorText.cpp Fix crash in vprinterr due to va_list misuse 2016-07-03 23:33:07 -04:00
CompilerWorkAround.cpp Allow unloading plugins that use std::regex 2018-07-03 15:23:46 +03:00
Console-posix.cpp Add "delete word" support to Console-posix 2020-08-02 23:10:35 -04:00
Console-windows.cpp Fix windows ReadConsoleInput return value check 2018-07-08 00:50:43 +03:00
Core.cpp don't list subdirectories named 'internal' 2020-07-24 22:07:16 -07:00
DFHackVersion.cpp Add support for DFHACK_BUILD_ID 2018-07-11 11:47:55 -04:00
DataDefs.cpp Tone down a couple warnings 2020-08-02 12:55:36 -04:00
DataStatics.cpp don't crash if the path to an instance-vector contains a null pointer 2020-04-18 20:40:17 -05:00
DataStaticsCtor.cpp Header changes/cleanup. 2011-12-31 12:48:42 +01:00
DataStaticsFields.cpp Remove Core.h include from DataDefs.h 2018-12-30 17:08:42 -05:00
Debug.cpp Implement runtime debug print filtering 2018-07-03 15:23:46 +03:00
Error.cpp Add function names to NullPointer and InvalidArgument exceptions 2018-05-11 09:49:27 -04:00
Hooks-darwin.cpp replacment -> replacement 2017-06-10 19:41:59 -04:00
Hooks-egg.cpp Fix bug #188, eggy hook 2013-04-24 17:50:34 +02:00
Hooks-linux.cpp headless: Disable sound, wgetch 2018-02-04 00:17:46 -05:00
Hooks-windows.cpp fix a return statement in FirstCall 2018-07-14 12:15:52 -07:00
LuaApi.cpp Expose to_search_normalized to Lua, add test, and use in ListColumn (most useful for the `stocks` plugin) 2020-10-10 01:40:00 -04:00
LuaTools.cpp Fix crash on missing symbols. 2020-02-03 20:21:10 -06:00
LuaTypes.cpp Lua: Fix off-by-one preventing accessing last df-other-vectors item by ID, add tests 2020-07-26 02:11:27 -04:00
LuaWrapper.cpp Add ref_target attribute to primitive field references 2020-04-09 00:02:07 -04:00
MiscUtils.cpp Use a string and .reserve for normalizing instead of stringbuf 2020-09-24 15:22:58 -07:00
PlugLoad-posix.cpp Support dlsym loading from libgraphics vtables 2018-07-10 17:08:23 +03:00
PlugLoad-windows.cpp Add windows emulation for RTLD_DEFAULT 2018-07-10 17:10:30 +03:00
PluginManager.cpp Flush plugin warning messages 2020-08-06 22:45:46 -04:00
PluginStatics.cpp move xlsxreader identity statics to dfhack lib 2020-08-11 14:51:17 -07:00
Process-darwin.cpp More usage of smart pointers throughout core and version info. 2018-07-14 19:55:25 -07:00
Process-linux.cpp Linux: make Process::getPath (and dfhack.getDFPath()) not depend on cwd, for consistency with other platforms 2020-07-16 23:21:56 -04:00
Process-windows.cpp More usage of smart pointers throughout core and version info. 2018-07-14 19:55:25 -07:00
RemoteClient.cpp Rename bind argument proto -> plugin to avoid confusion. 2018-07-03 16:00:48 -05:00
RemoteServer.cpp fix some warnings 2020-02-10 19:35:17 -06:00
RemoteTools.cpp Refactor CoreSuspender to fix Console::lineedit exit hangs 2018-06-22 17:57:37 +03:00
TileTypes.cpp Remove Core.h include from DataDefs.h 2018-12-30 17:08:42 -05:00
Types.cpp update structures 2020-03-02 23:12:03 -06:00
VTableInterpose.cpp Fix follow_jmp for 64-bit code - skip REX prefix if found 2016-09-25 18:29:57 -05:00
VersionInfoFactory.cpp More usage of smart pointers throughout core and version info. 2018-07-14 19:55:25 -07:00
binpatch.cpp Fix the error message produced by binpatch when a mismatch is detected. 2012-10-27 15:35:11 +04:00
dfhack-run.cpp allow dfhack-run to output colors. 2020-03-06 15:02:03 -06:00
git-describe.cmake.in Followups for #1325 2018-07-17 00:58:49 -04:00