Commit Graph

1798 Commits (50cc6d965dd4ede112432ff3a202204ce6716a66)

Author SHA1 Message Date
Amber Brown 79206c92a7 modern windows terminal + powershell is, (un?)fortunately superior to cygwin's, so cut this for simplification 2023-01-06 21:26:57 +11:00
Amber Brown d7495bfdf8 update the install documentation to mention VS2022 properly 2023-01-06 21:26:57 +11:00
Myk b62cfa3699
Merge pull request #2552 from myk002/myk_mouse
Get correct mouse button down behavior in Lua without overwriting enabler fields
2023-01-04 19:39:43 -08:00
Myk 78be3a6463
Merge pull request #2548 from myk002/myk_logo
Display DFHack logo for the hotkeys overlay widget
2023-01-04 19:06:05 -08:00
Myk Taylor 5d04b9c4cb
add Textures module and load DFHack logo
undocumented for now since it's internal. in the future, perhaps this
could morph into a dynamic texture loading facility for tools
2023-01-04 13:30:18 -08:00
Myk Taylor cbcb8b5f88
fix up overlay config and pathable docs 2023-01-04 13:27:03 -08:00
Myk Taylor 021b24fa65
update docs 2023-01-03 14:56:49 -08:00
Myk Taylor b766b72784
update docs for widgets.EditField 2023-01-03 13:06:57 -08:00
Myk f72b3524ae
Merge pull request #2545 from myk002/myk_autobutcher
update autobutcher to work with v50
2023-01-02 20:43:21 -08:00
Myk 35ce361b09
Merge pull request #2542 from myk002/myk_dwarfmode_dims
clear out obsolete area map and menu logic from the Gui module
2023-01-02 20:42:30 -08:00
Myk 9da6bff011
Merge pull request #2540 from myk002/myk_overlay
Make OverlayWidget inherit from Panel and allow overlays to be perma-enabled
2023-01-02 20:41:53 -08:00
Myk Taylor ab5c7708d8
update docs 2023-01-01 16:35:39 -08:00
Myk Taylor 7d5d2d0a9b
clear out obsolete area map and menu logic
in particular, return the correct map dimensions in getDwarfmodeDims()
2022-12-31 22:49:30 -08:00
Myk Taylor 481bbb9df4
update changelog 2022-12-31 21:04:19 -08:00
Myk Taylor c401154393
widgets inherit from Panel and can be perma-enabled 2022-12-31 21:02:00 -08:00
Myk Taylor 5232e2b04e
add dfhack-config/scripts to default script paths 2022-12-30 23:30:11 -08:00
Myk bf995a0968
Merge pull request #2533 from myk002/myk_lua_input
adjust Lua widgets to new input scheme
2022-12-30 22:37:12 -08:00
Myk a7dd14d699
Merge pull request #2535 from myk002/myk_smart_refresh
only do a full refresh when needed
2022-12-30 22:36:42 -08:00
Myk Taylor cb6b595aff
update changelog 2022-12-30 22:35:08 -08:00
Myk Taylor 04f2d555c6
implement context-aware mouse wheel scrolling 2022-12-30 22:35:08 -08:00
Myk Taylor 38b525bdb5
adapt lua library widgets to new keyboard keybindings 2022-12-30 22:35:08 -08:00
Myk Taylor dd0cc087d5
Revert "consolidate full refresh logic in widgets.Panel"
This reverts commit 33787473f0.

I've already found another use case where we need a more general
implementation -- modal dialogs that inherit from FramedScreen that
appear and disappear
2022-12-30 22:13:53 -08:00
Myk Taylor 33787473f0
consolidate full refresh logic in widgets.Panel 2022-12-30 20:44:15 -08:00
Myk Taylor 70a0f4a718
only do a full refresh when needed
this significantly reduces CPU utilization when DFHack-owned screens are
visible.
2022-12-30 17:06:41 -08:00
Myk Taylor 4c2842a854
update docs 2022-12-30 05:33:17 -08:00
Myk Taylor d7b67e9528
remove cached USE_GRAPHICS from gui.lua
it's no longer constant
2022-12-28 16:27:44 -08:00
Myk Taylor fc523f12fe
expose and document dfhack.screen.getMousePixels() 2022-12-28 16:05:27 -08:00
Josh Cooper 7433cb463d more stuff 2022-12-23 17:58:30 -04:00
Josh Cooper 1993291a87 stuff 2022-12-23 17:58:30 -04:00
Josh Cooper 994cb30f4d
Update docs/dev/building/Compile.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:07:12 -08:00
Josh Cooper e57ef4315d
Update docs/dev/building/Compile.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:07:01 -08:00
Josh Cooper 6baac10262
Update docs/dev/building/Compile.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:06:48 -08:00
Josh Cooper 3fb249bc2a
Update docs/dev/building/Options.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:06:32 -08:00
Josh Cooper 430917ce5d
Update docs/dev/building/Options.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:06:15 -08:00
Josh Cooper 98badfbd72 possibly the last expected changes 2022-12-23 15:22:24 -04:00
Josh Cooper 77b6dd2f7a Updates minor things 2022-12-23 12:58:43 -04:00
Josh Cooper 66f8a0207c Updates dependency doc 2022-12-23 01:05:31 -04:00
Josh Cooper a9467f76ef Fixing links, mostly 2022-12-23 00:43:10 -04:00
Josh Cooper c0d582c406 more small screen changes 2022-12-21 20:35:40 -04:00
Josh Cooper e60030e85e a small screen commit message about a lot of organization changes 2022-12-21 18:09:37 -04:00
Josh Cooper 86ed5ae17a Fixes link syntax 2022-12-19 22:12:00 -04:00
Josh Cooper 6a135d0b2b Fixes formatting mistake 2022-12-19 22:05:43 -04:00
Josh Cooper 2474e5dba5 Adds Dependencies.rst 2022-12-19 22:01:21 -04:00
Myk Taylor 06346c6269
implement double clicking on the title to maximize
also double click on a maximized window to jump to the minimum size
the location of the window isn't guaranteed to be the same after
maximizing and un-maximizing, but we could implement that if there is
call for it.
2022-12-14 19:03:38 -08:00
Myk Taylor 4c6daf30d9
add widgets.Window and fix paint_frame offset 2022-12-14 12:04:29 -08:00
Myk Taylor 12e62c7f9d
highlight anchor point when resizing with keyboard 2022-12-14 10:34:06 -08:00
Myk Taylor c030704705
implement panel resizing 2022-12-14 10:34:04 -08:00
Myk Taylor 4d1fd19bbc
update changelog 2022-12-13 13:21:41 -08:00
Myk Taylor 99b599e9ab
add docs for panel dragging 2022-12-13 13:01:49 -08:00
Myk 945942a28b
Merge pull request #2496 from myk002/myk_arch_diagrams
add arch diagrams to the dev guide
2022-12-12 14:54:26 -08:00
Myk Taylor d74d215f38
add arch diagrams to the dev guide 2022-12-11 15:51:27 -08:00
Tachytaenius 5f33133de1
Update Lua API.rst 2022-12-11 23:12:14 +00:00
Tachytaenius 8cc34f920c
Add math.floor to module example in Lua API 2022-12-11 23:03:50 +00:00
Myk Taylor ffd646462a
ensure `enable` doesn't miss newly-added scripts
and add some more documentation
2022-12-10 22:13:38 -08:00
myk002 e88b1fdfe5
move script-manager into core 2022-12-10 21:59:51 -08:00
myk002 107be0a4a6
more script enablement docs 2022-12-10 21:59:51 -08:00
myk002 a872cdbcd4
no onChangeState fn, let scripts attach themselves 2022-12-10 21:59:51 -08:00
myk002 854642734c
add docs for script-manager 2022-12-10 21:59:51 -08:00
Myk Taylor 55f6aeeda1
remove ccache setup; it's gone now 2022-12-09 19:59:41 -08:00
Myk Taylor 5184d87a0c
fix light typos 2022-12-09 19:58:07 -08:00
Myk Taylor e405a87571
set install dir 2022-12-09 19:58:07 -08:00
Myk Taylor 6ffdeda712
adapt cross compiling guide to buildmaster image 2022-12-09 19:58:06 -08:00
Myk Taylor 8c59f9f92a
add step for compiling protoc 2022-12-09 19:58:06 -08:00
Myk Taylor acedc7617f
emphasize running wineboot 2022-12-09 19:58:06 -08:00
Myk f547bb3fb1
Add instructions for cross compiling 2022-12-09 19:58:04 -08:00
myk002 6fc62946e4
remove obsolete fix_job_postings command 2022-12-06 16:22:39 -08:00
myk002 f3a53d87b7
link to tools page instead of defunct genindex 2022-12-05 13:12:07 -08:00
Myk fa8a61d4be
Fix indentation of numbered lists 2022-12-04 17:58:31 -08:00
myk002 63e11c8453
update overlay dev guide with troubleshooting tips
and dev workflows
2022-12-04 17:36:51 -08:00
myk002 f6c1b78804
add entry in Removed docs 2022-12-04 15:56:12 -08:00
myk002 7e6b8618ea
remove command-prompt 2022-12-04 15:56:11 -08:00
myk002 964ead1b07
update changelog 2022-12-04 15:46:19 -08:00
myk002 2b87307e11
allow visible and active to be dynamic properties 2022-12-04 15:46:19 -08:00
myk002 681f6455d8
add missing changelog for timers API 2022-12-02 14:19:53 -08:00
myk002 14cbdbe7c2
add missing entry for channel-safely 2022-12-02 14:02:28 -08:00
myk002 fed9f763c9
update version string in CMake and changelog 2022-12-02 10:18:26 -08:00
myk002 53f4630517
clarify docs for MovementFeet in the new Timers API 2022-12-02 10:18:07 -08:00
Myk ed52c4cd6e
Merge pull request #2374 from wolfboyft/movement-timer-api
Action timer API
2022-12-02 09:31:13 -08:00
Tachytaenius c7d1baacb3
Update docs/dev/Lua API.rst
Co-authored-by: Myk <myk.taylor@gmail.com>
2022-12-02 17:03:04 +00:00
Tachytaenius 0b0bd71a0c Adjust action timer API Lua API docs 2022-12-02 12:51:49 +00:00
Tachytaenius cd5ee666cf Update modding guide to reflect new action timer API 2022-12-01 23:52:00 +00:00
Tachytaenius 370ffe274f Add Lua API docs for action timer API 2022-12-01 23:25:01 +00:00
Tachytaenius 2256bfd6f7 Delete Units.rst 2022-12-01 21:08:57 +00:00
myk002 f367a8521c
clean up changelog entries 2022-12-01 12:24:47 -08:00
Myk e7ca1cb0c1
Merge pull request #2452 from lethosor/dwarfmonitor-cursor-widget-config
Dwarfmonitor cursor widget config
2022-12-01 11:49:17 -08:00
Tachytaenius 0f8ce360ac Make first pass of action timer API 2022-12-01 13:34:54 +00:00
lethosor e0e8b2f983
Document dwarfmonitor.cursor config, add example 2022-12-01 00:19:16 -05:00
Kelly Kinkade 5a2ee6ee23 update documentation for autolabor & autohauler 2022-11-30 21:54:58 -06:00
Myk 697b727952
Merge pull request #2447 from myk002/myk_doc_fixup
Fix and organize docs
2022-11-30 10:39:50 -08:00
Myk Taylor 8900bc84d8
fix crash in buildingplan
when a player cancels out of placing a building type with plan mode
enabled and then immediately switches to placing a different building
type where plan mode is not enabled, the placement errors array would be
erroneously cleared and allow placement of the building. this would
cause DF to crash if there were no materials available to build the
building with.
2022-11-30 04:51:11 -08:00
Myk Taylor cd69103b8b
update path references, move NEWS files back 2022-11-30 04:16:41 -08:00
Myk Taylor e952957f91
move dev docs into dev dir 2022-11-30 04:01:32 -08:00
Myk Taylor 64ce2559fd
move "about" docs into subdir 2022-11-30 03:46:21 -08:00
Myk Taylor f66a08d3f4
fix numbering of markdown list 2022-11-30 03:25:56 -08:00
Kelly Kinkade 5e3786a6ce changelog 2022-11-29 19:57:44 -06:00
Myk 33d54493f2
fix typo in docs 2022-11-29 15:14:22 -08:00
myk002 4c72bdb5ed add reference to gui/overlay to the overlay docs 2022-11-29 15:12:02 -08:00
myk002 f5d20c99a3 prep for usage by gui/overlay 2022-11-29 15:12:02 -08:00
Myk aac89d4942
Merge branch 'develop' into myk_default_search_key 2022-11-29 15:07:12 -08:00
Myk 5b311163a9
Merge pull request #2431 from myk002/myk_widget_fixes
fix minor errors in ResizablePanel, Label, and HotkeyLabel widgets
2022-11-29 15:06:15 -08:00