Made ScEd compile more pleasantly

This was SVN commit r1700.
This commit is contained in:
Ykkrosh
2005-01-10 22:13:18 +00:00
parent 2ad77b16db
commit 75c714b8df
7 changed files with 27 additions and 1326 deletions
+6 -1
View File
@@ -23,12 +23,15 @@
#include "scripting/JSCollection.h"
#include "scripting/JSInterface_BaseEntity.h"
#include "scripting/JSInterface_Vector3D.h"
#include "gui/scripting/JSInterface_IGUIObject.h"
#include "scripting/JSInterface_Selection.h"
#include "scripting/JSInterface_Camera.h"
#include "scripting/JSInterface_Console.h"
#include "scripting/JSConversions.h"
#ifndef NO_GUI
# include "gui/scripting/JSInterface_IGUIObject.h"
#endif
extern CConsole* g_Console;
// Parameters for the table are:
@@ -48,7 +51,9 @@ JSFunctionSpec ScriptFunctionTable[] =
{"setTimeout", setTimeout, 2, 0, 0 },
{"setInterval", setInterval, 2, 0, 0 },
{"cancelInterval", cancelInterval, 0, 0, 0 },
#ifndef NO_GUI
{"getGUIObjectByName", JSI_IGUIObject::getByName, 1, 0, 0 },
#endif
{"getGlobal", getGlobal, 0, 0, 0 },
{"getGUIGlobal", getGUIGlobal, 0, 0, 0 },
{"setCursor", setCursor, 1, 0, 0 },