Commit Graph

5509 Commits (255a1fc74fe6778e782ae16b81b123c4b6c47afd)

Author SHA1 Message Date
Myk Taylor c98da947b8
implement flood fill 2023-10-30 16:27:57 -07:00
Myk Taylor f5f9f76ee1
implement box select from the UI 2023-10-30 16:27:57 -07:00
Myk Taylor cf1e4e69ca
basic commandline processing
and skeleton lua interface
2023-10-30 16:27:57 -07:00
Myk Taylor 3523975194
re-add burrow to the build 2023-10-30 16:27:57 -07:00
Myk Taylor ad998001b6
implement skeleton for UI handling 2023-10-30 16:27:57 -07:00
Myk 73dbd6de65
Merge pull request #3923 from myk002/myk_rename_burrow
[burrows] rename burrows plugin to burrow to match the command name
2023-10-30 16:26:04 -07:00
Myk Taylor 19480f41ca
add api for getting the walkability group of a tile 2023-10-29 16:36:02 -07:00
Myk Taylor 5d98282623
also rename lua file 2023-10-27 04:23:02 -07:00
Myk Taylor 7ff30f7c9e
rename burrows plugin to burrow to match the command name 2023-10-27 04:15:59 -07:00
Myk Taylor 435f859000
reinstate embark screen estimates 2023-10-27 03:06:16 -07:00
Myk Taylor 966762c198
unify unit search key logic
so all pages have the same search capabilities
2023-10-26 19:24:01 -07:00
Myk ea28f599ed
Merge pull request #3917 from myk002/myk_stockpiles_buttons
[stockpiles] hide help and configure buttons when panel is minimized
2023-10-26 19:16:50 -07:00
Myk Taylor 369ac7821c
display how many items are available on the planner panel
just like we display how many you'd need to make if you don't have
enough
2023-10-26 09:19:09 -07:00
Myk Taylor 205d14235d
hide help and configure buttons when panel is minimized 2023-10-26 08:55:46 -07:00
Myk Taylor 29d39938f9
default the location filter to off
to preserve default vanilla behavior
2023-10-16 23:40:07 -07:00
Myk 06944ee0bd
Merge pull request #3893 from myk002/myk_tailor
[tailor] reuse existing orders if possible
2023-10-16 09:43:51 -07:00
Myk Taylor a651f6461b
add standard HelpButton and ConfigureButton classes
and use them across the overlays that need them
2023-10-16 03:27:08 -07:00
Myk Taylor 2c626213d8
add overlay for collapsing all categories on stocks screen 2023-10-16 01:55:55 -07:00
Myk Taylor b554f7472e
add stocks plugin (but comment out contents) 2023-10-16 01:55:38 -07:00
Myk Taylor 29ef626889
reuse existing orders if possible 2023-10-16 00:43:58 -07:00
Myk Taylor 287ed440ce
show how many items you need to make when planning 2023-10-15 23:20:31 -07:00
Myk Taylor 45d585cabd
refresh the overlay state when toggling minimize
since the items may have changed
2023-10-15 20:12:45 -07:00
Myk Taylor f50c137f32
we can no longer build with ash, coal, or soap 2023-10-15 20:00:14 -07:00
Myk Taylor 3ed16306da
mercenaries aren't appointed officials 2023-10-15 15:21:07 -07:00
Myk Taylor 682e9d3a86
filter cages by whether they are occupied 2023-10-15 14:03:31 -07:00
Myk Taylor a04623e4fb
add search and filter for slab engraving list 2023-10-15 13:26:25 -07:00
Myk Taylor 042f330eec
add filter for established location types 2023-10-15 00:14:12 -07:00
Myk Taylor cd935dcdcb
properly initialize job id when linking into world 2023-10-13 23:30:09 -07:00
Myk Taylor 0323055e0d
better panel alignment on small screen sizes
for worker assignment screen
2023-10-13 14:48:44 -07:00
Myk Taylor d739d9c1ef
add search support for noble candidates 2023-10-13 14:33:22 -07:00
Myk Taylor ee78f4fbdf
support searching for spheres on the religion selector 2023-10-13 12:37:11 -07:00
Myk Taylor 448dd5fa19
clean up artifact search code 2023-10-12 11:33:22 -07:00
Myk Taylor f14f55a520
add missing storage of visible vec length 2023-10-12 01:21:23 -07:00
Myk Taylor 60818e2194
support search on the world artifacts screen 2023-10-10 16:41:02 -07:00
Myk Taylor e41017a26b
generalize burrow code to other unit assignment screens 2023-10-10 06:03:06 -07:00
Myk Taylor 09e3ed427a
add search functionality for burrows assignment screen 2023-10-10 05:03:59 -07:00
Myk Taylor f282efd4d4
update docs 2023-10-10 04:06:00 -07:00
Myk Taylor 9acf81d3a0
port info widgets to unified superclass 2023-10-10 03:57:03 -07:00
Myk Taylor a085e5ef28
add support for location selector
that is, guildhalls and temples
also start refactoring code for better reuse
2023-10-10 02:33:47 -07:00
Myk 0b9103b10b
Merge pull request #3860 from myk002/myk_zone_dungeon
[zone] dungeon cages/restraints aren't assignable
2023-10-09 18:00:50 -07:00
Myk Taylor 640c77dc48
dungeon cages/retraints aren't assignable 2023-10-09 17:31:50 -07:00
Myk Taylor 3ee059317f
add help button to squad panel 2023-10-09 03:45:53 -07:00
Myk Taylor bd1381bbf3
clean up whitespace 2023-10-09 02:37:32 -07:00
Myk Taylor 98b44ea8f0
allow right click exit when search is focused
but screen isn't a search-enabled screen
2023-10-09 02:32:26 -07:00
Myk Taylor 9f9d8ff74b
implement risky visitor detection, refine algorithm 2023-10-09 02:25:45 -07:00
Myk Taylor a575727c09
add support for searching jobs (tasks) 2023-10-09 01:44:21 -07:00
Myk Taylor 06faeb669b
add support for work details and interrogation 2023-10-09 01:10:32 -07:00
Myk Taylor 060becec7c
implement search for conviction screen 2023-10-08 16:28:02 -07:00
Myk Taylor c1531ae646
prototype justice overlay 2023-10-08 15:49:11 -07:00
Myk Taylor 0ad61ccf26
rename file to reflect the more general usage 2023-10-08 13:44:09 -07:00
Myk Taylor 420e0d0952
add search support for info objects tabs 2023-10-08 11:30:57 -07:00
Myk Taylor a063c0cf41
only recheck orders that have conditions 2023-10-08 09:47:40 -07:00
Myk Taylor ab386a0ed2
add docs for creatures search overlay 2023-10-07 22:50:31 -07:00
Myk 8886cd7e79
Allow searching for job 2023-10-07 20:51:11 -07:00
Myk 5c5fa341a8
Merge pull request #3849 from myk002/myk_info_search
search overlay for CREATURES info panels
2023-10-07 19:15:50 -07:00
Myk ff77c7509c
Merge pull request #3851 from myk002/myk_utils_search
refactor text search routine out into utils fn
2023-10-07 19:15:40 -07:00
Myk Taylor 8184a093d9
support dynamic onupdate frequency adjustments
set to 0 for an immediate burst of high frequency calls
2023-10-07 19:00:26 -07:00
Myk Taylor 5049483330
refactor text search routine out into utils fn 2023-10-07 18:55:39 -07:00
Myk Taylor 673287d0a4
implement search logic 2023-10-07 18:40:47 -07:00
Myk Taylor ae1d6f98f6
add basic framework for info search widget 2023-10-07 13:12:16 -07:00
Myk Taylor 25600e45b0
support melting masterworks in logistics 2023-10-06 18:25:24 -07:00
Myk Taylor b68a317c05
fix encoding of cleanowned output 2023-10-05 14:25:14 -07:00
Myk 0b4c5dc51f
Merge pull request #3829 from master-spike/plugin_preservetombs
Plugin preservetombs - fix for assigned tombs to living units becoming unassigned when the unit dies
2023-10-05 13:06:17 -07:00
Myk 89be6f56ef
Apply suggestions from code review 2023-10-05 12:56:46 -07:00
Kelly Kinkade 082a97a0f6 remove refrence to unused field
`wait_timer` is not really there; what we have labeled as `wait_timer` is actually padding so there is no need to do this
2023-10-04 01:13:55 -05:00
Najeeb Al-Shabibi 2a842c0df6 merge develop into plugin_preservetombs 2023-10-03 19:32:03 +01:00
Myk 726828af2b
Merge branch 'develop' into reenable-spectatte 2023-10-03 10:50:24 -07:00
Myk Taylor 5d295400d2
centralize management of mouse state 2023-10-01 16:28:18 -07:00
Najeeb Al-Shabibi 0956c06341 update arg changed to 'now' for consistency 2023-10-01 17:33:53 +01:00
Najeeb Al-Shabibi f7fd769232 Merge branch 'develop' into plugin_preservetombs 2023-10-01 15:13:52 +01:00
Myk Taylor 6e2adaa3a9
don't conflict with macro recording key 2023-09-30 23:31:56 -07:00
Najeeb Al-Shabibi f77daafdd5 Merge branch 'develop' into plugin_preservetombs 2023-09-30 14:43:53 +01:00
Najeeb Al-Shabibi 7d3764d3ec removed option to set tickrate for preserve-tombs, fixed at 100 tick interval 2023-09-30 14:42:29 +01:00
Najeeb Al-Shabibi e2dcced8ef preserve-tombs command guarded from using update argument when plugin not enabled 2023-09-30 13:21:04 +01:00
Najeeb Al-Shabibi 6be9de5e51 preserve-tombs added option to change tick rate, changed default update frequency, changed some print to debug statements, some other adjustments 2023-09-30 12:30:40 +01:00
Myk 883ecd1840
Merge pull request #3807 from donhth/make-tubefill-live-again
re-enable tubefill.
2023-09-29 10:05:42 -07:00
Myk 424f242823
Merge branch 'develop' into work_orders_manager_enhancement 2023-09-29 09:43:19 -07:00
Myk 7b87219657
Update plugins/lua/orders.lua 2023-09-29 09:40:52 -07:00
Mikhail Panov 51173fb9fe Removed material and job type sortings. 2023-09-29 17:34:48 +03:00
Najeeb Al-Shabibi 7933e29119 newline at eof - preservetombs.cpp 2023-09-29 14:45:46 +01:00
Najeeb Al-Shabibi 028fbc34ad using std::erase_if instead of iterator loop 2023-09-29 14:30:01 +01:00
Najeeb Al-Shabibi 579fe6ee76 fixed sign compare issue linux build 2023-09-29 14:24:42 +01:00
Najeeb Al-Shabibi 0b2989fb15 preservetombs status now shows list of all tracked tomb assignments 2023-09-29 14:08:49 +01:00
Najeeb Al-Shabibi b0a15b2e8a added command to show status of preservetombs (is enabled or disabled) 2023-09-29 13:38:52 +01:00
Najeeb Al-Shabibi e713e63ea3 Merge branch 'develop' into plugin_preservetombs 2023-09-29 13:26:07 +01:00
Najeeb Al-Shabibi 2a145d06b6 fixed crash on tomb unassignment (caused by incorrect params passed to formatted string) 2023-09-29 13:11:13 +01:00
Najeeb Al-Shabibi 986e64aed0 new plugin preserve-tombs ensures that units that die keep their tomb assignments in death 2023-09-29 12:27:09 +01:00
Myk b3c45941fb
Merge pull request #3824 from myk002/myk_translate
protect against bad values in TranslateName
2023-09-28 20:55:27 -07:00
lethosor 780fb5483d
check-structures-sanity: Allow running without MALLOC_PERTURB_, and adjust bool check accordingly 2023-09-28 23:01:49 -04:00
Myk af65f185a1
Remove unneeded capitalize 2023-09-28 17:43:06 -07:00
Myk Taylor 13f83d2f95
protect against bad values in TranslateName 2023-09-28 16:35:29 -07:00
Myk Taylor bff1b5e7b0
make the ascii DFHack logo easier to read 2023-09-28 14:41:30 -07:00
Myk Taylor 09129ddec0
brighten ascii logo on hover
as was originally intended. why is fg "de-bolded" by pens?
2023-09-28 13:56:11 -07:00
Myk da77be29be
Merge pull request #3816 from myk002/myk_remousify
align mouse button semantics to DF
2023-09-26 19:09:23 -07:00
Mikhail Panov 1e4e6ed03f Merge remote-tracking branch 'main_repository/develop' into combat_skill_rating_polishing 2023-09-26 17:42:27 +03:00
Myk Taylor eefd38c66c
align mouse button semantics to DF
we, um, had it backwards
2023-09-26 03:52:24 -07:00
Kelly Kinkade 0559af9f13 autolabor: fix #3812
make sure autolabor resets the work detail bypass flag whenever autolabor is unloaded for _any_ reason

i tested `disable autolabor`, `unload autolabor`, and unloading a fort with autolabor enabled; in all cases the work detail bypass flag was cleared as desired

closes #3812
2023-09-24 19:10:46 -05:00
Najeeb Al-Shabibi 2a5e59134c Merge branch 'develop' into dig_digtype_nohidden 2023-09-24 20:24:39 +01:00
donhth ac02483b52 Merge branch 'develop' into make-tubefill-live-again 2023-09-24 07:35:34 -04:00
Najeeb Al-Shabibi ff03fc1f2d trailing whitespace removed 2023-09-24 12:17:50 +01:00