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