mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-26 23:05:38 +00:00
Merge pull request #842 from eightyeight/console-func-refactor
jamesu's console function refactor
This commit is contained in:
commit
81a385094f
94 changed files with 1886 additions and 721 deletions
|
|
@ -335,7 +335,7 @@ void Input::log( const char* format, ... )
|
|||
ConsoleFunction( inputLog, void, 2, 2, "inputLog( string )" )
|
||||
{
|
||||
argc;
|
||||
Input::log( "%s\n", argv[1] );
|
||||
Input::log( "%s\n", (const char*)argv[1] );
|
||||
}
|
||||
#endif // LOG_INPUT
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ ConsoleFunction( MathInit, void, 1, 10, "(detect|C|FPU|MMX|3DNOW|SSE|...)")
|
|||
properties |= CPU_PROP_SSE;
|
||||
continue;
|
||||
}
|
||||
Con::printf("Error: MathInit(): ignoring unknown math extension '%s'", *argv);
|
||||
Con::printf("Error: MathInit(): ignoring unknown math extension '%s'", (const char*)argv[0]);
|
||||
}
|
||||
Math::init(properties);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue