Eliminate DefineConsoleFunction

This commit is contained in:
Lukas Joergensen 2018-04-17 16:33:56 +02:00
parent 037d089c4d
commit 5bde18143f
55 changed files with 314 additions and 332 deletions

View file

@ -58,7 +58,7 @@ const UTF8 *getCoreString(S32 id)
//-----------------------------------------------------------------------------
DefineConsoleFunction( getCoreLangTable, S32, (), , "()"
DefineEngineFunction( getCoreLangTable, S32, (), , "()"
"@brief Gets the primary LangTable used by the game\n\n"
"@return ID of the core LangTable\n"
"@ingroup Localization")
@ -69,7 +69,7 @@ DefineConsoleFunction( getCoreLangTable, S32, (), , "()"
return 0;
}
DefineConsoleFunction( setCoreLangTable, void, (const char * lgTable), , "(string LangTable)"
DefineEngineFunction( setCoreLangTable, void, (const char * lgTable), , "(string LangTable)"
"@brief Sets the primary LangTable used by the game\n\n"
"@param LangTable ID of the core LangTable\n"
"@ingroup Localization")