mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Changed findModule default version value to 1 to match default module version number
Added running of onCreateGameServer and onDestoyGameServer callOnModules for core modules as well to enable default datablock stuffs Added default datablocks, materials and shaders for some base required objects such as spawn markers, ribbon particles and the like. Includes ExampleModule to act as a template/documentation case for how modules should be set up Includes GameUI module so there's a PlayGUI gui object by default.
This commit is contained in:
parent
ca38fff31a
commit
07b8619bf3
5 changed files with 221 additions and 160 deletions
|
|
@ -1,4 +1,4 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------------
|
||||
// Copyright (c) 2013 GarageGames, LLC
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
|
@ -115,7 +115,7 @@ DefineEngineMethod(ModuleManager, unloadExplicit, bool, (const char* pModuleId),
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
DefineEngineMethod(ModuleManager, findModule, String, (const char* pModuleId, U32 pVersionId), ("", 0),
|
||||
DefineEngineMethod(ModuleManager, findModule, String, (const char* pModuleId, U32 pVersionId), ("", 1),
|
||||
"Find the specific module Id optionally at the specified version Id.\n"
|
||||
"@param moduleId The module Id to find.\n"
|
||||
"@param versionId The version Id to find.\n"
|
||||
|
|
@ -386,4 +386,4 @@ DefineEngineMethod(ModuleManager, ignoreLoadedGroups, void, (bool doIgnore), (fa
|
|||
{
|
||||
// Check whether the merge modules can current happen or not.
|
||||
return object->setIgnoreLoadedGroups(doIgnore);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue