Commit Graph

14523 Commits (37357da64b203d68922a974be9a4a69f1793ca24)
 

Author SHA1 Message Date
Myk 3fa9babb48
Merge pull request #2911 from kelvie/label-hover
Usability: Show mouse hover on all clickable Labels/Lists
2023-02-22 20:39:02 -08:00
Kelvie Wong 3c24e67a9a Address additional PR comments
on_activate is likely to happen first so we shouldn't need to check the
other.
2023-02-22 17:22:04 -08:00
Myk c54a2346f3
Merge pull request #2908 from cppcooper/dig-now
dig-now bug fixing
2023-02-22 11:22:59 -08:00
PopnROFL 7901fdf6ec Update CMakeLists.txt
N++ defaulted to tabs. Fixing.
2023-02-22 07:26:00 -06:00
PopnROFL 15b00587a0 Update CMakeLists.txt
Increased MSVC version to the latest, and updated the error messaging so you know what version you have (if it's installed at all)
2023-02-22 07:26:00 -06:00
Myk b516c8753e
Merge branch 'develop' into dig-now 2023-02-21 18:59:30 -08:00
Josh Cooper d18911ca5a
Update changelog.txt 2023-02-21 00:01:15 -08:00
DFHack-Urist via GitHub Actions 81db7f09a2 Auto-update submodules
library/xml: master
2023-02-21 07:15:14 +00:00
Myk e9c1455cf3
Merge pull request #2929 from silverflyone/develop
tombstone combine-drinks and combine-plants
2023-02-18 19:43:15 -08:00
DFHack-Urist via GitHub Actions ce79b8f0c4 Auto-update submodules
scripts: master
2023-02-19 03:38:55 +00:00
DFHack-Urist via GitHub Actions 13e4d327f8 Auto-update submodules
library/xml: master
scripts: master
2023-02-19 03:34:02 +00:00
silverflyone 5deac65be1
Merge branch 'DFHack:develop' into develop 2023-02-19 13:39:41 +11:00
silverflyone ab74cf0af3 tombstone combine-drinks and combine-plants 2023-02-19 13:31:33 +11:00
Kelvie Wong d18700c964 Update List docs as well. 2023-02-18 16:15:16 -08:00
Kelvie Wong 697f15224c Address PR comments, and remove BG fill
BG fill eats up a lot of cycles anyway, and there's not a real tangible
benefit in all cases, as it relies on the text label being sized
appropriately (width-wise) to the container, or would otherwise require
padding.
2023-02-18 16:07:40 -08:00
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