aboutsummaryrefslogtreecommitdiff
path: root/src/lua/embed/scripts/path.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-20 18:34:50 +0800
committerchai <chaifix@163.com>2018-12-20 18:34:50 +0800
commitee8ef0433e36bf354a717bd4af679a0a5af2e6be (patch)
tree2fc748510200f8bc24928d1938300eecc0604deb /src/lua/embed/scripts/path.lua
parent7ae40127f15f8f2cb963a7efeb018f7887ebc1ea (diff)
*修改文件结构
Diffstat (limited to 'src/lua/embed/scripts/path.lua')
-rw-r--r--src/lua/embed/scripts/path.lua16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/lua/embed/scripts/path.lua b/src/lua/embed/scripts/path.lua
deleted file mode 100644
index f7e1ec3..0000000
--- a/src/lua/embed/scripts/path.lua
+++ /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