Commit Graph

5550 Commits (1aa771fee8b68ad414471fc095362a8bc2ea3cbd)

Author SHA1 Message Date
Myk 1aa771fee8
Merge pull request #4119 from myk002/myk_autochop
[autochop] better error output on malformed command
2023-12-31 11:34:20 -08:00
Myk 2cefca4522
Merge pull request #4118 from myk002/myk_work_now_lifecycle
[work-now] save enabled status with the fort
2023-12-31 11:34:13 -08:00
Myk 2644f928b2
Merge pull request #4117 from myk002/myk_misery
[misery] fix handing of misery factor setting
2023-12-31 11:34:05 -08:00
Myk Taylor 2ff6676122
fix mouse clicks bleeding through overlay panel 2023-12-31 01:59:49 -08:00
Myk Taylor 3c54ba7c09
error out on missing burrow specification 2023-12-31 01:17:54 -08:00
Myk Taylor 75f772028f
save work-now enabled status with the fort 2023-12-31 00:54:20 -08:00
Myk Taylor b9591bb320
fix handing of misery factor setting 2023-12-31 00:24:12 -08:00
Myk Taylor 80f9fea522
add descriptions to all plugin overlays 2023-12-30 21:24:11 -08:00
Myk Taylor 50a447061d
add desc as an official Overlay API property 2023-12-30 20:17:01 -08:00
dhthwy ee61835f1f rendermax: note that this plugin needs testing and improvements
rendermax: note that this plugin needs testing and improvements
2023-12-27 21:32:50 -05:00
dhthwy 63928b55a2 rendermax: make isDone an std::atomic 2023-12-27 21:21:45 -05:00
Paxton Schweigert 54769ebdbf Remove tinythread from PluginManager
Remove useless tinythread import in PlugLoad-windows.cpp

Remove seemingly useless tinythread import in LuaTools.cpp

Factor out tinythread in LuaApi.cpp

Removed unused tinythread in LuaWrapper.cpp

Removed unused tinythread include in LuaTypes.cpp

Removed unused tinythread include in ColorText.cpp

Factor out tinythread in Console.h

Factor out tinythread in Console-posix.cpp

Factor out tinythread in Console-windows.cpp

Factor out tinythread in renderer_light

Factor out tinythread in DataDefs.cpp

Remove unused tinythread include in RemoteClient.cpp

Add includes for new mutex and conditional_variable usages in PluginManager

Factor out tinythread from devel/memview, renderermax/renderer_light, and rendermax/renderer_opengl plugins

Remove usages of tinythread in various CMakeLists.txt files, in .ycm_extra_conf.py, and delete tinythread itself

Delete tinythread from LISCENSE.rst

excise tinythread: fix deadlock in pluginmanager

excise tinythread: remove improper header

excise tinythread: fix double unlock. fix plugin typo
2023-12-27 19:23:58 -05:00
Myk Taylor 23ae45ac01
prevent script errors when exiting world screen
when the artifact list is showing at the time of screen exit
2023-12-10 03:22:13 -08:00
Myk Taylor b63e99e165
handle case where jobs are manually removed from the tasks screen 2023-11-27 10:09:23 -08:00
Myk Taylor 65357d292d
prevent the overlay from being moved out of position
when the screen size changes
2023-11-24 17:22:29 -08:00
Myk Taylor 8faefc50d8
only eat input when a search widget is visible 2023-11-22 18:28:19 -08:00
Myk Taylor 7fedff6111
search and sort for elevate to barony page 2023-11-22 18:04:07 -08:00
Myk Taylor ecd7849112
search associated building in tasks tab 2023-11-20 17:32:50 -08:00
Myk Taylor 981fef3160
only clean up actual data records 2023-11-20 16:13:47 -08:00
Myk Taylor 5617204480
handle exiting and reentering creature tabs
memory gets reallocated, and we need to keep up
2023-11-20 12:53:58 -08:00
Myk Taylor dce753c593
don't allow keyboard keys to bleed through
when multiple keys are hit at once
2023-11-20 09:43:43 -08:00
Myk Taylor 72bec1dfdb
choose mechanism improvements
sort by heat safety so mechanisms of the least appropriate heat safety
are used first, saving the magma-safe mechanisms for when they are
needed

