2004-05-29 17:46:58 -07:00
|
|
|
|
|
|
|
|
#ifndef _SCRIPTGLUE_H_
|
|
|
|
|
#define _SCRIPTGLUE_H_
|
|
|
|
|
|
|
|
|
|
#include "ScriptingHost.h"
|
|
|
|
|
|
2005-07-19 17:57:17 -07:00
|
|
|
#include "LightEnv.h" // required by g_LightEnv declaration below.
|
2004-08-14 04:21:29 -07:00
|
|
|
|
2005-07-19 17:57:17 -07:00
|
|
|
// referenced by ScriptingHost.cpp
|
2004-06-09 07:02:40 -07:00
|
|
|
extern JSFunctionSpec ScriptFunctionTable[];
|
2004-07-20 12:30:35 -07:00
|
|
|
extern JSPropertySpec ScriptGlobalTable[];
|
2004-05-29 17:46:58 -07:00
|
|
|
|
2005-07-19 17:57:17 -07:00
|
|
|
// dependencies (moved to header to avoid L4 warnings)
|
|
|
|
|
// .. from main.cpp:
|
|
|
|
|
extern "C" int fps;
|
|
|
|
|
extern void kill_mainloop();
|
|
|
|
|
extern CStr g_CursorName;
|
|
|
|
|
extern void StartGame();
|
|
|
|
|
extern void EndGame();
|
|
|
|
|
// .. other
|
|
|
|
|
extern CLightEnv g_LightEnv;
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
extern int GetVRAMInfo(int&, int&);
|
2004-05-29 17:46:58 -07:00
|
|
|
#endif
|
2005-07-19 17:57:17 -07:00
|
|
|
|
|
|
|
|
#endif // #ifndef _SCRIPTGLUE_H_
|