Commit Graph

4365 Commits (c5d30763b989753f67a8898b0c795fd42d7ce835)

Author SHA1 Message Date
Myk Taylor a8bf8a04ae
add in value for units contained in cages 2023-08-28 15:42:56 -07:00
Myk Taylor 423bba2c24
pass getAnyStockpile and getAnyCivZone through ZScreens 2023-08-28 13:27:46 -07:00
DFHack-Urist via GitHub Actions 3ce2909309 Auto-update submodules
library/xml: master
scripts: master
2023-08-28 06:20:58 +00:00
Myk a740c6628e
Merge pull request #3663 from shevernitskiy/dynamic-texture-loading
feat: dynamic texture loading
2023-08-27 22:45:52 -07:00
shevernitskiy 4fb6b09b30 move textures to separate lua module 2023-08-28 06:58:30 +03:00
shevernitskiy 6c5163af9e adjust adopt region reset step 2023-08-27 22:28:03 +03:00
DFHack-Urist via GitHub Actions 432e415a13 Auto-update submodules
library/xml: master
2023-08-21 07:47:25 +00:00
Myk Taylor 1763a16831
add training check functions to Units 2023-08-20 10:08:25 -07:00
DFHack-Urist via GitHub Actions a1d6098446 Auto-update submodules
library/xml: master
2023-08-19 09:21:39 +00:00
DFHack-Urist via GitHub Actions 89ddc4b798 Auto-update submodules
library/xml: master
2023-08-17 06:06:58 +00:00
shevernitskiy c1945f7b54 fix build err in gcc 2023-08-17 06:32:26 +03:00
DFHack-Urist via GitHub Actions 8401d5c72a Auto-update submodules
library/xml: master
2023-08-16 07:12:45 +00:00
shevernitskiy 25038648c0 remove unused variable 2023-08-15 21:11:06 +03:00
Myk d40843de7e
Merge pull request #3676 from myk002/myk_focus
higher granularity for unit viewsheet focus strings
2023-08-14 17:33:05 -07:00
Myk Taylor 7a4aaf8bc9
normalize characters in search text and match keys for FilteredLists 2023-08-14 16:39:28 -07:00
shevernitskiy 5cafffaaf6 typos 2023-08-14 13:04:38 +03:00
shevernitskiy 0e725be046 support closure as tile arg to get texpos 2023-08-14 12:07:27 +03:00
Myk Taylor fa3c2222e6
higher granularity for unit viewsheet focus strings 2023-08-13 23:54:18 -07:00
shevernitskiy 900a2c65ba invalid texpos is nil for lua 2023-08-14 09:02:37 +03:00
shevernitskiy 91f4c3d561 mirgate preloaded assets to lua 2023-08-14 08:17:57 +03:00
shevernitskiy 1409af67de expose api to lua 2023-08-13 20:09:12 +03:00
Myk Taylor 296a34834c
expose and use casteFlagSet 2023-08-13 00:20:08 -07:00
Myk 71e5901214
Merge pull request #3672 from myk002/myk_gui
[orders] prevent overlay from appearing on the new workorder page
2023-08-12 23:21:13 -07:00
lethosor e69b6ed4ea
Merge remote-tracking branch 'lethosor/struct-fields-lua' into develop 2023-08-13 01:43:19 -04:00
shevernitskiy 22b0671038 review 2 2023-08-13 08:33:31 +03:00
Myk 8f33f4ee44
Merge pull request #3670 from myk002/myk_readtile
[Screen] detect extended tile properties and communicate them back to lua
2023-08-12 22:22:40 -07:00
Myk Taylor b787c2bb1e
make creating a workorder a subscreen instead of a top-level 2023-08-12 22:02:17 -07:00
shevernitskiy 20460fecca tiny refactor texpos methods 2023-08-13 07:40:35 +03:00
lethosor 574fa08747
Add index_enum, ref_target 2023-08-12 22:12:45 -04:00
lethosor 396b2d7832
Adapt tests to dynamically-generated field info
No need to freeze the field info tables anymore
2023-08-12 21:59:14 -04:00
DFHack-Urist via GitHub Actions 1a630eab34 Auto-update submodules
library/xml: master
2023-08-13 00:45:42 +00:00
lethosor fc6d4caa8e
Dynamically generate field info in __index
Constructing the complete tables when the types were initialized made it
impossible to populate the "type" field, because not all types had been added to
the global type tables yet.
2023-08-12 20:18:22 -04:00
lethosor 4a9a83daa5
Expose more fields, refactor 2023-08-12 20:01:03 -04:00
lethosor 29f99733fe
Add tests 2023-08-12 19:04:51 -04:00
lethosor 92549f3c56
Add _fields table to struct types 2023-08-12 19:04:49 -04:00
Myk Taylor c37dce7c33
detect extended tile properties and communicate them back to lua 2023-08-12 15:53:22 -07:00
shevernitskiy 687bd82542 pathable & unsuspend specific tile size 2023-08-12 20:05:15 +03:00
shevernitskiy 46a3454fee type alias for gcc 2023-08-12 17:00:07 +03:00
shevernitskiy b20889e694 minor refactor for lua switch 2023-08-12 16:34:33 +03:00
shevernitskiy fe8bd4fa78 assets use dynamic texture loading 2023-08-12 16:11:42 +03:00
lethosor 0a5e914a65
Add struct_field_info_extra::original_name field for globals 2023-08-12 01:19:18 -04:00
lethosor 351dfa84c2
Remove obsolete STATIC_FIELDS_GROUP check 2023-08-12 01:17:44 -04:00
DFHack-Urist via GitHub Actions 4aaf625f4d Auto-update submodules
library/xml: master
scripts: master
2023-08-12 01:49:06 +00:00
Myk Taylor 8d8c139ccb
don't add keys as text when ctrl or alt are pressed 2023-08-11 12:54:49 -07:00
Myk Taylor fa22f9521a
never suppress sdl key events when modifier keys are active 2023-08-11 12:54:18 -07:00
shevernitskiy e81a90821a review 2023-08-11 21:40:41 +03:00
Myk e8a2ac68fe
Merge pull request #3662 from lethosor/fix-unknown-global-field-ref
Fix crash in df.global:_field() when global address is unknown
2023-08-11 10:38:12 -07:00
DFHack-Urist via GitHub Actions 3a143e0601 Auto-update submodules
library/xml: master
scripts: master
2023-08-11 07:12:32 +00:00
shevernitskiy 3e18e2f6fe eof fix one more time 2023-08-11 09:50:51 +03:00
shevernitskiy 4bbcc7b05d eof fix 2023-08-11 09:48:03 +03:00