Eliminate DefineConsoleFunction

This commit is contained in:
Lukas Joergensen 2018-04-17 16:33:56 +02:00
parent 037d089c4d
commit 5bde18143f
55 changed files with 314 additions and 332 deletions

View file

@ -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" );

View file

@ -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