mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 13:30:34 +00:00
Eliminate DefineConsoleFunction
This commit is contained in:
parent
037d089c4d
commit
5bde18143f
55 changed files with 314 additions and 332 deletions
|
|
@ -50,7 +50,7 @@ static const char *packetTypeNames[] =
|
|||
//-----------------------------------------------------------------
|
||||
//-----------------------------------------------------------------
|
||||
//-----------------------------------------------------------------
|
||||
DefineConsoleFunction( DNetSetLogging, void, (bool enabled), , "(bool enabled)"
|
||||
DefineEngineFunction( DNetSetLogging, void, (bool enabled), , "(bool enabled)"
|
||||
"@brief Enables logging of the connection protocols\n\n"
|
||||
"When enabled a lot of network debugging information is sent to the console.\n"
|
||||
"@param enabled True to enable, false to disable\n"
|
||||
|
|
|
|||
|
|
@ -48,12 +48,12 @@
|
|||
void dumpAllStrings();
|
||||
};
|
||||
|
||||
DefineConsoleFunction( sbmDumpStats, void, (), , "()")
|
||||
DefineEngineFunction( sbmDumpStats, void, (), , "()")
|
||||
{
|
||||
StringBufferManager::getManager().dumpStats();
|
||||
}
|
||||
|
||||
DefineConsoleFunction( sbmDumpStrings, void, (), , "()")
|
||||
DefineEngineFunction( sbmDumpStrings, void, (), , "()")
|
||||
{
|
||||
StringBufferManager::getManager().dumpAllStrings();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -480,7 +480,7 @@ static U32 sgStringInstances;
|
|||
|
||||
|
||||
#endif
|
||||
DefineConsoleFunction( dumpStringMemStats, void, (), , "()"
|
||||
DefineEngineFunction( dumpStringMemStats, void, (), , "()"
|
||||
"@brief Dumps information about String memory usage\n\n"
|
||||
"@ingroup Debugging\n"
|
||||
"@ingroup Strings\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue