2004-05-30 02:46:58 +02:00
|
|
|
|
2007-05-07 18:33:24 +02:00
|
|
|
#ifndef INCLUDED_SCRIPTGLUE
|
|
|
|
#define INCLUDED_SCRIPTGLUE
|
2004-05-30 02:46:58 +02:00
|
|
|
|
|
|
|
#include "ScriptingHost.h"
|
|
|
|
|
2005-07-20 02:57:17 +02:00
|
|
|
// referenced by ScriptingHost.cpp
|
2004-06-09 16:02:40 +02:00
|
|
|
extern JSFunctionSpec ScriptFunctionTable[];
|
2004-07-20 21:30:35 +02:00
|
|
|
extern JSPropertySpec ScriptGlobalTable[];
|
2004-05-30 02:46:58 +02:00
|
|
|
|
2005-07-20 02:57:17 +02:00
|
|
|
// dependencies (moved to header to avoid L4 warnings)
|
|
|
|
// .. from main.cpp:
|
2006-09-22 15:19:40 +02:00
|
|
|
extern int fps;
|
2005-07-20 02:57:17 +02:00
|
|
|
extern void kill_mainloop();
|
|
|
|
extern CStr g_CursorName;
|
|
|
|
extern void StartGame();
|
|
|
|
extern void EndGame();
|
|
|
|
// .. other
|
2005-08-09 17:55:44 +02:00
|
|
|
#if OS_WIN
|
2005-07-20 02:57:17 +02:00
|
|
|
extern int GetVRAMInfo(int&, int&);
|
2004-05-30 02:46:58 +02:00
|
|
|
#endif
|
2005-07-20 02:57:17 +02:00
|
|
|
|
2007-05-07 18:33:24 +02:00
|
|
|
#endif // #ifndef INCLUDED_SCRIPTGLUE
|