Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro.

This commit is contained in:
Vincent Gee 2014-11-03 22:42:51 -05:00
parent 378a933894
commit acb192e2a5
133 changed files with 1716 additions and 2087 deletions

View file

@ -22,6 +22,7 @@
#include "core/strings/stringFunctions.h"
#include "console/console.h"
#include "console/engineAPI.h"
#include "platformWin32/platformWin32.h"
@ -73,7 +74,7 @@ void initDisplayDeviceInfo()
Con::setVariable( "$PCI_DEV", dev );
}
ConsoleFunction( initDisplayDeviceInfo, void, 1, 1, "()"
DefineConsoleFunction( initDisplayDeviceInfo, void, (), , "()"
"@brief Initializes variables that track device and vendor information/IDs\n\n"
"@ingroup Rendering")
{