dfhack/library/include/modules
Ryan Williams 89ed9950c7
Update Gui.h
Added parseReportString, which parses a string using '&' as a control character (&r as newline, && as &) and cuts to a certain length w/o splitting words.

Added autoDFAnnouncement, which takes a report_init and a string, and handles them like DF does.
Added variants to log unprinted announcements and to build the report_init from arguments.

Added pauseRecenter, which recenters on an xyz coord (item style, not unit) and optionally pauses, while respecting pause_zoom_no_interface_ms.
Added variant that takes a pos.

Added recenterViewscreen, which recenters on an xyz coord using a report zoom style (item, unit, generic. revealInDwarfmodeMap calls "unit" style "center". Generic style ignores coords and just enforces valid view bounds.)
Added variants that take pos or use current cursor coords.
2022-04-24 22:32:41 -07:00
..
Buildings.h only reset extents if they are unusable 2020-12-16 11:10:47 -08: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 Fixes build errors 2022-04-18 23:53:23 -07:00
Filesystem.h Use initial working directory as process path on Linux, and expose to Lua 2020-11-12 19:07:51 -05:00
Graphic.h Apply initial pre-commit config 2022-04-12 14:48:19 -04:00
Gui.h Update Gui.h 2022-04-24 22:32:41 -07:00
GuiHooks.h Fix GCC warnings in 'tweak kitchen-prefs-all' and dev plugins 2018-06-01 10:02:38 -04:00
Items.h Apply initial pre-commit config 2022-04-12 14:48:19 -04:00
Job.h Apply initial pre-commit config 2022-04-12 14:48:19 -04:00
Kitchen.h Cleanup Kitchen module (and the seedwatch plugin which uses it) 2022-03-12 12:04:34 -08:00
MapCache.h Use constexpr to prevent attempts of linking static variable 2018-06-24 17:06:32 +03:00
Maps.h Adds consistent interface signatures for Maps module 2022-04-21 19:40:58 -07:00
Materials.h Apply initial pre-commit config 2022-04-12 14:48:19 -04:00
Notes.h Header changes/cleanup. 2011-12-31 12:48:42 +01:00
Once.h Apply initial pre-commit config 2022-04-12 14:48:19 -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 Ensure that command-prompt is dismissed after a command creates a new screen 2021-03-21 20:42:50 -04:00
Translation.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
Units.h Add functions reverse-engineered from ambushing unit code (#1992) 2022-03-13 17:19:35 -07:00
Windows.h Apply initial pre-commit config 2022-04-12 14:48:19 -04:00
World.h Apply initial pre-commit config 2022-04-12 14:48:19 -04:00