mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-16 21:23:46 +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
7e01924c84
commit
b4b0cce1c0
6 changed files with 233 additions and 178 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