Commit Graph

1645 Commits (cd7fe8a213b20ac8a05ce631fadd078a16f90a1d)

Author SHA1 Message Date
myk002 0344595e4e
add "anywhere" keybinding guard 2022-11-09 14:32:51 -08:00
myk002 d95a5ac238
add string_to_int to MiscUtils.h 2022-11-09 11:55:29 -08:00
Josh Cooper beee445f6f Extends Units module
Adds unit check functions for
- animals
- demons
- titans
- megabeasts
- semimegabeasts
- night creatures
2022-11-09 11:44:28 -08:00
Myk ccd43f1710
Merge pull request #2381 from myk002/myk_framed_panel
[widgets.Panel] support frames around panel widgets
2022-11-09 10:32:23 -08:00
Myk 9fed02435e
Merge pull request #2378 from myk002/myk_list_mouse
Allow widgets.List to report hover target and respond to shift-click
2022-11-09 10:32:06 -08:00
Myk 4924fd0d52
Merge pull request #2377 from myk002/myk_gui_convenience
Make View:getMousePos() and Screen:show() a bit more flexible
2022-11-09 10:31:58 -08:00
Myk f2a386f0e1
Merge pull request #2375 from myk002/myk_uicommon
Move generally useful string functions from uicommon to MiscUtils
2022-11-09 10:31:50 -08:00
Josh Cooper 92645ccb5b Fixes JOB_STARTED event 2022-11-08 12:43:23 -08:00
myk002 d0753b4a9c update changelog 2022-11-08 10:15:28 -08:00
myk002 1d03afcd6f update changelog 2022-11-08 10:15:28 -08:00
myk002 0d970509f8
update changelog 2022-11-07 16:58:51 -08:00
myk002 63a1c1ae15
update lua docs 2022-11-07 16:57:55 -08:00
myk002 f906aee5b8
update changelog 2022-11-07 16:19:09 -08:00
myk002 93bc4c00eb
update lua api docs 2022-11-07 16:19:03 -08:00
myk002 b2b2a52b55
update changelog 2022-11-07 16:00:43 -08:00
myk002 a0ff7e4d3f
update Lua docs 2022-11-07 15:58:29 -08:00
myk002 5a720bd496
update changelog 2022-11-07 15:40:00 -08:00
Josh Cooper 391553624f
Update changelog.txt 2022-11-06 17:34:53 -08:00
Myk 1e31cc197d
Merge branch 'develop' into spectate 2022-10-26 12:30:58 -07:00
Myk c7f4f57367
Merge pull request #2360 from myk002/myk_automaterial_render
[automaterial] fix render errors with box boundaries
2022-10-26 12:25:48 -07:00
Myk e60cbfc743
Merge pull request #2361 from myk002/myk_zjump_twbt
[mousequery] fix z-level jumps when clicking quickly
2022-10-26 12:25:40 -07:00
Josh Cooper 754e1dd4ac
Update docs/plugins/spectate.rst 2022-10-24 17:50:21 -07:00
myk002 8b61a17009
prevent z-level from changing after box select
if the player clicks the mouse too fast after finishing a selection
2022-10-24 12:46:31 -07:00
myk002 01c46f7a7e
fix z-level jumps when clicking quickly
this happens when TWBT is enabled and multilevel is > 0
getDepthAt() returns inconsistent values for the same position, leading
to a mismatch when we "unshift" the coordinates to account for render
depth
2022-10-24 12:44:25 -07:00
myk002 6a57cc4450
fix render errors with automaterial box boundaries 2022-10-24 12:41:17 -07:00
Josh Cooper 2ca2066081 Fixes underline in spectate.rst 2022-10-23 10:45:23 -07:00
Josh Cooper c611a7615c Merge branch 'develop' into spectate 2022-10-23 10:41:28 -07:00
Josh Cooper c18beb30bb Updates spectate.rst 2022-10-23 10:40:23 -07:00
Myk a854e379b2
Merge pull request #2354 from myk002/myk_scrollbars_redux
make scrollbars more responsive when dragging
2022-10-22 20:28:52 -07:00
myk002 64b923b9eb
make the materials dialog filter lcase only
this allows the capital letter hotkeys to be processed by the list
widget without the special-casing of the ignore_keys attribute.
2022-10-21 12:43:53 -07:00
myk002 593b80cfa0
make scrollbars more responsive when dragging 2022-10-21 12:22:57 -07:00
Josh Cooper f66dd6f404 Implements change requests
- removes redundant `if (df::global::ui)` checks; and tested to ensure no segfaults cropped up like in the past times I've removed these
- removes useless `if (pause_lock)` pause lock is set when plugin initializes, even if pause lock was left null (since we technically don't need it, and that was the point of the null check) it still would be a useless check (actually an impediment preventing functionality)
- removes disabled interpose code
- removes lua linkage
- updates doc

extra:
- surrounds user input for tick frequency with `std::abs()` not that we would have ended up with a negative value, but it was probably a typo and this is easier than printing an error or letting it underflow past max int (on most systems)
2022-10-20 23:52:30 -07:00
myk002 1e21e6546e
fix materials selection dialog
where the filter was swallowing the sublist hotkeys
2022-10-19 17:31:28 -07:00
myk002 666edd6d60
don't overwrite dig priority by accident
many callers of setDesignationAt simply didn't bother with the priority
parameter. change the default value of the priority param so that by
default we will keep the previous value instead of overwriting it
2022-10-19 16:47:54 -07:00
myk002 9199f8207f
add global keybinding for on-screen keyboard 2022-10-19 14:05:20 -07:00
myk002 43f4d4be39
fix typo in keybinding docs 2022-10-19 14:05:07 -07:00
Tachytaenius 82f759c56e
Single-character typo adjustment in Lua API.rst 2022-10-19 21:26:20 +01:00
Josh Cooper 9b1541add5 Merge branch 'develop' into spectate 2022-10-14 17:41:34 -07:00
Josh Cooper 45ac340f37 Finalizes spectate update
- Fixes for state transitions that were found broken. eg. plugin disabled -> enable auto-unpause feature -> enable plugin (auto-unpause will not truly be enabled; similar transitions were broken)
- Adds a commented out lock for if the pause code is ever adopted into the core API, as to enable many mods to use the `World::SetPauseState()` without walking over each other, and in the case of `reveal hell` also be able to avoid needing to set the state every tick in onupdate
- Revises the usage docs with `enable|disable|set` syntax
2022-10-14 17:02:43 -07:00
myk002 fbb4b37493
update changelog 2022-10-14 13:22:05 -07:00
myk002 fc926df59d
update changelog 2022-10-14 12:31:51 -07:00
myk002 b1bf80e585
support "group" file split strategy for blueprint 2022-10-14 12:27:24 -07:00
Myk 4f10cd4a9b
Merge pull request #2331 from wolfboyft/constructions-find-at-tile-patch
Implement/change/expose to Lua constructions findAtTile & insert
2022-10-13 17:40:21 -07:00
Tachytaenius 0b9b05e488 Add changelog entries 2022-10-13 20:51:01 +01:00
Josh Cooper 5c785d4bd7 Rewords spectate changelog entries 2022-10-13 11:57:25 -07:00
Josh Cooper 880e9b34ef Removes disable usage 2022-10-13 11:52:56 -07:00
myk002 c52138b168
generate meta blueprints 2022-10-12 17:42:36 -07:00
myk002 f411ba76ba
record accurate room sizes in blueprints 2022-10-12 16:33:06 -07:00
myk002 b03911945d
update changelog 2022-10-12 16:03:03 -07:00
myk002 80d993e734
split rooms phase from query and record names 2022-10-12 16:01:54 -07:00
Josh Cooper f54d37c8e7 Moved spectate changelog entries to new section 2022-10-12 14:42:04 -07:00
Josh Cooper 8d8ef023fd Merge branch 'develop' into spectate 2022-10-12 14:40:56 -07:00
Josh Cooper 23c2d14b4a Updated documentation/changelog 2022-10-12 14:40:21 -07:00
myk002 754f1a2598
update changelog 2022-10-12 13:33:29 -07:00
Tachytaenius ded5f483d6 Fix issues in construction module 2022-10-12 21:32:27 +01:00
myk002 b78af72403
record built constructions in blueprint 2022-10-12 13:31:46 -07:00
Tachytaenius 1cf9688349 Implement/change/expose constructions findAtTile & insert (not building) 2022-10-12 21:10:22 +01:00
Josh Cooper ddf7850d90 Merge branch 'develop' into spectate 2022-10-12 11:33:55 -07:00
myk002 598f2c4b12
support --smooth option for blueprints 2022-10-12 10:10:53 -07:00
myk002 9a0f9f210b
update docs for clicking and dragging scrollbars 2022-10-07 16:38:44 -07:00
myk002 ba36e72b33
support click and drag for scrollbars 2022-10-07 16:27:19 -07:00
myk002 35eb4e08dd
hold down the mouse button to continue scrolling 2022-10-07 15:40:05 -07:00
myk002 5722d6914b
transition Label to use the new generic Scrollbar 2022-10-07 12:45:43 -07:00
myk002 24232e894a
create Scrollbar widget and integrate with List 2022-10-06 11:13:16 -07:00
myk002 33816b8bc2
optionally process only the cur z-level and below 2022-10-05 14:01:09 -07:00
myk002 9817106c30
add --exclude option for ls 2022-10-05 13:30:14 -07:00
myk002 dc535004e9
better formatting for ls output for tags 2022-10-05 12:51:30 -07:00
Myk 8e9f3e902f
Update quickfort-user-guide.rst
Fix typo
2022-10-01 16:59:33 -07:00
myk002 3f6e92eda4
finalize 0.47.05-r7 release 2022-09-30 11:58:22 -07:00
myk002 663916b86b
update wording for autolabor 2022-09-28 14:56:20 -07:00
myk002 9a2cb5ea44
fix ALL the typos
done by copying everything into Google docs and running spellcheck
2022-09-28 14:49:03 -07:00
myk002 b6acf7a928
address feedback on the docs 2022-09-28 12:45:57 -07:00
myk002 cb80f7dd75
don't cache dup civzones when scanning buildings 2022-09-25 16:04:36 -07:00
Myk 54dc0e36f9
Merge pull request #2276 from lethosor/teleport-set-idle-area
`Units::teleport()`: set idle_area
2022-09-24 16:09:17 -07:00
lethosor e9eeb5fda0
tool_docs: don't assume cwd is dfhack root
hopefully fixes the CI docs build in dfhack/scripts
2022-09-24 14:00:04 -04:00
lethosor c1b9ffc7ca
Clarify changelog
Based on clarification from Doublestrafe and Quietust
2022-09-24 13:31:18 -04:00
lethosor e6336e769a
Units::teleport(): set idle_area 2022-09-24 13:30:24 -04:00
myk002 6b219f342d
add a TOC of all tools so the pdf picks them up 2022-09-23 14:09:15 -07:00
myk002 50f0d11372
include tool desc in the index for all formats 2022-09-23 13:19:13 -07:00
myk002 4ae1b7fb74
fix anchor text transformation 2022-09-23 12:51:50 -07:00
myk002 98b6ad4954
fix index titles on pdf 2022-09-23 12:34:50 -07:00
myk002 1cd5e8657a
link directly to the tool page title
instead of the top of the page
this is especially important on mobile where the top of the page is
taken up with the sidebar boilerplate
2022-09-23 11:33:14 -07:00
myk002 52011bde7b
share tag list between tool and commands
so all relevant tag index entries get generated
2022-09-23 11:13:49 -07:00
myk002 5869ba64c8
add tag description to the tag index page
this is a terrible hack that only works because sphinx doesn't sanitize
its input for the html builder. we set the title to

  '%s<h4>%s</h4>' % (tag, desc)

so the final html looks like <h1>adventure<h4>...</h4></h1>

this may not play nice with the pdf builder..
2022-09-23 10:21:53 -07:00
myk002 1b9cd83009
use a domain index instead of the genindex 2022-09-23 10:10:28 -07:00
myk002 a92e5d1f74
populate, merge, and generate real tag indices 2022-09-23 09:32:08 -07:00
myk002 a1d3fe77b5
add a bit more index infrastructure 2022-09-23 08:46:50 -07:00
myk002 278b7528ac
implement basic domain index structure 2022-09-23 08:46:50 -07:00
myk002 4913637b62
genindex label "alphabetical" -> "annotated" 2022-09-23 08:46:50 -07:00
myk002 618a191c87
fix directive use for reveal.rst 2022-09-23 08:46:50 -07:00
myk002 7c498e6611
add note about regenerating dwarfmonitor.json 2022-09-23 08:39:40 -07:00
Tachytaenius 6810f9bb90 Remove empty indented line 2022-09-22 20:31:43 +01:00
Tachytaenius 30100bec8f
Add link to Tachy Guns and show more code configurations in guide 2022-09-22 20:23:56 +01:00
myk002 2e64464bb8
reword sentence after title expansion 2022-09-21 10:44:01 -07:00
myk002 ee51e830ad
update wording in Tools docs 2022-09-21 10:40:17 -07:00
myk002 682ed29c0c
replace deprecated support page with a redirect
configured on the readthedocs web admin page
2022-09-21 10:36:46 -07:00
Myk Taylor 35152bf022
create genindex entries for all tools and commands 2022-09-21 10:12:30 -07:00
Josh Cooper a3a06fb363
Update docs/plugins/spectate.rst
removes extra blank line
2022-09-19 10:23:18 -07:00
Myk Taylor 8e718d9851
add docs for dfhack.gui.getMousePos() 2022-09-18 13:31:20 -07:00
myk002 b084171048
add overlay docs 2022-09-16 21:56:04 -07:00