dfhack/library/include/modules
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
..
Buildings.h rename is_civzone to the more general allow_wall 2020-08-15 20:13:48 -07:00
Burrows.h
Constructions.h
Designations.h
Engravings.h
EventManager.h
Filesystem.h address PR review comments on api docs 2020-07-23 21:55:05 -07:00
Graphic.h
Gui.h
GuiHooks.h
Items.h
Job.h
Kitchen.h
MapCache.h
Maps.h
Materials.h prep buildingplan for core algorithm changes 2020-10-16 13:52:23 -07:00
Notes.h
Once.h
PerlinNoise.inc
Persistence.h
Random.h
Renderer.h
Screen.h
Translation.h
Units.h Fix a couple warnings in the Units module (#1615) 2020-08-08 14:35:12 -04:00
Windows.h
World.h