Commit Graph

13390 Commits (816371ca69bc3d760314aba06c9a6858d172b66b)
 

Author SHA1 Message Date
Myk 816371ca69
Merge pull request #2945 from cppcooper/channel-safely
Fix out-of-bounds error in Channel safely
2023-02-24 15:58:57 -08:00
Myk ddd0c7b644
Merge branch 'develop' into channel-safely 2023-02-24 15:54:12 -08:00
Josh Cooper 4813a15b35 Updates changelog 2023-02-24 15:51:23 -08:00
Josh Cooper 00eb02c1bc Implements plugin: channel-safely v1.2.4
- changes report* lookup in `NewReportEvent()`
  - adds a nullptr check
- adds df::coord bound checking in various places
  - where the `get_*neighbours()` functions are used
  - `simulate_fall()`
  - `is_safe_to_dig_down()` and `is_safe_fall()`
- adds nullptr checks to the `is_*job()` functions
- added todo comments for `is_safe_to_dig_down()`
2023-02-24 15:51:11 -08:00
Myk Taylor 4bf0849d51
fix usage of squad equipment vector 2023-02-24 15:50:56 -08:00
Myk Taylor b8fdc985ec
bump version and changelog to 50.07-alpha2 2023-02-24 15:41:54 -08:00
DFHack-Urist via GitHub Actions f84299bc46 Auto-update submodules
library/xml: master
2023-02-24 23:31:20 +00:00
Myk Taylor f922be8769
fix more autolabor chattiness 2023-02-24 13:25:04 -08:00
Myk 85ac04032a
Merge pull request #2944 from myk002/myk_dig_now_revert
revert recent changes to dig-now due to lockups
2023-02-24 12:48:23 -08:00
Myk Taylor 934422264e
remove entries for reverted code from changelog 2023-02-24 12:44:26 -08:00
Myk Taylor 69b89e9a6b
revert code changes to dig-now (causing lockups) 2023-02-24 12:44:06 -08:00
Myk 2659bf2ed4
Merge pull request #2943 from myk002/myk_autobutcher_deannouncement
[autobutcher] log to console instead of announcements
2023-02-24 10:30:48 -08:00
DFHack-Urist via GitHub Actions d8758fdfb7 Auto-update submodules
scripts: master
2023-02-24 07:15:12 +00:00
Myk Taylor be54440177
fix up changelog 2023-02-23 22:33:46 -08:00
Myk Taylor 6dbc22350f
log to console instead of announcements 2023-02-23 22:24:32 -08:00
Myk Taylor 29e0698177
re-mark channel-safely as untested 2023-02-23 21:14:37 -08:00
Myk Taylor b976097ccf
sync spreadsheet to tags 2023-02-23 21:01:58 -08:00
DFHack-Urist via GitHub Actions 1ed0a41dd1 Auto-update submodules
library/xml: master
scripts: master
2023-02-23 07:15:08 +00:00
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