dfhack/library/include/modules
Myk Taylor 4d7f4d80ad prep buildingplan for core algorithm changes
player-visible changes
- removed text that showed up if you used the wrong hotkeys. no other
  dfhack screen does this, and it seems unneeded. can add back if others
  think otherwise, though

internal changes
- 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-04 20:05:08 -07:00
..
Buildings.h rename is_civzone to the more general allow_wall 2020-08-15 20:13:48 -07:00
Burrows.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
Constructions.h Fix for construction over existing construction & on top of walls 2015-11-06 19:00:43 +01:00
Designations.h Designate the correct tile for trees with multi-tile trunks 2017-05-05 21:25:25 -04:00
Engravings.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
EventManager.h Initial 64-bit support 2016-07-03 23:32:43 -04:00
Filesystem.h address PR review comments on api docs 2020-07-23 21:55:05 -07:00
Graphic.h simplify Graphic module. update structures. 2020-03-08 00:12:48 -06:00
Gui.h Add Gui::inRenameBuilding 2018-05-09 10:23:05 -04:00
GuiHooks.h Fix GCC warnings in 'tweak kitchen-prefs-all' and dev plugins 2018-06-01 10:02:38 -04:00
Items.h Propagated getBookTitle to Lua 2020-01-26 11:47:47 +01:00
Job.h Remove Core.h include from DataDefs.h 2018-12-30 17:08:42 -05:00
Kitchen.h Add some exclusion functions to Kitchen module, expose to Lua, fix build 2018-05-17 19:34:03 -04:00
MapCache.h Use constexpr to prevent attempts of linking static variable 2018-06-24 17:06:32 +03:00
Maps.h Add function to infer biome type to Maps module 2018-08-15 20:28:18 -05:00
Materials.h prep buildingplan for core algorithm changes 2020-10-04 20:05:08 -07:00
Notes.h Header changes/cleanup. 2011-12-31 12:48:42 +01:00
Once.h New module: Once. Intended to help prevent debug error message spam. 2013-03-23 22:38:33 -04:00
PerlinNoise.inc Use a cast instead of floor in perlin noise for performance. 2013-10-10 12:15:50 +04:00
Persistence.h Use viewscreen_savegamest instead of viewscreen_optionst 2018-08-26 19:05:44 -05:00
Random.h Add missing import/export info for MersenneRNG::unitvector<> 2014-03-25 13:30:21 -05:00
Renderer.h Add Renderer module - safer way to install custom renderers 2015-10-21 17:18:39 -04:00
Screen.h Add an identity to dfhack_viewscreen and dfhack_lua_viewscreen. 2018-07-22 17:31:39 -05:00
Translation.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
Units.h Fix a couple warnings in the Units module (#1615) 2020-08-08 14:35:12 -04:00
Windows.h Fix whitespace issues 2015-02-14 22:53:06 -05:00
World.h Add Persistence module. 2018-08-26 18:27:58 -05:00