dfhack/library/include
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
..
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 prep buildingplan for core algorithm changes 2020-10-16 13:52:23 -07: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 ditch the unused Vegetation module 2012-12-06 23:47:25 +01:00
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 Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
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 Update default base address on 64-bit Linux 2016-08-18 17:28:18 -04:00
MiscUtils.h Add to_search_normalized to search for characters with accents 2020-09-24 07:31:10 -07:00
Module.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
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 Re-add fake SDL headers, get rid of real SDL use. 2012-06-14 02:15:43 +02:00
SDL_keyboard.h Re-add fake SDL headers, get rid of real SDL use. 2012-06-14 02:15:43 +02:00
SDL_keysym.h Fix whitespace issues 2015-02-14 22:53:06 -05:00
Signal.hpp Implement runtime debug print filtering 2018-07-03 15:23:46 +03:00
TileTypes.h Fix whitespace issues 2015-02-14 22:53:06 -05:00
Types.h Add algorithm include for MSVC 2019-10-03 23:26:57 -04:00
VTableInterpose.h Document better how to access fields of the interposed class. 2014-06-10 13:10:10 +04:00
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 Fix whitespace issues 2015-02-14 22:53:06 -05:00