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
|
|
@ -26,6 +26,7 @@
|
|||
#include "platformWin32/winDirectInput.h"
|
||||
#include "windowManager/win32/win32Window.h"
|
||||
#include "console/console.h"
|
||||
#include "console/engineAPI.h"
|
||||
#include "math/mRandom.h"
|
||||
#include "core/stream/fileStream.h"
|
||||
#include "T3D/resource.h"
|
||||
|
|
@ -603,9 +604,8 @@ bool Platform::setLoginPassword( const char* password )
|
|||
// as commentary on Koreans as a nationality. Thank you for your
|
||||
// attention.
|
||||
//--------------------------------------
|
||||
ConsoleFunction( isKoreanBuild, bool, 1, 1, "isKoreanBuild()" )
|
||||
DefineConsoleFunction( isKoreanBuild, bool, ( ), , "isKoreanBuild()")
|
||||
{
|
||||
argc; argv;
|
||||
HKEY regKey;
|
||||
bool result = false;
|
||||
if ( RegOpenKeyEx( HKEY_LOCAL_MACHINE, TorqueRegKey, 0, KEY_QUERY_VALUE, ®Key ) == ERROR_SUCCESS )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue