WeaselGames / godot_luaAPI

Godot LuaAPI
https://luaapi.weaselgames.info
Other
371 stars 28 forks source link

WIP: GDExtension support #74

Closed Trey2k closed 1 year ago

Trey2k commented 1 year ago

This is still heavy WIP but I am creating this now for discussion and/or updates on the progress.

A new SConstruct file for GDExtension builds has been added. This will build luaAPI using godot-cpp which is now a git submodule in the external dir.

LuaAPI has been tested and confirmed to work when built with godot-cpp#1017 (This PR fixes a bug that exists currently in godot-cpp. Preventing us from using Variant::call.

mt_Callable is broken when building for GDExtension. This needs to be looked into.

As it stands the LuaCallable class which extends CallableCustom is ifndef'd out for GDExtension builds. As CallableCustom is not exposed to GDExtension. We can probably find a workaround for this.

Trey2k commented 1 year ago

mt_Callable is fixed now (for the most part). We are running into a couple other issues now besides those fixed by godot-cpp#1017. Those are:

Trey2k commented 1 year ago

Merged via tired mistake, It was reverted. new draft is #79