mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add project args & add vc.get_project_args
This commit is contained in:
parent
4565c6a3bd
commit
aa5bd51206
5 changed files with 48 additions and 3 deletions
|
|
@ -1,5 +1,7 @@
|
|||
local _vc_headless = __VC_HEADLESS
|
||||
local _vc_project_args = __VC_PROJECT_ARGS
|
||||
__VC_HEADLESS = nil
|
||||
__VC_PROJECT_ARGS = nil
|
||||
|
||||
vc = {
|
||||
is_headless = function()
|
||||
|
|
@ -300,6 +302,8 @@ require "core:internal/extensions/file"
|
|||
require "core:internal/extensions/table"
|
||||
require "core:internal/extensions/string"
|
||||
|
||||
vc.get_project_args = table.copy(_vc_project_args)
|
||||
|
||||
local bytearray = require "core:internal/bytearray"
|
||||
Bytearray = bytearray.FFIBytearray
|
||||
Bytearray_as_string = bytearray.FFIBytearray_as_string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue