mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Console Refactor
This commit is contained in:
parent
626de074cc
commit
89b0c7f73b
89 changed files with 1883 additions and 1553 deletions
|
|
@ -35,7 +35,6 @@
|
|||
#include "console/simPersistID.h"
|
||||
#include "console/typeValidators.h"
|
||||
#include "console/arrayObject.h"
|
||||
#include "console/codeBlock.h"
|
||||
#include "core/frameAllocator.h"
|
||||
#include "core/stream/fileStream.h"
|
||||
#include "core/fileObject.h"
|
||||
|
|
@ -2479,7 +2478,7 @@ static void sEnumCallback( EngineObject* object )
|
|||
if( !simObject )
|
||||
return;
|
||||
|
||||
Con::evaluatef( "%s( %i );", sEnumCallbackFunction, simObject->getId() );
|
||||
Con::executef(sEnumCallbackFunction, simObject->getId());
|
||||
}
|
||||
|
||||
DefineEngineFunction( debugEnumInstances, void, ( const char* className, const char* functionName ),,
|
||||
|
|
@ -2645,10 +2644,10 @@ DefineEngineMethod( SimObject, dumpMethods, ArrayObject*, (),,
|
|||
str.append( e->getPrototypeString() );
|
||||
|
||||
str.append( '\n' );
|
||||
if( e->mCode && e->mCode->fullPath )
|
||||
str.append( e->mCode->fullPath );
|
||||
if( e->mModule && e->mModule->getPath() )
|
||||
str.append( e->mModule->getPath() );
|
||||
str.append( '\n' );
|
||||
if( e->mCode )
|
||||
if( e->mModule )
|
||||
str.append( String::ToString( e->mFunctionLineNumber ) );
|
||||
|
||||
str.append( '\n' );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue