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

@ -30,6 +30,7 @@
#include "scene/sceneManager.h"
#include "platform/profiler.h"
#include "core/module.h"
#include "console/engineAPI.h"
extern bool gEditingMission;
@ -206,12 +207,12 @@ void PathManager::clearPaths()
#endif
}
ConsoleFunction(clearServerPaths, void, 1, 1, "")
DefineConsoleFunction( clearServerPaths, void, ( ), , "")
{
gServerPathManager->clearPaths();
}
ConsoleFunction(clearClientPaths, void, 1, 1, "")
DefineConsoleFunction( clearClientPaths, void, ( ), , "")
{
gClientPathManager->clearPaths();
}