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
|
|
@ -26,7 +26,6 @@
|
|||
#include "console/engineAPI.h"
|
||||
#include "core/stream/fileStream.h"
|
||||
#include "console/consoleInternal.h"
|
||||
#include "console/compiler.h"
|
||||
|
||||
#define USE_UNDOCUMENTED_GROUP
|
||||
|
||||
|
|
@ -204,9 +203,9 @@ static void dumpVariable( Stream& stream,
|
|||
|
||||
static void dumpVariables( Stream& stream, const char* inClass = NULL )
|
||||
{
|
||||
const U32 hashTableSize = gEvalState.globalVars.hashTable->size;
|
||||
const U32 hashTableSize = Con::gGlobalVars.hashTable->size;
|
||||
for( U32 i = 0; i < hashTableSize; ++ i )
|
||||
for( Dictionary::Entry* entry = gEvalState.globalVars.hashTable->data[ i ]; entry != NULL; entry = entry->nextEntry )
|
||||
for( Dictionary::Entry* entry = Con::gGlobalVars.hashTable->data[ i ]; entry != NULL; entry = entry->nextEntry )
|
||||
dumpVariable( stream, entry, inClass );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue