dfhack/library/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.cpp rename is_civzone to the more general allow_wall 2020-08-15 20:13:48 -07:00
Burrows.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
Constructions.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
Designations.cpp Update xml and all uses of job_handler 2017-11-25 00:59:59 -05:00
Engravings.cpp Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
EventManager.cpp Fix EventManager building ID type 2019-10-05 20:26:31 -04:00
Filesystem.cpp recurs-ify default config copying logic 2020-07-18 22:22:37 -07:00
Graphic.cpp simplify Graphic module. update structures. 2020-03-08 00:12:48 -06:00
Gui.cpp name ui_look_list union 2020-03-06 16:06:27 -06:00
Items.cpp Make `createitem inspect` consistent for PLANT_GROWTH items 2020-10-09 12:45:49 -04:00
Job.cpp removed underscores, adapted to structure (re)naming 2020-04-15 10:18:37 +02:00
Kitchen.cpp update for DFHack/df-structures#7dfea1f1d4e453b97d5529785701db46360596ce 2020-06-29 16:16:44 -05:00
MapCache.cpp update for DFHack/df-structures#7dfea1f1d4e453b97d5529785701db46360596ce 2020-06-29 16:16:44 -05:00
Maps.cpp a pox on whitespace 2018-09-11 18:41:32 -05:00
Materials.cpp prep buildingplan for core algorithm changes 2020-10-16 13:52:23 -07:00
Notes.cpp Update the module create calls to return unique_ptrs 2018-07-14 19:55:25 -07:00
Once.cpp New module: Once. Intended to help prevent debug error message spam. 2013-03-23 22:38:33 -04:00
Persistence.cpp update structures; fix some minor compile warnings 2020-02-05 12:35:43 -06:00
Random.cpp Add missing import/export info for MersenneRNG::unitvector<> 2014-03-25 13:30:21 -05:00
Renderer.cpp Add Renderer module - safer way to install custom renderers 2015-10-21 17:18:39 -04:00
Screen.cpp Add an identity to dfhack_viewscreen and dfhack_lua_viewscreen. 2018-07-22 17:31:39 -05:00
Translation.cpp update structures 2020-07-01 23:10:34 -05:00
Units.cpp Fix a couple warnings in the Units module (#1615) 2020-08-08 14:35:12 -04:00
Windows.cpp Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
World.cpp Add Persistence module. 2018-08-26 18:27:58 -05:00