initial port of the new interpreter

This commit is contained in:
Jeff Hutchinson 2021-03-30 19:33:19 -04:00
parent 5d2654b1ba
commit 35500a87c6
47 changed files with 3675 additions and 5839 deletions

View file

@ -79,18 +79,18 @@ void ConsoleLogger::initPersistFields()
//-----------------------------------------------------------------------------
bool ConsoleLogger::processArguments( S32 argc, ConsoleValueRef *argv )
bool ConsoleLogger::processArguments( S32 argc, ConsoleValue *argv )
{
if( argc == 0 )
return false;
bool append = false;
if( argc == 2 )
append = dAtob( argv[1] );
if (argc == 2)
append = argv[1].getBool();
mAppend = append;
mFilename = StringTable->insert( argv[0] );
mFilename = StringTable->insert( argv[0].getString() );
if( init() )
{