Myk Taylor
998a63a979
allow overlay widgets to specify a default enabled state
...
and make relevant library widgets enabled by default
and remove the default overlay.json config file
2023-01-26 00:53:57 -08:00
Myk
5283cb1e72
Merge pull request #2716 from myk002/myk_channel_safely
...
fix build errors with channel-safely
2023-01-24 19:01:46 -08:00
Myk Taylor
4e35895cf4
fix build errors with channel-safely
2023-01-24 18:48:23 -08:00
Kelly Kinkade
cbcd68317d
tailor: increased check frequency
...
do bookkeepers work faster now? could be
2023-01-24 19:28:17 -06:00
Myk
25658592cb
Merge pull request #2472 from cppcooper/channel-safely
...
Updates Channel safely
2023-01-24 17:05:40 -08:00
Josh Cooper
739263eb59
Re-introduces channel-safely plugin to the build
2023-01-24 16:25:41 -08:00
Myk
83c89cfaa9
Merge pull request #2705 from myk002/myk_zscreen_redux
...
Implement new ZScreen semantics
2023-01-24 11:14:43 -08:00
Kelly Kinkade
f640d15355
tailor: avoid bad key exception in std::map
2023-01-23 22:40:54 -06:00
Myk Taylor
8b98ba5042
allow windows to be defocused instead of pinned
2023-01-23 17:40:16 -08:00
Josh Cooper
89eefd006f
Implements plugin: channel-safely v1.2.2
...
minor changes only
The largest change is moving a df::map_block* declaration to an outer loop
2023-01-23 14:24:24 -08:00
Josh Cooper
ae8291b952
Implements plugin: channel-safely v1.2.1
...
- Removes insta-dig feature (too many problems, rarely worked)
- Fixes a segmentation fault introduced in v1.2
- Improves manage_group readability/nesting
- Improves manage_one readability/nesting
Update docs/plugins/channel-safely.rst
Co-authored-by: Myk <myk002@yahoo.com>
Fixes some formatting consistency
2023-01-23 14:24:23 -08:00
Josh Cooper
a4bf266770
Implements plugin: channel-safely v1.2
...
- Updates rst documentation
- Adds feature: risk-averse
- Revises ChannelManager::manage_group
- Now performs analysis of group designations
- If any designation has fall space, designations are analyzed for accessibility (a weighted score of how many ways it can be accessed)
- If a designation has no fall space, but cannot be accessed it will be "dig_now"'ed
- accessibility scores are stored for the management phase
- Management loop has been extended
- iff no cave-in candidates exist, then perform simple management (as requested)
- if candidates do exist, then we must check if our current position is one
- if the current position is a cave-in candidate it must also be within range (+2) of the least access
- if the candidate is in range or on the dignow queue, then we activate the designation and modify the dig priority according to distance from least_access
- if not a candidate, or the other checks failed, then we set the designation to marker mode
2023-01-23 14:24:23 -08:00
Josh Cooper
540faff88f
Implements plugin: channel-safely v1.1.2b
...
- Updates rst documentation
- Adds troubleshooting section
- Renames the monitor feature to monitoring
- Adds cave-in helper functions
- ChannelJobs::has_cavein_conditions()
- ChannelJobs::possible_cavein()
- find_dwarf() ~ finds the nearest dwarf or the first one that has a path to a position
- Moves dignow/resurrect to inlines.h
- Improves management of regular dig designations
- Adds df::job* tracking back into ChannelJobs to simplify cancellations
- Updates/improves debug logging
- Switches unordered structures with ordered in some locations to have ordered debugging information
- Simplifies ChannelManager::manage_group()
- Fixes up ChannelManager::manage_one()
- the return value is now useful even if unused
2023-01-23 14:24:23 -08:00
Eamon Bode
8750707948
Update plugins/automelt.cpp
...
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-01-23 16:32:47 -05:00
eamondo2
c5ce1b1766
Fix build complaints
2023-01-23 16:20:37 -05:00
eamondo2
386546126e
fix GH suggest, cache found building
2023-01-23 16:14:49 -05:00
Eamon Bode
fc861f1328
Merge branch 'develop' into automelt
2023-01-23 14:20:48 -05:00
eamondo2
7536426929
trailing whitespace trim
2023-01-23 13:36:12 -05:00
eamondo2
6592cadc09
Bugfixes, resolved CTD issue.
2023-01-23 13:35:26 -05:00
Myk Taylor
38e6e0a747
ensure orders overlay is on the correct panel
...
even when the total screen size is very small
2023-01-23 08:01:45 -08:00
Myk Taylor
d7e0dcfcf8
use new frames for hotkey hotspot
2023-01-23 04:03:41 -08:00
Myk Taylor
9aaa55cd7f
add textures and frames for various use cases
2023-01-23 03:58:51 -08:00
eamondo2
44d8ce2bdc
whitespace fix
2023-01-23 01:58:57 -05:00
eamondo2
78c6b3683e
Changes as per GH suggestions. Doc updates.
2023-01-23 01:56:33 -05:00
eamondo2
8f7788ec20
Merge branch 'develop' into automelt
2023-01-22 20:32:43 -05:00
Myk
f2c2fffac5
Merge branch 'develop' into myk_click_logo
2023-01-22 17:10:27 -08:00
Myk
ab10b84de4
Merge pull request #2693 from myk002/myk_revert_always_enabled
...
remove unused always_enabled attribute for overlays
2023-01-22 17:10:04 -08:00
Myk Taylor
f0d44342d8
first attempt at a manager orders overlay
2023-01-22 03:08:36 -08:00
eamondo2
9bcd9c27bf
Fix build failure
2023-01-22 04:55:14 -05:00
eamondo2
2e6ba64f56
Hopefully fix end-of-file-fixer complaint
2023-01-22 04:46:35 -05:00
eamondo2
84f7fc85da
trim trailing whitespace
2023-01-22 04:44:33 -05:00
Eamon Bode
e5cbc7fd3c
Merge branch 'develop' into automelt
2023-01-22 04:40:10 -05:00
eamondo2
969f8162a8
Further updates from comments/review.
2023-01-22 04:39:41 -05:00
eamondo2
6585055ed2
fixes, global item counts
2023-01-22 04:13:23 -05:00
Myk Taylor
b84bce719d
remove unused always_enabled attribute for overlays
...
it was made for gui/pathable, but that became a ZScreen
this option made me uncomfortable for overlays. it didn't seem like the
right user experience
2023-01-22 01:07:30 -08:00
Myk Taylor
76822ac7b7
remove orphan fortplan.lua file
2023-01-22 00:59:27 -08:00
Myk Taylor
5a4d61e7fc
don't close the hotspot menu if the logo is clicked
...
some people click the logo by mistake. this shouldn't close the menu
2023-01-22 00:43:10 -08:00
eamondo2
4c9da4046f
Merge branch 'automelt' of github.com:eamondo2/dfhack into automelt
2023-01-21 18:23:03 -05:00
eamondo2
0fbf17f1c8
refactor/fix as per GH suggest
2023-01-21 18:22:15 -05:00
20k
598354d9d4
getbiometype naming, docs
2023-01-21 20:33:40 +00:00
pre-commit-ci[bot]
50c3bea84b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-01-21 07:20:19 +00:00
eamondo2
0a66f41152
fix newline pre-commit.ci complaint
2023-01-21 02:15:35 -05:00
eamondo2
e4e4cae5e6
fix check failures
2023-01-21 02:08:58 -05:00
eamondo2
3fc4d056c3
initial automelt
2023-01-20 17:58:48 -05:00
Myk Taylor
acf2b8b319
use newly narrowd relations vector
2023-01-20 14:30:48 -08:00
Myk
15ba54eea9
Merge pull request #2643 from RosaryMala/Autoclothing
...
Autoclothing
2023-01-20 14:08:01 -08:00
Myk
064f2834a9
Merge pull request #2669 from ab9rf/5005-alpha2-tailor
...
tailor: add support for using undyed cloth
2023-01-20 14:06:53 -08:00
Myk
310940e1a2
Merge branch 'develop' into Autoclothing
2023-01-20 14:05:26 -08:00
Kelly Kinkade
e8f67c7b62
add support for using undyed cloth
...
also improved debugging messages
2023-01-20 15:21:45 -06:00
Myk Taylor
e138ac1da5
update stonesense
2023-01-20 12:23:02 -08:00