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
|
|
@ -23,6 +23,7 @@
|
|||
#include "c_controlInterface.h"
|
||||
|
||||
#include "console/consoleInternal.h"
|
||||
#include "console/engineAPI.h"
|
||||
#include "console/simSet.h"
|
||||
#include "app/mainLoop.h"
|
||||
#include "windowManager/platformWindow.h"
|
||||
|
|
@ -50,7 +51,7 @@ extern "C" {
|
|||
// reset the engine, unloading any current level and returning to the main menu
|
||||
void torque_reset()
|
||||
{
|
||||
Con::evaluate("disconnect();");
|
||||
Con::executef("disconnect");
|
||||
}
|
||||
|
||||
// initialize Torque 3D including argument handling
|
||||
|
|
@ -119,7 +120,7 @@ extern "C" {
|
|||
// signal an engine shutdown (as with the quit(); console command)
|
||||
void torque_enginesignalshutdown()
|
||||
{
|
||||
Con::evaluate("quit();");
|
||||
Con::executef("quit");
|
||||
}
|
||||
|
||||
// shutdown the engine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue