Commit Graph

5537 Commits (d6593c4bfcf298d0890f25951d09a100c3b6a22f)

Author SHA1 Message Date
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
Ryan Dwyer 924c780210 Replace slashes with spaces for multi-named zones 2023-11-08 00:30:58 -08:00
Ryan Dwyer e58553fd0c Replace get_location_type_from_language_name with static language_name_type mapping 2023-11-07 21:29:27 -08:00
Ryan Dwyer 14d441344f Rename 'get_typestring_from_language_name' to 'get_location_type_from_language_name' 2023-11-07 12:55:55 -08:00
Ryan Dwyer fc2819ec1a Add get_typestring_from_language_name 2023-11-07 12:52:04 -08:00
Ryan Dwyer 4798dc6560 Fix nested if order of operations 2023-11-07 02:30:06 -08:00
pre-commit-ci[bot] 8b625e30db [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-11-07 10:26:04 +00:00
Ryan Dwyer 2162341e7f Implement myk002's proposed changes 2023-11-07 02:24:30 -08:00
Ryan Dwyer 5df373c3c5
Merge branch 'develop' into placesort 2023-11-07 00:00:33 -08:00
pre-commit-ci[bot] b71e283b3e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-11-07 07:54:35 +00:00
Ryan Dwyer 9953f81248 Add search to Zones page 2023-11-06 23:28:08 -08:00
Robob27 248a5922ba Remove old trackstop 2023-11-06 23:27:35 -05:00
Myk Taylor 4fb7694e6e
reset subset filters when the context is exited 2023-11-06 17:58:36 -08:00
Myk b0b60265b4
Merge pull request #3825 from lethosor/css-allow-no-perturb
check-structures-sanity: Allow running without MALLOC_PERTURB_
2023-11-06 17:32:34 -08:00