1 /*
2 ===========================================================================
3 Copyright (C) 2000 - 2013, Raven Software, Inc.
4 Copyright (C) 2001 - 2013, Activision, Inc.
5 Copyright (C) 2013 - 2015, OpenJK contributors
6 
7 This file is part of the OpenJK source code.
8 
9 OpenJK is free software; you can redistribute it and/or modify it
10 under the terms of the GNU General Public License version 2 as
11 published by the Free Software Foundation.
12 
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17 
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, see <http://www.gnu.org/licenses/>.
20 ===========================================================================
21 */
22 
23 #ifndef __G_ICARUS_H__
24 #define __G_ICARUS_H__
25 
26 //NOTENOTE: Only change this to re-point ICARUS to a new script directory
27 #define Q3_SCRIPT_DIR	"scripts"
28 
29 //ICARUS includes
30 extern	interface_export_t	interface_export;
31 
32 extern	void Interface_Init( interface_export_t *pe );
33 extern	int ICARUS_RunScript( gentity_t *ent, const char *name );
34 extern	bool ICARUS_RegisterScript( const char *name, bool bCalledDuringInterrogate = false);
35 extern ICARUS_Instance	*iICARUS;
36 extern bufferlist_t		ICARUS_BufferList;
37 extern entlist_t		ICARUS_EntList;
38 
39 //
40 //	g_ICARUS.cpp
41 //
42 void ICARUS_Init( void );
43 bool ICARUS_ValidEnt( gentity_t *ent );
44 void ICARUS_InitEnt( gentity_t *ent );
45 void ICARUS_FreeEnt( gentity_t *ent );
46 void ICARUS_AssociateEnt( gentity_t *ent );
47 void ICARUS_Shutdown( void );
48 void Svcmd_ICARUS_f( void );
49 
50 extern int		ICARUS_entFilter;
51 
52 #endif//#ifndef __G_ICARUS_H__
53