aboutsummaryrefslogtreecommitdiff
path: root/src/libjin-lua/embed/scripts/path.lua.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-20 19:52:11 +0800
committerchai <chaifix@163.com>2018-12-20 19:52:11 +0800
commit2ff05671bd7c44d22ffec649b166e48270e412fc (patch)
treeec089c445c76fe357fd4cfdf78012b5eaa18bab4 /src/libjin-lua/embed/scripts/path.lua.h
parentee8ef0433e36bf354a717bd4af679a0a5af2e6be (diff)
*修改embed script载入方式
Diffstat (limited to 'src/libjin-lua/embed/scripts/path.lua.h')
-rw-r--r--src/libjin-lua/embed/scripts/path.lua.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/libjin-lua/embed/scripts/path.lua.h b/src/libjin-lua/embed/scripts/path.lua.h
deleted file mode 100644
index f7e1ec3..0000000
--- a/src/libjin-lua/embed/scripts/path.lua.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* path.lua */
-static const char* path_lua = R"(
-jin.path = jin.path or {}
-
-local jp = jin.path
-
--- game root directory
-jin._root = nil
-
--- return full path of a given path
-function jin.path.full(path)
- local root = jin._dir .. '/' .. jin._argv[2]
- return root .. '/' .. path
-end
-
-)"; \ No newline at end of file