2009-04-18 19:00:33 +02:00
|
|
|
/* Copyright (C) 2009 Wildfire Games.
|
|
|
|
* This file is part of 0 A.D.
|
|
|
|
*
|
|
|
|
* 0 A.D. is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* 0 A.D. is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with 0 A.D. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
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();
|
2009-11-03 22:46:35 +01:00
|
|
|
extern CStrW g_CursorName;
|
2005-07-20 02:57:17 +02:00
|
|
|
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
|