mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
-- Updated .launch files to work from workspace. So everybody can use them from LDT. -- Deleted obscolete .launch files. -- Created new Moose_Create.lua script. Now lua makes the Dynamic and Static Moose.lua stub. -- One single file is the reference for the Moose sources: Moose.files located in Moose Setup -- Removed the l10n directory from Moose Setup\Moose Mission Update. -- Removed the 7z and other outputs to update missions.
23 lines
589 B
Lua
23 lines
589 B
Lua
|
|
local base = _G
|
|
|
|
__Moose = {}
|
|
|
|
__Moose.Include = function( IncludeFile )
|
|
if not __Moose.Includes[ IncludeFile ] then
|
|
__Moose.Includes[IncludeFile] = IncludeFile
|
|
env.info( "Include:" .. IncludeFile .. " from " .. __Moose.ProgramPath )
|
|
local f = assert( base.loadfile( __Moose.ProgramPath .. IncludeFile .. ".lua" ) )
|
|
if f == nil then
|
|
error ("Could not load Moose file " .. IncludeFile .. ".lua" )
|
|
else
|
|
env.info( "Moose:" .. IncludeFile .. " loaded from " .. __Moose.ProgramPath )
|
|
return f()
|
|
end
|
|
end
|
|
end
|
|
|
|
__Moose.ProgramPath = "Scripts/Moose/"
|
|
|
|
__Moose.Includes = {}
|