Josh Cooper
ebd450af0e
Adds isUnitInBox to Units module
2022-11-12 14:42:41 -08:00
Josh Cooper
34de030ba9
Units module
...
- Updates `Lua API.rst`
- Only adds the most important additions (complicated enough to need explaining)
- Adds new functions to LuaApi.cpp
- Revises isUndead to accommodate `dfhack.units.isUndead(u)` => `Units::isUndead(u, false)` instead of taking the default value
2022-11-09 22:03:39 -08:00
Josh Cooper
80824f5b75
Extends Units module
2022-11-09 14:41:45 -08:00
Josh Cooper
c0ffcc2f79
Updates Units::isDemon()
2022-11-09 12:37:41 -08:00
Josh Cooper
beee445f6f
Extends Units module
...
Adds unit check functions for
- animals
- demons
- titans
- megabeasts
- semimegabeasts
- night creatures
2022-11-09 11:44:28 -08:00
Myk
ccd43f1710
Merge pull request #2381 from myk002/myk_framed_panel
...
[widgets.Panel] support frames around panel widgets
2022-11-09 10:32:23 -08:00
Myk
8a47c103fc
Merge pull request #2379 from myk002/myk_overlay_reset_and_simplify
...
[overlay] reset implementation and simplify with lovely preprocessor macros
2022-11-09 10:32:15 -08:00
Myk
9fed02435e
Merge pull request #2378 from myk002/myk_list_mouse
...
Allow widgets.List to report hover target and respond to shift-click
2022-11-09 10:32:06 -08:00
Myk
4924fd0d52
Merge pull request #2377 from myk002/myk_gui_convenience
...
Make View:getMousePos() and Screen:show() a bit more flexible
2022-11-09 10:31:58 -08:00
Myk
f2a386f0e1
Merge pull request #2375 from myk002/myk_uicommon
...
Move generally useful string functions from uicommon to MiscUtils
2022-11-09 10:31:50 -08:00
myk002
dce312b83b
Revert "use preprocessor foreach to reduce boilerplate"
...
This reverts commit 5e845ec7983555a3577e583038da824902dbf477.
not compatible with our MSVC toolchain. we can revert this revert once
we update MSVC for the steam release
2022-11-09 09:37:51 -08:00
myk002
69673c2472
remove unused (and unusable) instance fields
2022-11-09 09:37:43 -08:00
myk002
2f81c3a696
use preprocessor foreach to reduce boilerplate
2022-11-09 09:37:43 -08:00
myk002
78e5c072e5
reset overlay code to skeleton
2022-11-09 09:37:43 -08:00
Myk
22eb9ca8b3
Merge pull request #2380 from myk002/myk_instrument_keybinding
...
instrument core keybinding resolution
2022-11-08 10:16:13 -08:00
Myk
f075e2393f
Merge pull request #2376 from myk002/myk_lua_push
...
Move Lua::Push and interface key shuttling logic into LuaTools
2022-11-08 10:15:40 -08:00
myk002
d0753b4a9c
update changelog
2022-11-08 10:15:28 -08:00
myk002
4668d8c4a3
Add Lua::Push method for maps
2022-11-08 10:15:28 -08:00
myk002
1d03afcd6f
update changelog
2022-11-08 10:15:28 -08:00
myk002
e4d0bb9e46
move Lua push methods into LuaTools.cpp
2022-11-08 10:15:28 -08:00
myk002
b82a604c8d
factor out keys -> lua onInput code to LuaTools
2022-11-08 10:15:28 -08:00
Myk
193d29ba67
include cctype to fix build error
2022-11-08 09:53:08 -08:00
DFHack-Urist via GitHub Actions
3bfc360c1d
Auto-update submodules
...
scripts: master
2022-11-08 07:18:06 +00:00
myk002
3a713c6368
update devel plugins
2022-11-07 17:52:39 -08:00
Myk
ec69bc20a8
Merge pull request #2372 from cppcooper/patch-1
...
Fixes segfault in EventManager
2022-11-07 17:40:34 -08:00
Myk
83622ce52c
Merge pull request #2373 from DFHack/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-11-07 17:39:25 -08:00
myk002
0d970509f8
update changelog
2022-11-07 16:58:51 -08:00
myk002
63a1c1ae15
update lua docs
2022-11-07 16:57:55 -08:00
myk002
32dc80729a
support drawing frames around panels
2022-11-07 16:50:21 -08:00
myk002
351ecbfb59
instrument core keybinding resolution
2022-11-07 16:41:53 -08:00
myk002
f906aee5b8
update changelog
2022-11-07 16:19:09 -08:00
myk002
93bc4c00eb
update lua api docs
2022-11-07 16:19:03 -08:00
myk002
83f560a6f4
allow shift-click to trigger submit2 for List
2022-11-07 16:14:16 -08:00
myk002
1b7b75d8ab
factor out detection of the list index under mouse
2022-11-07 16:13:45 -08:00
myk002
b2b2a52b55
update changelog
2022-11-07 16:00:43 -08:00
myk002
a0ff7e4d3f
update Lua docs
2022-11-07 15:58:29 -08:00
myk002
28aadea6af
allow an alternate ViewRect for getMousePos
2022-11-07 15:54:56 -08:00
myk002
be18f4e900
return self from Screen:show() as a convenience
2022-11-07 15:54:55 -08:00
myk002
5a720bd496
update changelog
2022-11-07 15:40:00 -08:00
myk002
5b9c18fc3c
migrate string fns from uicommon to MiscUtils
...
and clean up some leaky usings
2022-11-07 15:36:16 -08:00
pre-commit-ci[bot]
f7fe53f626
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/python-jsonschema/check-jsonschema: 0.18.3 → 0.18.4](https://github.com/python-jsonschema/check-jsonschema/compare/0.18.3...0.18.4 )
2022-11-07 21:21:27 +00:00
Josh Cooper
391553624f
Update changelog.txt
2022-11-06 17:34:53 -08:00
Josh Cooper
2197aded30
Fixes segfault
2022-11-06 17:30:28 -08:00
DFHack-Urist via GitHub Actions
ba2e71c7be
Auto-update submodules
...
scripts: master
2022-10-29 07:18:00 +00:00
Myk
9c72a5f4ca
Merge pull request #2270 from cppcooper/spectate
...
Extends spectate plugin
2022-10-26 12:38:52 -07:00
Myk
1e31cc197d
Merge branch 'develop' into spectate
2022-10-26 12:30:58 -07:00
Myk
c7f4f57367
Merge pull request #2360 from myk002/myk_automaterial_render
...
[automaterial] fix render errors with box boundaries
2022-10-26 12:25:48 -07:00
Myk
e60cbfc743
Merge pull request #2361 from myk002/myk_zjump_twbt
...
[mousequery] fix z-level jumps when clicking quickly
2022-10-26 12:25:40 -07:00
Myk
740054b102
Merge pull request #2362 from myk002/myk_mousequery
...
[automaterial] prevent z-level from changing after box select
2022-10-26 12:25:30 -07:00
Josh Cooper
9dc199dac3
Apply suggestions from code review
2022-10-25 15:01:57 -07:00