Merge branch 'method_Unmangle' into PBR_PR

This commit is contained in:
Azaezel 2018-12-12 14:54:22 -06:00
commit 1eed979a9c
632 changed files with 3935 additions and 3450 deletions

View file

@ -1385,7 +1385,7 @@ DefineEngineFunction( getBestHDRFormat, GFXFormat, (),,
return format;
}
DefineConsoleFunction(ResetGFX, void, (), , "forces the gbuffer to be reinitialized in cases of improper/lack of buffer clears.")
DefineEngineFunction(ResetGFX, void, (), , "forces the gbuffer to be reinitialized in cases of improper/lack of buffer clears.")
{
GFX->beginReset();
}

View file

@ -523,7 +523,7 @@ DefineEngineStaticMethod( GFXInit, getAdapterModeCount, S32, ( S32 index ),,
return adapters[index]->mAvailableModes.size();
}
DefineConsoleStaticMethod( GFXInit, getAdapterMode, String, ( S32 index, S32 modeIndex ),,
DefineEngineStaticMethod( GFXInit, getAdapterMode, String, ( S32 index, S32 modeIndex ),,
"Gets the details of the specified adapter mode.\n\n"
"@param index Index of the adapter to query.\n"
"@param modeIndex Index of the mode to get data from.\n"

View file

@ -998,7 +998,7 @@ public:
static GFXGLRegisterDevice pGLRegisterDevice;
ConsoleFunction(cycleResources, void, 1, 1, "")
DefineEngineFunction(cycleResources, void, (),, "")
{
static_cast<GFXGLDevice*>(GFX)->zombify();
static_cast<GFXGLDevice*>(GFX)->resurrect();

View file

@ -86,7 +86,7 @@ protected:
GFXProfiler<GLTimer> gfxProfiler;
DefineConsoleFunction(printGFXGLTimers, void,(), ,"")
DefineEngineFunction(printGFXGLTimers, void,(), ,"")
{
gfxProfiler.printTimes();
}

View file

@ -191,7 +191,7 @@ void TheoraTextureObject::play()
//-----------------------------------------------------------------------------
DefineConsoleMethod( TheoraTextureObject, play, void, (),,
DefineEngineMethod( TheoraTextureObject, play, void, (),,
"Start playback of the video." )
{
object->play();
@ -199,7 +199,7 @@ DefineConsoleMethod( TheoraTextureObject, play, void, (),,
//-----------------------------------------------------------------------------
DefineConsoleMethod( TheoraTextureObject, stop, void, (),,
DefineEngineMethod( TheoraTextureObject, stop, void, (),,
"Stop playback of the video." )
{
object->stop();
@ -207,7 +207,7 @@ DefineConsoleMethod( TheoraTextureObject, stop, void, (),,
//-----------------------------------------------------------------------------
DefineConsoleMethod( TheoraTextureObject, pause, void, (),,
DefineEngineMethod( TheoraTextureObject, pause, void, (),,
"Pause playback of the video." )
{
object->pause();