Kelvie Wong
61227eeca1
Fix use of pens in render_text
...
If you ever pass in a number to `dc:pen` rather than a pen table, it
will assume the old pen's other attributes, such as `bg` and `bold`.
To workaround this, we just never pass in a number, and always call
`to_pen` aka `dfhack.pen.parse` first.
2023-02-18 16:07:40 -08:00
Kelvie Wong
94ae9973cf
Re-add the invert_color function
...
As requested, but it's not used anymore.
2023-02-18 16:07:40 -08:00
Kelvie Wong
3e8d0f0f1e
Properly reverse BG/FG and apply per letter
...
This puts pen creation deeper into the loop in render_text.
Lists are current coloured completely wrong, though, and need
fixing (and probably anywhere else where disabled is set).
2023-02-18 16:07:40 -08:00
Kelvie Wong
0897ca913a
Support mouse-hover on lists as well
2023-02-18 16:07:40 -08:00
Kelvie Wong
0b48471607
Invert brightness of the background as well
...
This required some tinkering.
2023-02-18 16:07:40 -08:00
Kelvie Wong
2d68b21547
Show mouse hover on HotkeyLabels
...
Labels show the hover colour when on_click is set, HotkeyLabels should
also do the same when they are clickable.
2023-02-18 16:07:40 -08:00
DFHack-Urist via GitHub Actions
8c70c3bf06
Auto-update submodules
...
scripts: master
2023-02-18 07:14:10 +00:00
lethosor
4164e6e80d
Update scripts (forbid, unforbid, devel/query)
2023-02-17 23:52:32 -05:00
Myk
8ea77d66cb
Merge pull request #2925 from robob27/confirm-perf
...
Fix confirm performance
2023-02-17 16:25:27 -08:00
Rob Goodberry
016f4dfae3
Update docs/changelog.txt
...
Co-authored-by: Myk <myk.taylor@gmail.com>
2023-02-17 19:15:01 -05:00
Robob27
5244fce469
Fix confirm performance
2023-02-17 18:41:20 -05:00
Myk
180d10dd32
Merge pull request #2917 from ab9rf/5007-tailor
...
tailor: try to squash toad clothing bug
2023-02-17 12:25:43 -08:00
Kelly Kinkade
f73634d009
add missing parameter
2023-02-17 14:03:42 -06:00
Kelly Kinkade
6a0ac8b142
update changelog
2023-02-17 13:08:02 -06:00
Kelly Kinkade
4eb3ae566d
unshadow unit size variable
2023-02-17 12:58:48 -06:00
Kelly Kinkade
7e584df040
misc tailor updates related to adamantine cloth
2023-02-17 12:10:23 -06:00
Josh Cooper
1fe0bab9d4
Incorporates code review into dig-now PR
2023-02-17 08:17:35 -08:00
Josh Cooper
249c659006
Adds coord validity check for job scanning in dig-now
2023-02-17 08:17:35 -08:00
Josh Cooper
8beb947c82
Revises job scanning for dig-now
2023-02-17 08:17:35 -08:00
Josh Cooper
1e21f1ece9
Adds validity checks before adding to the dig-now buffer
...
also adds job cancellation for designation jobs, for testing a solution to issue 2471
2023-02-17 08:17:35 -08:00
Josh Cooper
c990def894
Adds a designation buffer in dig-now's processing algorithm
...
This may fix the issue seen when channeling consecutive layers, needs to be tested
2023-02-17 08:17:35 -08:00
Josh Cooper
838acfdf22
Adds a few log lines to dig-now
2023-02-17 08:17:35 -08:00
Josh Cooper
456020fb38
Adds todo comments to dig-now.cpp for issue #2720
2023-02-17 08:17:35 -08:00
DFHack-Urist via GitHub Actions
d222092b30
Auto-update submodules
...
scripts: master
2023-02-17 07:15:06 +00:00
Kelly Kinkade
f6df3ff335
remove thing i thought i already removed
2023-02-16 15:39:10 -06:00
Kelly Kinkade
f437a83dba
add changelog
2023-02-16 15:38:18 -06:00
Kelly Kinkade
54013b4400
add support for adamantine cloth
...
off by default because really now
also downgraded "weird cloth item" message from WARN to DEBUG
2023-02-16 15:33:55 -06:00
Kelly Kinkade
4d9deb8eca
tailor: try to squash toad clothing bug
...
this adds a test for an unmapped clothing size which will at least stop the making of toad-sized clothing. a diagnostic is issued when this happens as it is a bug
2023-02-16 14:37:10 -06:00
lethosor
85dfe2a547
Merge remote-tracking branch 'cjhammel/fix-for-Issue-#2864' into develop
2023-02-16 11:49:36 -05:00
Myk
070e10a75a
Merge pull request #2875 from robob27/tabs-as-widgets
...
Add Tab/TabBar to widgets
2023-02-16 00:53:13 -08:00
Robob27
bc47a0b2e4
More prescriptive docs attempt
2023-02-16 03:14:05 -05:00
Myk
c077343a23
Merge pull request #2904 from robob27/confirm-persist
...
Persist confirm config
2023-02-16 00:09:32 -08:00
Robob27
4167c2e652
Add key_back, rename switch_tab_key to key
2023-02-16 02:56:52 -05:00
Robob27
5154eb181a
Add Tab/TabBar to widgets
2023-02-16 02:51:09 -05:00
Myk
00428a9140
Merge pull request #2910 from silverflyone/develop
...
Not all stockpile items being returned for getStockpileContents.
2023-02-15 23:33:39 -08:00
DFHack-Urist via GitHub Actions
36935056ea
Auto-update submodules
...
library/xml: master
scripts: master
2023-02-16 07:15:08 +00:00
silverflyone
3ad66d5c2f
Merge branch 'develop' into develop
2023-02-16 15:05:23 +11:00
silverflyone
648af1c81c
Buildings::StockpileIterator operator change added to FIxes.
2023-02-16 15:03:09 +11:00
silverflyone
80972466a4
Revert "Buildings::StockpileIterator operator change added to FIxes."
...
This reverts commit 8f190247e9
.
2023-02-16 15:01:11 +11:00
silverflyone
8f190247e9
Buildings::StockpileIterator operator change added to FIxes.
2023-02-16 14:55:00 +11:00
Robob27
212026861f
WIP list fix
2023-02-15 19:29:45 -05:00
Robob27
b4bd806134
Don't enable confirms on plugin enable
2023-02-15 16:10:22 -05:00
Robob27
8e577e7469
Persist confirm config
2023-02-15 16:01:17 -05:00
Kelly Kinkade
82cc486442
correct autolabor for structure update
...
df-structures#561 changed def'n of `activity_info` which autolabor used
2023-02-15 06:49:00 -06:00
DFHack-Urist via GitHub Actions
39f13b642f
Auto-update submodules
...
library/xml: master
scripts: master
2023-02-15 07:15:04 +00:00
silverflyone
d8afb6c682
Update Buildings.cpp
...
Changed the StockpileIterator::operator++ to checks block based on <= 16 rather than <16. Previously it was not returning items at stockpile tiles at the block boundary. Identified as part of combine.lua changes.
2023-02-15 15:31:50 +11:00
Christopher J Hammel
c4aa936c0d
Update autolabor.cpp
2023-02-14 11:37:22 -05:00
Myk
805d68017f
Merge pull request #2905 from myk002/myk_mouse
...
prevent mouse clicks from bleeding through when a window is dismissed
2023-02-14 06:46:43 -08:00
DFHack-Urist via GitHub Actions
66229bb669
Auto-update submodules
...
library/xml: master
scripts: master
2023-02-14 07:15:30 +00:00
Myk Taylor
bc76fd02e2
prevent mouse clicks from bleeding through when a window is dismissed
2023-02-13 17:35:02 -08:00