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
45 #define USE_QERTABLE_DEFINE
47 #include "qerplugin.h"
49 #include "ifilesystem.h"
54 #define BKGRND2D_DEBUG
56 extern _QERFuncTable_1 g_FuncTable;
57 extern _QERQglTable g_QglTable;
58 extern _QERFileSystemTable g_FileSystemTable;
59 extern _QEREntityTable g_EntityTable;
60 extern _QERAppDataTable g_DataTable;
61 extern void *g_pMainWidget;
63 extern CSynapseServer *g_pSynapseServer;
65 class CSynapseClientBkgrnd2d : public CSynapseClient {
68 bool RequestAPI(APIDescriptor_t *pAPI);
70 const char *GetInfo();
72 const char *GetName();
74 CSynapseClientBkgrnd2d()
77 virtual ~CSynapseClientBkgrnd2d()
81 #define MSG_PREFIX "bkgrnd2d: "
82 #define MSG_WARN "bkgrnd2d WARNING: "
83 #define BKGRND2D_MINOR "bkgrnd2d"
84 #define FILETYPE_KEY "bkgrnd2d"