Parametrize script extension, default to 'tscript'

This commit is contained in:
Lukas Aldershaab 2020-12-12 16:54:16 +01:00
parent b8b62292bd
commit 099dd4f1f3
542 changed files with 774 additions and 783 deletions

View file

@ -37,13 +37,13 @@ ConsoleDocClass( RenderPassStateToken,
"The RenderPassStateBin manager changes the rendering state associated with "
"a token it is declared with. In stock Torque 3D, a single example exists in the "
"way of AL_FormatToken (found in renderManager.cs). In that script file, all the "
"way of AL_FormatToken (found in renderManager." TORQUE_SCRIPT_EXTENSION "). In that script file, all the "
"render managers are intialized, and a single RenderFormatToken is used. This "
"implementation basically exists to ensure Advanced Lighting works with MSAA.\n\n"
"@see RenderFormatToken\n"
"@see RenderPassStateBin\n"
"@see game/core/scripts/client/renderManager.cs\n"
"@see game/core/scripts/client/renderManager." TORQUE_SCRIPT_EXTENSION "\n"
"@ingroup RenderBin\n"
);
@ -160,4 +160,4 @@ DefineEngineMethod(RenderPassStateToken, toggle, void, (),,
"@brief Toggles the token from enabled to disabled or vice versa." )
{
object->enable(!object->isEnabled());
}
}