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__
26 #pragma warning(disable : 4786)
29 #define BOBTOOLZ_MINOR "bobtoolz"
31 #include <gdk/gdkkeysyms.h>
38 #if defined (__linux__) || defined (__APPLE__)
40 // Necessary for proper boolean type declaration
45 typedef void* HMODULE;
50 #define MB_OK 0x00000000L
51 #define MB_OKCANCEL 0x00000001L
52 #define MB_ABORTRETRYIGNORE 0x00000002L
53 #define MB_YESNOCANCEL 0x00000003L
54 #define MB_YESNO 0x00000004L
55 #define MB_RETRYCANCEL 0x00000005L
58 #define MB_ICONHAND 0x00000010L
59 #define MB_ICONQUESTION 0x00000020L
60 #define MB_ICONEXCLAMATION 0x00000030L
61 #define MB_ICONASTERISK 0x00000040L
63 #define MB_USERICON 0x00000080L
64 #define MB_ICONWARNING MB_ICONEXCLAMATION
65 #define MB_ICONERROR MB_ICONHAND
66 #define MB_ICONINFORMATION MB_ICONASTERISK
67 #define MB_ICONSTOP MB_ICONHAND
69 #define MB_TYPEMASK 0x0000000FL
70 #define MB_ICONMASK 0x000000F0L
71 #define MB_DEFMASK 0x00000F00L
72 #define MB_MODEMASK 0x00003000L
73 #define MB_MISCMASK 0x0000C000L
95 unsigned char Data4[8];
98 #define stricmp strcasecmp
102 #if defined(__cplusplus)
103 #ifndef _REFGUID_DEFINED
104 #define _REFGUID_DEFINED
105 #define REFGUID const GUID &
106 #endif // !_REFGUID_DEFINED
109 typedef struct tagRECT
115 } RECT, *PRECT, *LPRECT;
123 #define USE_QERTABLE_DEFINE
125 #include "missing.h" // temporary stuff, needs to be removed
128 #include "qertypes.h"
129 #include "qerplugin.h"
132 #include "iselectedface.h"
133 #include "ishaders.h"
134 #include "ibspfrontend.h"
137 #include "itoolbar.h"
142 extern _QERFuncTable_1 g_FuncTable;
143 extern _QERAppDataTable g_AppDataTable;
144 extern _QERBrushTable g_BrushTable;
145 extern _QERSelectedFaceTable g_SelectedFaceTable;
146 extern _QERShadersTable g_ShadersTable;
147 extern _QERQglTable g_QglTable;
148 extern _QERUITable g_MessageTable;
149 extern _QEREntityTable g_EntityTable;
152 #define MAX_ROUND_ERROR 0.05
154 #include "gtkr_list.h"