mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-27 16:19:34 +00:00
Eliminate DefineConsoleFunction
This commit is contained in:
parent
037d089c4d
commit
5bde18143f
55 changed files with 314 additions and 332 deletions
|
|
@ -705,7 +705,7 @@ LightShadowMap* AdvancedLightManager::findShadowMapForObject( SimObject *object
|
|||
return sceneLight->getLight()->getExtended<ShadowMapParams>()->getShadowMap();
|
||||
}
|
||||
|
||||
DefineConsoleFunction( setShadowVizLight, const char*, (const char* name), (""), "")
|
||||
DefineEngineFunction( setShadowVizLight, const char*, (const char* name), (""), "")
|
||||
{
|
||||
static const String DebugTargetName( "AL_ShadowVizTexture" );
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ SceneManager* ShadowManager::getSceneManager()
|
|||
//------------------------------------------------------------------------------
|
||||
|
||||
// Runtime switching of shadow systems. Requires correct world to be pushed at console.
|
||||
DefineConsoleFunction( setShadowManager, bool, (const char* sShadowSystemName), (""), "string sShadowSystemName")
|
||||
DefineEngineFunction( setShadowManager, bool, (const char* sShadowSystemName), (""), "string sShadowSystemName")
|
||||
{
|
||||
/*
|
||||
// Make sure this new one exists
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue