Commit Graph

16 Commits (34bbf4cce9b7e247cc2001ca8b69874959697c91)

Author SHA1 Message Date
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