mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 04:20:30 +00:00
Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro.
This commit is contained in:
parent
378a933894
commit
acb192e2a5
133 changed files with 1716 additions and 2087 deletions
|
|
@ -39,6 +39,7 @@
|
|||
#include "materials/materialManager.h"
|
||||
#include "materials/materialFeatureTypes.h"
|
||||
#include "console/consoleTypes.h"
|
||||
#include "console/engineAPI.h"
|
||||
|
||||
|
||||
GFXImplementVertexFormat( ImposterState )
|
||||
|
|
@ -542,12 +543,9 @@ void TSLastDetail::updateImposterImages( bool forceUpdate )
|
|||
GFX->endScene();
|
||||
}
|
||||
|
||||
ConsoleFunction(tsUpdateImposterImages, void, 1, 2, "tsUpdateImposterImages( bool forceupdate )")
|
||||
DefineConsoleFunction( tsUpdateImposterImages, void, (bool forceUpdate), (false), "tsUpdateImposterImages( bool forceupdate )")
|
||||
{
|
||||
if ( argc > 1 )
|
||||
TSLastDetail::updateImposterImages( dAtob( argv[1] ) );
|
||||
else
|
||||
TSLastDetail::updateImposterImages();
|
||||
TSLastDetail::updateImposterImages(forceUpdate);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue