forked from mirrors/0ad
Move UserReporter C++/JS functions from JSInterface_Debug.cpp to JSInterface_UserReport.cpp, refs #4772.
This way it stands out more as a separate feature that can be more easily exchanged, extended, maintained or conditionally removed from the build and leaves more transparent includes, refs #5257. Add missing string includes following7c2e9027c2andd6cb9c845b. Remove unused Profile include following38d6f81d71andd6cb9c845b. Remove unused CLogger include, add missing debug include followingd6cb9c845b. Remove unused CConsole include following9f0484e5ce/ D1073. Remove unused ProfilerViewer include following2af94c5898. This was SVN commit r21866.
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include "ps/scripting/JSInterface_Mod.h"
|
||||
#include "ps/scripting/JSInterface_ModIo.h"
|
||||
#include "ps/scripting/JSInterface_SavedGame.h"
|
||||
#include "ps/scripting/JSInterface_UserReport.h"
|
||||
#include "ps/scripting/JSInterface_VFS.h"
|
||||
#include "ps/scripting/JSInterface_VisualReplay.h"
|
||||
#include "renderer/scripting/JSInterface_Renderer.h"
|
||||
@@ -67,6 +68,7 @@ void GuiScriptingInit(ScriptInterface& scriptInterface)
|
||||
JSI_SavedGame::RegisterScriptFunctions(scriptInterface);
|
||||
JSI_Simulation::RegisterScriptFunctions(scriptInterface);
|
||||
JSI_Sound::RegisterScriptFunctions(scriptInterface);
|
||||
JSI_UserReport::RegisterScriptFunctions(scriptInterface);
|
||||
JSI_VFS::RegisterScriptFunctions_GUI(scriptInterface);
|
||||
JSI_VisualReplay::RegisterScriptFunctions(scriptInterface);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user