Commit Graph

13162 Commits (69333062552ae1a3b93707d1cc62693f25913d26)
 

Author SHA1 Message Date
myk002 5967e5c9e0
fix up cleanowned status message
print unit id instead of raw pointer and display "wear level" instead of
just "wear"
2022-11-20 16:03:08 -08:00
Myk ff447d46bd
don't overcount units for misery widget
addendum to #2366
2022-11-20 09:45:23 -08:00
Myk 152aa70b21
Merge pull request #2409 from ab9rf/autolabor-refactor
Autolabor refactor, phase 1
2022-11-20 08:33:36 -08:00
Kelly Kinkade 2bc2dd8f5b remove unnecessary 'const'
wouldn't it be nice if there was a single C++ standard that all compilers adhered to?
2022-11-20 10:21:32 -06:00
Kelly Kinkade 2453b34194 refactor common labor state map table
eliminates code duplication
2022-11-20 10:09:52 -06:00
Kelly Kinkade aa78c626f9 collect autolabor plugins into one directory
these plugins all share code, moving them into a common directory will make refactoring the code shared between them more straightforward
2022-11-20 01:58:08 -06:00
Myk baf58fdf25
Merge pull request #2113 from Bumber64/Bumber64-patch-2
Add functions reverse-engineered from announcement code
2022-11-18 17:44:53 -08:00
Myk ac5a1d35ae
remove duplicate function definition 2022-11-18 17:39:49 -08:00
Myk 24b237ae25
Update changelog.txt 2022-11-18 17:35:50 -08:00
Myk 11c27d40dd
Merge branch 'develop' into Bumber64-patch-2 2022-11-18 17:34:00 -08:00
Myk 046f799f9e
Merge pull request #2405 from ab9rf/msvc-config
up MSVC warning level to /W3 /WX
2022-11-18 13:45:18 -08:00
Kelly Kinkade 0d5b80204f `Internals` not `Internal` 2022-11-18 15:35:08 -06:00
Kelly Kinkade b6ffaebeda refine comments 2022-11-18 15:29:02 -06:00
Kelly Kinkade a16aca0f03 up MSVC warning level to /W3 /WX
This makes MSVC warn at a level comparable to what we use on gcc for Linux builds
2022-11-18 15:09:50 -06:00
DFHack-Urist via GitHub Actions acd561ec9c Auto-update submodules
library/xml: master
scripts: master
2022-11-18 20:59:44 +00:00
Myk 0b0782f837
Merge pull request #2401 from myk002/myk_default_overlay_config
add a default overlay config with standard widgets
2022-11-18 10:17:42 -08:00
Myk 8594218bf8
Merge pull request #2402 from myk002/myk_shleggings
[orders] replace shell crafts with shleggings
2022-11-18 10:17:25 -08:00
myk002 7b6cd14823
update changelog 2022-11-16 12:33:24 -08:00
myk002 1cc9a4d832
make leggings instead of crafts out of shells
they have a greater average trade price, and "shleggings" is hilarious.
2022-11-16 12:31:24 -08:00
myk002 1c0a4182b7
add a default overlay config with standard widgets 2022-11-16 08:53:02 -08:00
Alan f5d100d28c
Merge pull request #2399 from ab9rf/autofarm-fix-2365
autofarm: insert missing output flushes
2022-11-15 21:37:57 -05:00
Kelly Kinkade 99f919c3dc autofarm: insert missing output flushes
insert calls to std::flush as appropriate

fixes #2365
2022-11-15 20:00:27 -06:00
Myk 880120599d
Merge pull request #2398 from ab9rf/autolabor-fix-1994
autolabor/autohauler: add labor entries for 241-243
2022-11-15 16:48:58 -08:00
lethosor 899fa3d940
Fix quickfort docs link in data/blueprints/README.md 2022-11-15 15:06:40 -05:00
Kelly Kinkade eeee752733 Update changelog.txt
add changelog
2022-11-15 13:21:45 -06:00
Kelly Kinkade d191993376 autolabor/autohauler: add labor entries for 241-243
add missing entries for jobs 241, 242, and 243

