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
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
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
CompilerWorkAround.cpp
Console-posix.cpp Add "delete word" support to Console-posix 2020-08-02 23:10:35 -04:00
Console-windows.cpp
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
DataStaticsFields.cpp Remove Core.h include from DataDefs.h 2018-12-30 17:08:42 -05:00
Debug.cpp
Error.cpp
Hooks-darwin.cpp
Hooks-egg.cpp
Hooks-linux.cpp
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
RemoteServer.cpp fix some warnings 2020-02-10 19:35:17 -06:00
RemoteTools.cpp
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
VersionInfoFactory.cpp More usage of smart pointers throughout core and version info. 2018-07-14 19:55:25 -07:00
binpatch.cpp
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