mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Eliminate DefineConsoleFunction
This commit is contained in:
parent
bc1b506205
commit
e718841467
55 changed files with 314 additions and 332 deletions
|
|
@ -92,44 +92,44 @@ const char* getCompileTimeString()
|
|||
|
||||
ConsoleFunctionGroupBegin( CompileInformation, "Functions to get version information about the current executable." );
|
||||
|
||||
DefineConsoleFunction( getVersionNumber, S32, (), , "Get the version of the engine build, as a string.\n\n"
|
||||
DefineEngineFunction( getVersionNumber, S32, (), , "Get the version of the engine build, as a string.\n\n"
|
||||
"@ingroup Debugging")
|
||||
{
|
||||
return getVersionNumber();
|
||||
}
|
||||
|
||||
DefineConsoleFunction( getAppVersionNumber, S32, (), , "Get the version of the application build, as a string.\n\n"
|
||||
DefineEngineFunction( getAppVersionNumber, S32, (), , "Get the version of the application build, as a string.\n\n"
|
||||
"@ingroup Debugging")
|
||||
{
|
||||
return getAppVersionNumber();
|
||||
}
|
||||
|
||||
|
||||
DefineConsoleFunction( getVersionString, const char*, (), , "Get the version of the engine build, as a human readable string.\n\n"
|
||||
DefineEngineFunction( getVersionString, const char*, (), , "Get the version of the engine build, as a human readable string.\n\n"
|
||||
"@ingroup Debugging")
|
||||
{
|
||||
return getVersionString();
|
||||
}
|
||||
|
||||
DefineConsoleFunction( getAppVersionString, const char*, (), , "Get the version of the aplication build, as a human readable string.\n\n"
|
||||
DefineEngineFunction( getAppVersionString, const char*, (), , "Get the version of the aplication build, as a human readable string.\n\n"
|
||||
"@ingroup Debugging")
|
||||
{
|
||||
return getAppVersionString();
|
||||
}
|
||||
|
||||
DefineConsoleFunction( getEngineName, const char*, (), , "Get the name of the engine product that this is running from, as a string.\n\n"
|
||||
DefineEngineFunction( getEngineName, const char*, (), , "Get the name of the engine product that this is running from, as a string.\n\n"
|
||||
"@ingroup Debugging")
|
||||
{
|
||||
return getEngineProductString();
|
||||
}
|
||||
|
||||
DefineConsoleFunction( getCompileTimeString, const char*, (), , "Get the time of compilation.\n\n"
|
||||
DefineEngineFunction( getCompileTimeString, const char*, (), , "Get the time of compilation.\n\n"
|
||||
"@ingroup Debugging")
|
||||
{
|
||||
return getCompileTimeString();
|
||||
}
|
||||
|
||||
DefineConsoleFunction( getBuildString, const char*, (), , "Get the type of build, \"Debug\" or \"Release\".\n\n"
|
||||
DefineEngineFunction( getBuildString, const char*, (), , "Get the type of build, \"Debug\" or \"Release\".\n\n"
|
||||
"@ingroup Debugging")
|
||||
{
|
||||
#ifdef TORQUE_DEBUG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue