Commit Graph

4390 Commits (e325f3b6d97ccae4121482adca81feac21098106)

Author SHA1 Message Date
Myk Taylor e325f3b6d9
differentiate the new region loading screen in the focus string 2023-09-10 16:32:52 -07:00
Myk Taylor a0919ec316
add ASCII-mode highlight for smoothing and carving designations 2023-09-10 05:29:55 -07:00
Myk Taylor 5a557f232f
disable texture loading if enabler isn't present 2023-09-10 01:42:59 -07:00
DFHack-Urist via GitHub Actions d118a37be6 Auto-update submodules
library/xml: master
scripts: master
2023-09-10 07:12:04 +00:00
Andriel Chaoti bae570d756
Merge branch 'develop' into andriel_argparse 2023-09-09 14:44:44 -06:00
Andriel Chaoti 85cd0cd01c
improvements to argparse
remove need to reparse table constantly, included original arg for error
message.
2023-09-09 12:56:10 -06:00
DFHack-Urist via GitHub Actions 6ec5e0e1a9 Auto-update submodules
library/xml: master
2023-09-09 07:11:39 +00:00
Andriel Chaoti 5611cdd999
add `boolean` function for argparse
implements a test for boolean values into the argparse utility that
checks for truthy style values and converts them to a lua boolean.
2023-09-06 16:42:05 -06:00
lethosor 337260ab0c
Fix unchecked lua_tostring calls 2023-09-06 18:19:31 -04:00
lethosor 47666e12cd
terminal -> console for consistency
followup to #3723
2023-09-06 18:09:07 -04:00
Myk Taylor 31fbd0dab5
bump to 50.09-r3 2023-09-06 13:43:11 -07:00
DFHack-Urist via GitHub Actions 7d128adada Auto-update submodules
library/xml: master
scripts: master
2023-09-05 08:10:07 +00:00
Myk Taylor cbe4f53823
add focus string details for orders context 2023-09-03 12:50:12 -07:00
Myk Taylor 1d6ae37a66
fix and reinstate heat safety filter 2023-09-03 11:54:32 -07:00
Myk Taylor b8fc6e210f
add note about handling bags 2023-09-03 07:12:30 -07:00
Myk Taylor b489fceaea
clarify error message about the terminal 2023-09-02 03:22:10 -07:00
Myk Taylor 874fb5535b
fix spacing around messagebox text when a scrollbar is involved 2023-09-02 02:41:26 -07:00
Myk 940d25accb
Merge pull request #3711 from myk002/myk_instrument_textures
[Textures] instrument textures module
2023-08-31 18:14:18 -07:00
lethosor 40bfb6b8ff
Hack to force GCC to invoke cancel_job() through DF's vtable
GCC appears to be optimizing the call to `cancel_job()` to use the stub in
*DFHack's* job_handler vtable, which is a no-op. Lua was unaffected because it
invokes vmethods through method pointers (without knowing the target instance at
compile time), so use a similar approach here for now.

As mentioned by @ab9rf on Discord, we should pursue an alternative like asking
Bay12 to expose the relevant code through a global `std::function` instead of a
vmethod.
2023-08-31 17:42:16 -04:00
Myk Taylor 088fa9a35c
instrument textures module and clean up gui 2023-08-31 10:53:43 -07:00
Myk 5d7649837c
Merge pull request #3704 from shevernitskiy/create-delete-textures
create and delete textures
2023-08-30 03:42:27 -07:00
shevernitskiy 8a015f7f87 review 2023-08-30 07:38:21 +03:00
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
shevernitskiy 4b0219e225 fix stupid linux build again 2023-08-28 10:56:08 +03:00
shevernitskiy 51baa0d674 fix linux build 2023-08-28 10:46:59 +03:00
shevernitskiy 6f11812729 create and delete textures 2023-08-28 10:00:39 +03: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