mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
Eliminate unnecessary uses of ConsoleFunction
This commit is contained in:
parent
cdfd4f9735
commit
00758d380f
12 changed files with 103 additions and 158 deletions
|
|
@ -222,18 +222,17 @@ ResourceBase ResourceManager::nextResource()
|
|||
ConsoleFunctionGroupBegin(ResourceManagerFunctions, "Resource management functions.");
|
||||
|
||||
|
||||
ConsoleFunction(resourceDump, void, 1, 1, "()"
|
||||
"@brief List the currently managed resources\n\n"
|
||||
"Currently used by editors only, internal\n"
|
||||
"@ingroup Editors\n"
|
||||
"@internal")
|
||||
DefineEngineFunction(resourceDump, void, (),,
|
||||
"@brief List the currently managed resources\n\n"
|
||||
"Currently used by editors only, internal\n"
|
||||
"@ingroup Editors\n"
|
||||
"@internal")
|
||||
{
|
||||
#ifdef TORQUE_DEBUG
|
||||
ResourceManager::get().dumpToConsole();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
DefineEngineFunction( reloadResource, void, ( const char* path ),,
|
||||
"Force the resource at specified input path to be reloaded\n"
|
||||
"@param path Path to the resource to be reloaded\n\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue