Commit Graph

82 Commits (a5fe1fae19f299b59d68562636b041b75ae9a05d)

Author SHA1 Message Date
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 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 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 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
lethosor d1f0edd33b
Apply initial pre-commit config 2022-04-12 14:48:19 -04:00
jj 1f7a01d685 follow rename unit.military.squad_index to squad_id in df-structures 2012-10-20 22:35:39 +02:00
Alexander Gavrilov ba763b773d New tweaks for the military assign to position screen. 2012-09-28 18:01:17 +04:00
Alexander Gavrilov b992b04f0b Remove stuff that shouldn't be in the core, and expose to lua what's left.
Specifically, any "if (verbose) { Core::printerr("blah") }" kind
of stuff definitely doesn't belong in the common API functions.
Also, ref->getUnit() is very expensive.

On the other hand, checks for crash-inducing conflicts with the
ui should be in the core api, and not in client plugins.
2012-05-20 21:57:45 +04:00
Alexander Gavrilov 4aa6dbdd00 Support sorting items in the trade screens.
Caveat: sorts items in containers independently from the container.
2012-05-18 19:18:49 +04:00
Alexander Gavrilov 6ab270d129 Retrieve unit noble position info, and use it in getProfessionName. 2012-04-26 12:03:56 +04:00
Alexander Gavrilov 763a301b4f Add a few more lua api functions, documentation, and unit sort orders.
Units::getProfessionName appears to work correctly for
everything except nobles.
2012-04-23 21:30:53 +04:00
Alexander Gavrilov 125cd6622a Support sorting units in many more ui contexts. 2012-04-22 19:22:00 +04:00
Alexander Gavrilov 4af051bab3 Add a few more unit orderings, and a way to reverse direction. 2012-04-21 16:53:17 +04:00
Alexander Gavrilov 3282ac3db2 Add a hotkey command that sorts units in lists using lua comparators. 2012-04-21 15:43:52 +04:00