Commit Graph

19 Commits

Author SHA1 Message Date
hartie95
457378f83c [Fix] Fix LuaName being ignored for fields passed to the Lua engine
* Also added a test to verfiy it working and updated some other tests
* Improved LuaValue support for values returned from lua function calls
2024-04-05 01:50:56 +02:00
hartie95
4eb2f17797 [Fix] Fix string key conversion for jnlua tables 2024-04-02 08:28:33 +02:00
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
c340c416c2 [Fix] Some parameter handling fixes for LuaJ, jnlua still has some problems there 2024-02-25 21:08:03 +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
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
7170d0ed5c [Fix] Fixed some jnlua lua<->java object conversion bugs 2023-11-13 05:37:53 +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
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
5714e799cd Initial commit 2023-10-07 18:48:43 +02:00