diff options
author | chai <chaifix@163.com> | 2021-10-18 09:52:22 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-18 09:52:22 +0800 |
commit | b5702ece4c2cf751c252e76fb885a7ec41ccabe8 (patch) | |
tree | 01eeff18b6a5bd2d86a604200c628d01277973d2 /Editor/Scripting | |
parent | 22e576b5aa065f3cb2ca67a951af5e68063419a2 (diff) |
*misc
Diffstat (limited to 'Editor/Scripting')
-rw-r--r-- | Editor/Scripting/Editor/Editor.bind.cpp | 0 | ||||
-rw-r--r-- | Editor/Scripting/Editor/EditorApplication.bind.cpp | 0 | ||||
-rw-r--r-- | Editor/Scripting/EditorScripting.cpp | 24 |
3 files changed, 17 insertions, 7 deletions
diff --git a/Editor/Scripting/Editor/Editor.bind.cpp b/Editor/Scripting/Editor/Editor.bind.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Editor/Scripting/Editor/Editor.bind.cpp diff --git a/Editor/Scripting/Editor/EditorApplication.bind.cpp b/Editor/Scripting/Editor/EditorApplication.bind.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Editor/Scripting/Editor/EditorApplication.bind.cpp diff --git a/Editor/Scripting/EditorScripting.cpp b/Editor/Scripting/EditorScripting.cpp index 65fa8c4..294d6f9 100644 --- a/Editor/Scripting/EditorScripting.cpp +++ b/Editor/Scripting/EditorScripting.cpp @@ -1,17 +1,27 @@ #include "EditorScripting.h" #include "Runtime/Debug/Log.h" -// GameLab.Editor +extern int luaopen_GameLab_Debug(lua_State* L); // GameLab.Debug +extern int luaopen_GameLab_IO(lua_State* L); // GameLab.IO + +extern int luaopen_GameLab_Engine(lua_State* L); // GameLab.Engine +extern int luaopen_GameLab_Engine_Rendering(lua_State* L); // GameLab.Engine.Rendering +extern int luaopen_GameLab_Engine_Event(lua_State* L); // GameLab.Engine.Event +extern int luaopen_GameLab_Engine_Networking(lua_State* L); // GameLab.Engine.Networking +extern int luaopen_GameLab_Engine_Animation(lua_State* L); // GameLab.Engine.Animation + +extern int luaopen_GameLab_Editor(lua_State* L); // GameLab.Editor extern int luaopen_GameLab_Editor_GUI(lua_State* L); // GameLab.Editor.GUI extern int luaopen_GameLab_Editor_GUILayout(lua_State* L); // GameLab.Editor.GUILayout extern int luaopen_GameLab_Editor_IMGUI(lua_State* L); // GameLab.Editor.IMGUI extern int luaopen_GameLab_Editor_Resource(lua_State* L); // GameLab.Editor.Resource - -// GameLab.Engine -extern int luaopen_GameLab_Engine_Rendering(lua_State* L); // GameLab.Engine.Rendering - -// GameLab -extern int luaopen_GameLab_Debug(lua_State* L); +extern int luaopen_GameLab_Editor_Profiling(lua_State* L); // GameLab.Editor.Profiling +extern int luaopen_GameLab_Editor_Animation(lua_State* L); // GameLab.Editor.Animation +extern int luaopen_GameLab_Editor_Build(lua_State* L); // GameLab.Editor.Build +extern int luaopen_GameLab_Editor_Event(lua_State* L); // GameLab.Editor.Event +extern int luaopen_GameLab_Editor_NetWorking(lua_State* L); // GameLab.Editor.NetWorking +extern int luaopen_GameLab_Editor_Rendering(lua_State* L); // GameLab.Editor.Rendering +extern int luaopen_GameLab_Editor_Scripting(lua_State* L); // GameLab.Editor.Scripting #define openlib(cfunc) \ lua_pushcfunction(L, cfunc);\ |