filter out unreachable mechanisms

item_id -1 => item_id or -1
that is, we wanted to default to -1, not subtract 1 from the item_id
2023-11-19 23:38:58 -08:00
Kelly Kinkade 44790936d9 tailor: reshuffled logic
this simplifies the ordering logic by checking available stock _after_ deciding if a item is needed, rather than _before_

the old logic was failing to check for available replacement stock in some cases, resulting in overordering
2023-11-17 16:34:51 -06:00
Kelly Kinkade 35cd415095 add cast to make gcc happy 2023-11-16 07:52:48 -06:00
Kelly Kinkade 6f64ee833e tailor: do not process non-clothing
also added a safety check
2023-11-16 07:48:42 -06:00
Black-Talon 743604b474
adjusted building plan filter reset hotkey to ctrl-d 'delete' due to ctrl-x conflicting with field entry clearing 2023-11-15 18:01:05 -07:00
Myk Taylor 14e05f4970
revert restriction on ramp tops
now that tree branches are not included, this is not an issue
also, it was preventing flood fill from progressing up ramps
2023-11-14 12:56:19 -08:00
Myk Taylor bf19b63020
remove uneeded copypasta
ref: #4019
2023-11-14 10:58:57 -08:00
Myk Taylor 3116287f08
don't expand through tree branches unless they're pathable 2023-11-14 10:42:05 -08:00
Myk Taylor 8dccfae9bc
don't extend too far beyond ramps
and don't expand across mushroom tops -- they're not pathable
2023-11-14 10:33:35 -08:00
Myk Taylor 2a52011492
label the mechanisms appropriately when linking a plate
only call it a lever when it's a lever
2023-11-14 09:28:57 -08:00
Myk f081bda853
Merge pull request #4019 from ToxicBananaParty/placesort
Add search to remaining Places pages
2023-11-13 22:16:29 -08:00
Ryan Dwyer 8869480a57 Fix stockpile double-format, add assigned unit to workshop search 2023-11-13 19:42:48 -08:00
Ryan Dwyer fdf99fd65b Add search to remaining Places pages 2023-11-13 19:22:12 -08:00
Black-Talon 2f15d258a7
changed buildingplan filterselection hotkey for reseting the filter to ctrl-x (from shift-x which conflicted with increasing the minimum quality) 2023-11-13 16:23:20 -07:00
Myk Taylor 233deafd4e
ignore trees in burrow flood tile comparisons 2023-11-12 12:37:13 -08:00
Myk ce3de1785f
Merge pull request #4014 from myk002/myk_burrow_flood
[burrow] allow 3d flood fill in hidden tiles
2023-11-12 02:25:33 -08:00
Myk Taylor 52e0da5c33
don't leak widgets into unrelated screens 2023-11-12 00:47:48 -08:00
Ryan Dwyer de727d04d0 Better code reuse with info.lua 2023-11-10 13:56:14 -08:00
Ryan Dwyer 62ead4bbf1 Port auto-resize code from info.lua 2023-11-10 13:24:03 -08:00
Myk Taylor 186c5a1bb8
allow 3d flood fill in hidden tiles 2023-11-09 15:51:44 -08:00
Ryan Dwyer 8533f06efb Minor syntax fixes 2023-11-09 12:11:48 -08:00
Ryan Dwyer e6a6185627 Fix string concatenation syntax 2023-11-09 01:37:13 -08:00
Ryan Dwyer 5b8de86142 Implement suggested changes 2023-11-09 01:35:27 -08:00
Ryan Dwyer 78b7926d50 Make get_religion_string ifs more readable, add dwarfified profession string to get_profession_string 2023-11-09 01:34:47 -08:00
Ryan Dwyer 7516e6f268 Replace string comparison with df.is_instance 2023-11-08 17:44:40 -08:00
Ryan Dwyer 674bf94344 More code reuse with sort/locationselector 2023-11-08 17:36:31 -08:00
pre-commit-ci[bot] a21695ccc2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-11-08 20:43:26 +00:00
Ryan Dwyer 217258b013 Better code reuse with locationselector.get_religion_string 2023-11-08 12:41:28 -08:00
Ryan Dwyer f3e96d206c Add search overlay to Locations page 2023-11-08 03:25:47 -08:00