Commit Graph

11123 Commits (1b426efdb93b362aa46fa694fc0936505f9bcc7c)
 

Author SHA1 Message Date
lethosor e8d9a9d184
Fix out-of-bounds access in memscan.field_offset()
Fixes #1907
2021-08-10 11:26:06 -04:00
Kelly Kinkade 2981deb521 update autogems to respect workshop profiles
Add a test so that autogems will not assign cut gem jobs to workshops that are not allowed to do them.

Fixes #1263
2021-08-10 06:29:10 -05:00
lethosor 0140ace317
Merge remote-tracking branch 'myk002/myk_buildingplan_attached' into develop 2021-08-10 01:07:35 -04:00
lethosor 4d103dc546
Merge remote-tracking branch 'myk002/myk_alt_tab_modstate' into develop 2021-08-08 11:13:52 -04:00
Kelly Kinkade 73107fb21b tailor: add support for user-specified material list
Add support for user-specified material list. Also refactor, fix some mostly-innocuous bugs

Resolves #1911.
2021-08-08 09:53:32 -05:00
lethosor 40fc3dd110
Update scripts 2021-08-07 22:35:09 -04:00
lethosor 1a9b080250
Merge remote-tracking branch 'Moth-Tolias/autonick.txt' into develop 2021-08-07 22:34:45 -04:00
Kelly Kinkade 685e5111ae Update autofarm.cpp
`dts::make_unique`, not `std::make_unique`, sorry my bad
2021-08-07 15:51:21 -05:00
Kelly Kinkade ce50bbdfde fix autofarm berry problem
Update autofarm to count PLANT_GROWTHS as well as PLANTS for threshold purposes. This addresses #1902.

Also addresses some pointer hygiene issues in autofarm.
2021-08-07 15:32:43 -05:00
myk002 192dfd51ee
clear modstate on window focus
this fixes the issue where the alt modstate was getting stuck on systems
that don't send standard keyup events after alt-tab. for example, in KDE
Plasma (on Gentoo, at least), the keyup event when alt is released after
alt-tab contains an incorrect keycode (NUMLOCK instead of L_ALT), which
was preventing us from correctly clearing the alt modstate.
2021-08-06 07:10:42 -07:00
myk002 063c512389
update changelog 2021-08-06 07:10:22 -07:00
DFHack-Urist via GitHub Actions 8b14fbe544 Auto-update submodules
scripts: master
2021-08-06 07:14:34 +00:00
DFHack-Urist via GitHub Actions ffdb763ddb Auto-update submodules
scripts: master
2021-08-05 07:14:35 +00:00
lethosor ecad3bfc1a
Merge remote-tracking branch 'myk002/myk_quickfort_integration' into develop 2021-08-05 00:53:39 -04:00
lethosor 6109320ca2
Merge remote-tracking branch 'myk002/myk_ecosystem_test' into develop 2021-08-05 00:52:19 -04:00
lethosor 8bd68e59ea
Merge branch 'develop' of DFHack/dfhack into develop 2021-08-04 23:21:34 -04:00
lethosor d572c6c9dd
Update xml (dfhack/df-structures#434) 2021-08-04 23:21:28 -04:00
lethosor f617e47d39
Merge remote-tracking branch 'myk002/myk_test_elapsed' into develop 2021-08-04 23:15:54 -04:00
DFHack-Urist via GitHub Actions ca1a1253c7 Auto-update submodules
library/xml: master
2021-08-04 07:19:36 +00:00
lethosor 8a2fd1e845
Merge branch 'develop' of DFHack/dfhack into develop 2021-08-03 19:53:39 -04:00
lethosor 79a22e25eb
Merge remote-tracking branch 'myk002/myk_dig_dug' into develop 2021-08-03 19:53:01 -04:00
myk002 d8b5ac41d9
ensure soil tiles get randomized variants 2021-08-01 23:30:04 -07:00
myk002 98fd6effdc
generate random time variants where applicable 2021-08-01 07:07:20 -07:00
DFHack-Urist via GitHub Actions 9b09d3e455 Auto-update submodules
scripts: master
2021-08-01 07:14:28 +00:00
Timur Kelman 4c2473de92
add test.ListBox_with_multi_select_and_visual_indicator
this test also demonstrates actual (minimal) example usage
2021-07-31 11:46:59 +02:00
Timur Kelman 4bf8b6daab
fix tabs and whitespaces 2021-07-30 23:23:58 +02:00
Timur Kelman 70d088c763
add tests for dialog.lua 2021-07-30 23:21:35 +02:00
myk002 92701d6da7
connect smooth walls to doors 2021-07-30 13:09:20 -07:00
myk002 3c8a174a68
use pillars for wall ends instead of NS or EW 2021-07-30 13:09:20 -07:00
myk002 79bdf36ed4
expose link_adjacent_smooth_walls to lua
so build-now can use it
2021-07-30 13:09:20 -07:00
myk002 8fb456313f
allow only one positional param to be specified 2021-07-30 13:09:20 -07:00
myk002 c1665f35b4
fix off by one error 2021-07-30 13:09:20 -07:00
myk002 95fa9f3d7a
use new library functions in dig-now 2021-07-30 13:09:20 -07:00
myk002 a6c62a025f
unhide properly when digging at visible edges 2021-07-30 13:09:20 -07:00
myk002 0b703d9818
fix adjacent smooth walls when we dig one out 2021-07-30 13:09:19 -07:00
myk002 7f0c3cc7e4
document dig-now lua api 2021-07-30 13:09:19 -07:00
myk002 48f90da72e
remove extra return 2021-07-30 13:09:19 -07:00
myk002 c807398eff
remove old reference to dig-now.h 2021-07-30 13:09:18 -07:00
myk002 93d67dd51e
export dig_now_tile over Lua 2021-07-30 13:09:18 -07:00
myk002 fc19fb6785
add external api: dig_now_tile(out, pos) 2021-07-30 13:09:18 -07:00
myk002 1a19c3a944
ramp/channel: don't dig into undiggable tiles 2021-07-30 13:09:18 -07:00
myk002 d6c9f99c61
don't overflow prod->count. it's a measly int16_t 2021-07-30 13:09:18 -07:00
myk002 aa1cbc95db
skip marker mode dig designations 2021-07-30 13:09:18 -07:00
myk002 1670cfab05
also "and" -> "&&" 2021-07-30 13:09:18 -07:00
myk002 dfc938a99d
omg lua is ruining me
on the other hand, why doesn't MSVC just support "or" to mean "||"?
2021-07-30 13:09:17 -07:00
myk002 59a34c6d17
remove ramp tops when channeling
we normally take care of any ramp tops above the channeled tile when we dig the ramp below the channeled
tile, but that logic might not run if we channel down into empty space
(or undiggable tiles)
2021-07-30 13:09:17 -07:00
myk002 662f2cc616
don't dig the undiggable 2021-07-30 13:09:17 -07:00
myk002 89210a503e
add global anchor for dig-now 2021-07-30 13:09:17 -07:00
myk002 92656fc5c0
update plugin docs
since surface tiles are now handled
2021-07-30 13:09:17 -07:00
myk002 5c853644f0
let newly uncontained water flow 2021-07-30 13:09:17 -07:00