2 Copyright (C) 2003 Reed Mideke.
\r
4 This file is part of GtkRadiant.
\r
6 GtkRadiant is free software; you can redistribute it and/or modify
\r
7 it under the terms of the GNU General Public License as published by
\r
8 the Free Software Foundation; either version 2 of the License, or
\r
9 (at your option) any later version.
\r
11 GtkRadiant is distributed in the hope that it will be useful,
\r
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
14 GNU General Public License for more details.
\r
16 You should have received a copy of the GNU General Public License
\r
17 along with GtkRadiant; if not, write to the Free Software
\r
18 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
\r
24 // Code by reyalP aka Reed Mideke
\r
26 // Based on spritemodel source code by hydra
\r
33 \todo need general notice about lib purpose etc.
\r
34 and the external dependencies (such as GLib, STL, mathlib etc.)
\r
38 // for CPtrArray for idata.h
\r
39 #include "missing.h"
\r
41 #include "synapse.h"
\r
42 #include "iplugin.h"
\r
43 #include "itoolbar.h"
\r
44 #define USE_QERTABLE_DEFINE
\r
45 #include "qerplugin.h"
\r
47 #include "ifilesystem.h"
\r
48 #include "ientity.h"
\r
52 #define BKGRND2D_DEBUG
\r
54 extern _QERFuncTable_1 g_FuncTable;
\r
55 extern _QERQglTable g_QglTable;
\r
56 extern _QERFileSystemTable g_FileSystemTable;
\r
57 extern _QEREntityTable g_EntityTable;
\r
58 extern _QERAppDataTable g_DataTable;
\r
59 extern void *g_pMainWidget;
\r
61 extern CSynapseServer* g_pSynapseServer;
\r
63 class CSynapseClientBkgrnd2d : public CSynapseClient
\r
66 // CSynapseClient API
\r
67 bool RequestAPI(APIDescriptor_t *pAPI);
\r
68 const char* GetInfo();
\r
69 const char* GetName();
\r
71 CSynapseClientBkgrnd2d() { }
\r
72 virtual ~CSynapseClientBkgrnd2d() { }
\r
74 #define MSG_PREFIX "bkgrnd2d: "
\r
75 #define MSG_WARN "bkgrnd2d WARNING: "
\r
76 #define BKGRND2D_MINOR "bkgrnd2d"
\r
77 #define FILETYPE_KEY "bkgrnd2d"
\r
79 #endif // _PLUGIN_H_
\r