janwas
67777bd159
main: add new variable for clarity scriptglue: massive refactor. added docs, rearranged into groups, eliminate forward decls, consistent param checking, some progress on consistent naming and formatting. This was SVN commit r2492.
27 lines
599 B
C
Executable File
27 lines
599 B
C
Executable File
|
|
#ifndef _SCRIPTGLUE_H_
|
|
#define _SCRIPTGLUE_H_
|
|
|
|
#include "ScriptingHost.h"
|
|
|
|
#include "LightEnv.h" // required by g_LightEnv declaration below.
|
|
|
|
// referenced by ScriptingHost.cpp
|
|
extern JSFunctionSpec ScriptFunctionTable[];
|
|
extern JSPropertySpec ScriptGlobalTable[];
|
|
|
|
// 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&);
|
|
#endif
|
|
|
|
#endif // #ifndef _SCRIPTGLUE_H_
|