this was fixed in labormanager in PR #1566 (see #1561) but was never addressed in autolabor or autohauler

should close #1994
2022-11-15 13:13:33 -06:00
DFHack-Urist via GitHub Actions 822a1c8359 Auto-update submodules
library/xml: master
scripts: master
2022-11-15 07:17:03 +00:00
Myk fa31f3eb56
Merge pull request #2390 from myk002/myk_keybinding_cleanup
clean up default keybindings
Long context lists is a short term solution until we can implement script hotkey guards (or we convert the keybindings into overlay widgets)
2022-11-14 20:00:32 -08:00
myk002 983ae02517 update keybinding docs 2022-11-14 19:54:58 -08:00
myk002 4f5cb196a7 scope keybindings closer to their area of use
so they don't clutter the hotkeys list unnecessarily
the better solution for many of these commands is hotkey guards, but we
don't yet support hotkey guards for scripts
2022-11-14 19:54:58 -08:00
myk002 511250afbe reorder keybindings, no definition changes 2022-11-14 19:54:58 -08:00
Myk f7d1aedf0d
Merge pull request #2395 from myk002/myk_dreamfort
update dreamfort help, add qsp for training bolts
2022-11-14 19:54:13 -08:00
myk002 8f7624fb76 update changelog 2022-11-14 19:53:46 -08:00
myk002 89e579239f update dreamfort help, add qsp for training bolts 2022-11-14 19:53:46 -08:00
lethosor d786989450
Revert "Allowing whitespace-only lines."
This makes lint.py's behavior match pre-commit, which is useful because lint.py
errors show up inline on GitHub PRs.

This reverts commit ebb3dc48bf
2022-11-14 22:10:48 -05:00
Myk 966623a919
Merge pull request #2387 from cppcooper/units-checking
Extends Units module
2022-11-14 16:55:42 -08:00
Myk 35cea1b5e1
Merge pull request #2371 from myk002/myk_overlay_hotkeys
[hotkeys] implement hotspot menu widget
2022-11-14 16:50:30 -08:00
Myk 3cf14610f9
Merge pull request #2366 from myk002/myk_overlay_dwarfmonitor
[dwarfmonitor] migrate widgets to overlay v2
2022-11-14 16:50:18 -08:00
myk002 6635b6489b
handle commands like ':lua <something>' 2022-11-14 16:46:03 -08:00
myk002 2093287bf0
update changelog 2022-11-14 16:46:03 -08:00
myk002 bdf201c670
ensure keybinding shows up in hotkeys command
not overlay
2022-11-14 16:46:03 -08:00
myk002 aecc190b74
update hotkeys docs 2022-11-14 16:46:02 -08:00
myk002 47d7c477b3
show menu hotkey for list but not on the menu 2022-11-14 16:46:02 -08:00
myk002 a2efc41fef
use new anywhere hotkey and filter out own hotkey 2022-11-14 16:46:02 -08:00
myk002 de20603080
implement CLI commands 2022-11-14 16:46:02 -08:00
myk002 1fc30493c0
right align hotkeys for list items
and combine hotkeys for identical commands
and don't hide the menu until the mouse has left the frame
and start the widget one tile closer to the edge so the mouse is already
on the list instead of on the frame
2022-11-14 16:46:02 -08:00
myk002 8bf987e7db
use a more natural ordering for modifier keys 2022-11-14 16:46:02 -08:00
myk002 2b73d6e8e9
allow hotkeys to be invoked as a hotkey
also ensure keybindings are always cleaned up
2022-11-14 16:46:02 -08:00
myk002 234919ffe1
replace hotkeys keybinding with menu keybinding 2022-11-14 16:46:01 -08:00
myk002 66d3409a65
solve concurrency issues 2022-11-14 16:46:01 -08:00