mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Integrate new CInterface into the engine-console
This commit is contained in:
parent
ae1f5a3c89
commit
870ee9fb5b
6 changed files with 67 additions and 8 deletions
|
|
@ -61,6 +61,7 @@
|
|||
|
||||
// For the TickMs define... fix this for T2D...
|
||||
#include "T3D/gameBase/processList.h"
|
||||
#include "cinterface/cinterface.h"
|
||||
|
||||
#ifdef TORQUE_ENABLE_VFS
|
||||
#include "platform/platformVFS.h"
|
||||
|
|
@ -443,6 +444,11 @@ bool StandardMainLoop::handleCommandLine( S32 argc, const char **argv )
|
|||
// directly because the resource system restricts
|
||||
// access to the "root" directory.
|
||||
|
||||
bool foundExternalMain = false;
|
||||
CInterface::CallMain(&foundExternalMain);
|
||||
if (foundExternalMain)
|
||||
return true;
|
||||
|
||||
#ifdef TORQUE_ENABLE_VFS
|
||||
Zip::ZipArchive *vfs = openEmbeddedVFSArchive();
|
||||
bool useVFS = vfs != NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue