diff options
author | chai <chaifix@163.com> | 2021-10-21 16:11:45 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-21 16:11:45 +0800 |
commit | 998a13b08c43b0813d1d4d38692ea7f8bd31c936 (patch) | |
tree | 20ce144f9897c47d5840e34929ca32be8f2cc2c6 /Resources/boot.lua | |
parent | f2dcd16fc72e2f10c9504897bacf5c4c2ecff516 (diff) |
*misc
Diffstat (limited to 'Resources/boot.lua')
-rw-r--r-- | Resources/boot.lua | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Resources/boot.lua b/Resources/boot.lua index 2c8ef45..9fdf4a9 100644 --- a/Resources/boot.lua +++ b/Resources/boot.lua @@ -8,13 +8,22 @@ local engineCLibs = "./DefaultContent/Libraries/?.dll" local editorCLibs = "./Libraries/?.dll"
package.cpath=package.cpath .. ";" .. engineCLibs .. ";" .. editorCLibs
+-- debugging
+require("LuaPanda").start("127.0.0.1",8818)
+
-- redirect
print = GameLab.Debug.Log
--- setup gamelab modules
+-- "macros"
+GAMELAB_PROFILE = true
+GAMELAB_DEBUG = true
+
+-- load gamelab modules
require "GameLab"
require "GameLab.Engine"
require "GameLab.Engine.Math"
require "GameLab.Editor"
+require "GameLab.Editor.GUI"
-require("LuaPanda").start("127.0.0.1",8818)
\ No newline at end of file +-- launch editor
+dofile("./Scripts/EditorApplication.lua")
\ No newline at end of file |