mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
- Removed the old classes and moved into an "Old" folder in the Moose/Development folder. -- Cleaned Moose.lua + Documented class types -- Cleaned Create_Moose.bat + Documented class types - Extend the ZONE_BASE class with a probability randomization factor, that can be used for zone randomization purposes. - Documented the Zone module classes. - Changed and removed the POINT_VEC3 SmokeColor and FlareColor structure. Replaced with SMOKECOLOR and FLARECOLOR types. -- Replaced also code in test missions with SMOKECOLOR and FLARECOLOR references. - Renamed UnControlled() method to InitUnControlled method.
32 lines
840 B
Lua
32 lines
840 B
Lua
env.info( '*** MOOSE DYNAMIC INCLUDE START *** ' )
|
|
env.info( 'Moose Generation Timestamp: 20160815_1124' )
|
|
|
|
local base = _G
|
|
|
|
Include = {}
|
|
|
|
Include.File = function( IncludeFile )
|
|
if not Include.Files[ IncludeFile ] then
|
|
Include.Files[IncludeFile] = IncludeFile
|
|
env.info( "Include:" .. IncludeFile .. " from " .. Include.ProgramPath )
|
|
local f = assert( base.loadfile( Include.ProgramPath .. IncludeFile .. ".lua" ) )
|
|
if f == nil then
|
|
error ("Could not load MOOSE file " .. IncludeFile .. ".lua" )
|
|
else
|
|
env.info( "Include:" .. IncludeFile .. " loaded from " .. Include.ProgramPath )
|
|
return f()
|
|
end
|
|
end
|
|
end
|
|
|
|
Include.ProgramPath = "Scripts/Moose/"
|
|
|
|
env.info( "Include.ProgramPath = " .. Include.ProgramPath)
|
|
|
|
Include.Files = {}
|
|
|
|
Include.File( "Moose" )
|
|
|
|
BASE:TraceOnOff( true )
|
|
env.info( '*** MOOSE INCLUDE END *** ' )
|