2 BobToolz plugin for GtkRadiant
3 Copyright (C) 2001 Gordon Biggans
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 #ifndef __STDAFX_BOBTOOLZ__
21 #define __STDAFX_BOBTOOLZ__
23 #define BOBTOOLZ_MINOR "bobtoolz"
25 #include <gdk/gdkkeysyms.h>
34 #if defined (__linux__) || defined (__APPLE__)
38 typedef void* HMODULE;
54 unsigned char Data4[8];
57 #define stricmp strcasecmp
61 #if defined(__cplusplus)
62 #ifndef _REFGUID_DEFINED
63 #define _REFGUID_DEFINED
64 #define REFGUID const GUID &
65 #endif // !_REFGUID_DEFINED
68 typedef struct tagRECT
74 } RECT, *PRECT, *LPRECT;
85 #define USE_SCENEGRAPHTABLE_DEFINE
86 #include "iscenegraph.h"
88 #define USE_QERTABLE_DEFINE
89 #include "qerplugin.h"
90 extern _QERFuncTable_1 __QERTABLENAME;
92 #define USE_ENTITYTABLE_DEFINE
94 extern _QEREntityTable __ENTITYTABLENAME;
96 #define USE_BRUSHTABLE_DEFINE
98 extern _QERBrushTable __BRUSHTABLENAME;
100 #define USE_PATCHTABLE_DEFINE
102 extern _QERPatchTable __PATCHTABLENAME;
104 #define USE_SHADERSTABLE_DEFINE
105 #include "ishaders.h"
106 extern _QERShadersTable __SHADERSTABLENAME;
108 #define USE_QGLTABLE_DEFINE
110 extern _QERQglTable __QGLTABLENAME;
112 #include "ibspfrontend.h"
113 extern _QERAppBSPFrontendTable g_BSPTable;
116 extern _QERUITable g_MessageTable;
118 #define USE_RENDERTABLE_DEFINE
121 #define USE_SELECTIONTABLE_DEFINE
122 #include "iselection.h"
124 #include "itoolbar.h"
129 #define MAX_ROUND_ERROR 0.05