mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro.
This commit is contained in:
parent
378a933894
commit
acb192e2a5
133 changed files with 1716 additions and 2087 deletions
|
|
@ -27,6 +27,7 @@
|
|||
#include "platformWin32/platformWin32.h"
|
||||
#include "platformWin32/winConsole.h"
|
||||
#include "console/consoleTypes.h"
|
||||
#include "console/engineAPI.h"
|
||||
#include "core/util/journal/process.h"
|
||||
|
||||
|
||||
|
|
@ -37,10 +38,9 @@ namespace Con
|
|||
extern bool alwaysUseDebugOutput;
|
||||
}
|
||||
|
||||
ConsoleFunction(enableWinConsole, void, 2, 2, "enableWinConsole(bool);")
|
||||
DefineConsoleFunction( enableWinConsole, void, (bool flag), , "enableWinConsole(bool);")
|
||||
{
|
||||
argc;
|
||||
WindowsConsole->enable(dAtob(argv[1]));
|
||||
WindowsConsole->enable(flag);
|
||||
}
|
||||
|
||||
void WinConsole::create()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue