Ivan Savenko
2baa0fb8a2
Fixed remaining test failures
2026-04-30 18:00:50 +03:00
Ivan Savenko
d556dd1590
All but 4 summon effect test now pass
...
- Added logging support for Lua
- Added exporting of enums to Lua
- Added few more missing pieces to support summon spell effect
2026-04-30 18:00:38 +03:00
Ivan Savenko
6ad93dd3eb
Reworked Lua API type safety
...
- pushing type that is derived from type registered in Lua will now
correctly push type known to Lua
- Methods of types stored on stack as shared pointers now actually load
this as shared pointer
- It is now possible to return types other than Json from Lua function
2026-04-30 18:00:38 +03:00
Ivan Savenko
1ed8eea7cc
Lua Summon effect partially works
2026-04-30 18:00:38 +03:00
Ivan Savenko
18fe3676ad
Implemented missing methods for Summon spell effect in Lua
2026-04-30 18:00:38 +03:00
Ivan Savenko
7c31d4907c
Add create/update/remove unit API for Lua
2026-04-30 18:00:38 +03:00
Ivan Savenko
d4ed8964fb
More progress with Lua API.
...
Now test script generally works, but has some not implemented callbacks
2026-04-30 18:00:38 +03:00
Ivan Savenko
32630a95b3
Implement resolving string -> entity for Lua
2026-04-30 18:00:38 +03:00
Ivan Savenko
12d9fdceeb
Remove updateUnit method, rename setUnitState to updateUnit
2026-04-30 18:00:38 +03:00
Ivan Savenko
a2dacb5784
BattleCallback can now be used by scripts
2026-04-30 18:00:38 +03:00
Ivan Savenko
6462f89239
Implemented passing non-json types into Lua
2026-04-30 18:00:38 +03:00
Ivan Savenko
de98e6c39c
First attempt at using Lua for actual spell effect
2026-04-30 17:45:10 +03:00