2004-05-29 17:46:58 -07:00
|
|
|
|
2007-05-07 09:33:24 -07:00
|
|
|
#ifndef INCLUDED_SCRIPTGLUE
|
|
|
|
|
#define INCLUDED_SCRIPTGLUE
|
2004-05-29 17:46:58 -07:00
|
|
|
|
|
|
|
|
#include "ScriptingHost.h"
|
|
|
|
|
|
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:
|
2006-09-22 06:19:40 -07:00
|
|
|
extern int fps;
|
2005-07-19 17:57:17 -07:00
|
|
|
extern void kill_mainloop();
|
|
|
|
|
extern CStr g_CursorName;
|
|
|
|
|
extern void StartGame();
|
|
|
|
|
extern void EndGame();
|
|
|
|
|
// .. other
|
2005-08-09 08:55:44 -07:00
|
|
|
#if OS_WIN
|
2005-07-19 17:57:17 -07:00
|
|
|
extern int GetVRAMInfo(int&, int&);
|
2004-05-29 17:46:58 -07:00
|
|
|
#endif
|
2005-07-19 17:57:17 -07:00
|
|
|
|
2007-05-07 09:33:24 -07:00
|
|
|
#endif // #ifndef INCLUDED_SCRIPTGLUE
|