Release test

This commit is contained in:
FlightControl_Master
2017-11-10 10:58:05 +01:00
parent 46e76a3833
commit 131db74630
25 changed files with 493 additions and 173 deletions

View File

@@ -1,21 +1,21 @@
local base = _G
__Moose = {}
MOOSE = {}
__Moose.Include = function( LuaPath, IncludeFile )
if not __Moose.Includes[ IncludeFile ] then
__Moose.Includes[IncludeFile] = IncludeFile
MOOSE.Include = function( LuaPath, IncludeFile )
if not MOOSE.Includes[ IncludeFile ] then
MOOSE.Includes[IncludeFile] = IncludeFile
local f = assert( base.loadfile( LuaPath .. IncludeFile ) )
if f == nil then
error ("Moose: Could not load Moose file " .. IncludeFile )
error ("MOOSE: Could not load Moose file " .. IncludeFile )
else
env.info( "Moose: " .. IncludeFile .. " dynamically loaded from " .. LuaPath )
env.info( "MOOSE: " .. IncludeFile .. " dynamically loaded from " .. LuaPath )
return f()
end
end
end
__Moose.ProgramPath = "Scripts/Moose/"
MOOSE.ProgramPath = "Scripts/Moose/"
__Moose.Includes = {}
MOOSE.Includes = {}