hartie95
5419d4ff05
[Fix] Fixed some problems with JNLuas Table wrapper and its conversion back to lua
2024-04-02 07:33:09 +02:00
hartie95
5fd1bc83e3
[GI-Groups] Parse SceneGroup.points
2024-04-01 00:43:35 +02:00
hartie95
c340c416c2
[Fix] Some parameter handling fixes for LuaJ, jnlua still has some problems there
2024-02-25 21:08:03 +01:00
hartie95
f8fa45d060
[Fix] State 0 is also a valid state for a gadget
2024-02-25 21:01:27 +01:00
hartie95
62c72e24e0
[Build] Update native targets to target specific native targets instead of basing it of the host
...
* For now this includes windows x64, linux x64 and linux arm64
2024-02-19 18:59:17 +01:00
hartie95
1950a70e71
[Refactoring/GI] Moved some gadget entity related funtions to their own scriptlib handlers.
...
* Also added some missing methods and documented the touched methods
2024-02-17 17:46:10 +01:00
hartie95
0f9db85b24
[Fix] Fixed visiblity of param2 and param3 in ScriptArgs
...
Also make use of Accessors chain to need to autogenerate some of the setters.
2024-02-17 17:42:59 +01:00
hartie95
34e9f21cab
[Fix] Fixed parameter switchup in KillEntityByConfigId (thx @scooterboo )
2024-02-11 21:23:11 +01:00
hartie95
a91021a048
[GI] Added models for SharedQuestDataHandling
2024-02-06 20:55:38 +01:00
hartie95
1fe2854411
[Refactoring] Directly use Enum Type for some gi_lua properties and add visionTypeList field to SceneRegion
2024-02-06 20:32:09 +01:00
hartie95
0a9cdd9bc9
[Fix] Multiple fixes and some hacked together simple lua engine tests
...
* Fixed reader usage in JNLuaSCript
* Fixed gargabes lua name used in SceneGroup.java
* Added a simple for now hacked together parsing test to allow noticing regressions in the parser easier
* Added simple enum parsing
* First experiments with kotlins expected and actuall keywords to have less dependencies to the jvm
2024-02-05 23:37:47 +01:00
hartie95
d8ade4a074
disable javadoc for now to fix building
2024-02-02 14:05:05 +01:00
hartie95
21b161f62b
[Refactoring/Fix] Some fixes and refactorings
...
* Fixed set parsing
* Added a way to work around lua require differences between the lua standard and the game scripts usage
* Added some more ScriptLibDefinitions
* Started moving to kotlinx.io where possible
2024-02-02 13:54:29 +01:00
hartie95
6c013a7557
[Refactoring] Moved library version management to libs.versions.toml file
2024-01-30 13:40:39 +01:00
hartie95
d41ac53643
[Refactoring] Added support to identify lua field names during deserialisation via @LuaNames annotation
...
* Also applied LuaNames to the model fields that didn't match the java/kotlin nameing conventions
2024-01-21 19:37:19 +01:00
hartie95
a08dddb80d
[Refactoring] Added code to help with group replacement handling
2024-01-21 17:19:57 +01:00
hartie95
85339662a7
[Refactoring] Some more small cleanups in the LuaContext classes and scriptLibHandlers
2024-01-10 21:46:31 +01:00
hartie95
4daa7f98a4
[Refactoring] Refactored ScriptLoader handling to make it more flexible
2024-01-08 21:01:44 +01:00
hartie95
44caa6d85d
[Refactoring] Made BaseLua multiplatform, renamed it to base and moved some annotations to the core repo
...
* Added LuaStatic annotation to allow auto loading of lua enums/models
* Added LuaNames annotation handling to allow alternate names in lua
* Moved some more Scriptlib handlers into its own model
* First draft of activity group handling
* Moved some engine classes to kotlin
2024-01-08 01:22:10 +01:00
hartie95
2d462753f2
[Fix] Fixed a small mistake in the refactoring of Scriptlib.UnlockFloatSignal
2023-12-12 00:46:07 +01:00
hartie95
e99e48caa3
[Refactor] Begin to seperate scriptlib handler functions into smaller more specific handler
...
* Summer Time activity defitnions ( closes #15 )
2023-12-12 00:44:27 +01:00
hartie95
a3f63ecd94
[ScriptLib] Added some handler methods
...
* PrintGroupWarning
* CreateGadgetByConfigIdByPos
* CreateGadgetByParamTable
* CreateVehicle
2023-12-09 23:46:58 +01:00
hartie95
6a219ea971
[ScriptLib] Added and refactored some handler methods and added uid to ScriptArgs
...
Added:
* CauseDungeonSuccess
* updateBundleMarkShowStateByGroupId
* ExecuteActiveGroupLua
* ExecuteGroupLua
* ExecuteGadgetLua
Refactored:
* SendServerMessageByLuaKey
* MovePlayerToPos
* TransPlayerToPos
2023-12-09 23:25:12 +01:00
hartie95
301c524c6e
[Refactoring] Replaced some enum values and lua tables with direct representations of the content for the handler
...
* Also added some enums required for that
2023-12-05 21:39:18 +01:00
hartie95
ff03ca7507
[Refactoring] Converted some classes to kotlin in the BaseLua module
2023-11-13 06:12:33 +01:00
hartie95
7170d0ed5c
[Fix] Fixed some jnlua lua<->java object conversion bugs
2023-11-13 05:37:53 +01:00
hartie95
2c1646396c
[Fix/refactoring] Added helpers to get SceneReplacement and SharedQuest scripts and fixed a the path for Shared quest scripts
2023-11-06 03:33:45 +01:00
hartie95
a7048c7023
[Refactoring] use generics in the ScriptLib interface for Context handling
2023-11-06 02:55:12 +01:00
hartie95
e27eb82c95
[Refactoring] Moved the SceneBLocks group info into its own object and added some missing fields
...
* Also cache the group and block data in the SceneMeta objects
* Added the Position interface for working with Positions in Scriptlib
2023-11-06 02:54:24 +01:00
hartie95
824f1e23f9
[Refactor] Modified the base engine handling a bit by adding ScriptConfig and renaming ScriptFinder to BaseSCriptLoader
2023-11-06 02:51:02 +01:00
hartie95
7884be3b0d
[Cleanup] Removed the unused SCriptBinding jnlua class
2023-11-06 02:46:56 +01:00
hartie95
d20ca4d8ab
[Refactoring] Added kotlin-logging as log handler
2023-11-06 02:46:26 +01:00
hartie95
c53939aa7c
[Refactoring] improved JNLua static class handling
2023-11-06 02:42:22 +01:00
hartie95
3e0b9b0eb6
moved the block/group models to their own packages
2023-10-07 23:06:12 +02:00
hartie95
fc6db58490
Added some missing fields (and their models/enums) to the gi group models
2023-10-07 23:00:27 +02:00
hartie95
4e4a00bf0a
Add some mvn publish info to jnlua engine and luaj engine
2023-10-07 18:57:32 +02:00
hartie95
da6062cdb3
Add MIT licence
2023-10-07 18:49:23 +02:00
hartie95
5714e799cd
Initial commit
2023-10-07 18:48:43 +02:00