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>
33 #include <glib/gi18n.h>
39 #if defined (__linux__) || defined (__APPLE__)
41 // Necessary for proper boolean type declaration
46 typedef void* HMODULE;
51 #define MB_OK 0x00000000L
52 #define MB_OKCANCEL 0x00000001L
53 #define MB_ABORTRETRYIGNORE 0x00000002L
54 #define MB_YESNOCANCEL 0x00000003L
55 #define MB_YESNO 0x00000004L
56 #define MB_RETRYCANCEL 0x00000005L
59 #define MB_ICONHAND 0x00000010L
60 #define MB_ICONQUESTION 0x00000020L
61 #define MB_ICONEXCLAMATION 0x00000030L
62 #define MB_ICONASTERISK 0x00000040L
64 #define MB_USERICON 0x00000080L
65 #define MB_ICONWARNING MB_ICONEXCLAMATION
66 #define MB_ICONERROR MB_ICONHAND
67 #define MB_ICONINFORMATION MB_ICONASTERISK
68 #define MB_ICONSTOP MB_ICONHAND
70 #define MB_TYPEMASK 0x0000000FL
71 #define MB_ICONMASK 0x000000F0L
72 #define MB_DEFMASK 0x00000F00L
73 #define MB_MODEMASK 0x00003000L
74 #define MB_MISCMASK 0x0000C000L
96 unsigned char Data4[8];
99 #define stricmp strcasecmp
103 #if defined(__cplusplus)
104 #ifndef _REFGUID_DEFINED
105 #define _REFGUID_DEFINED
106 #define REFGUID const GUID &
107 #endif // !_REFGUID_DEFINED
110 typedef struct tagRECT
116 } RECT, *PRECT, *LPRECT;
124 #define USE_QERTABLE_DEFINE
126 #include "missing.h" // temporary stuff, needs to be removed
129 #include "qertypes.h"
130 #include "qerplugin.h"
133 #include "iselectedface.h"
134 #include "ishaders.h"
135 #include "ibspfrontend.h"
138 #include "itoolbar.h"
143 extern _QERFuncTable_1 g_FuncTable;
144 extern _QERAppDataTable g_AppDataTable;
145 extern _QERBrushTable g_BrushTable;
146 extern _QERSelectedFaceTable g_SelectedFaceTable;
147 extern _QERShadersTable g_ShadersTable;
148 extern _QERQglTable g_QglTable;
149 extern _QERUITable g_MessageTable;
150 extern _QEREntityTable g_EntityTable;
153 #define MAX_ROUND_ERROR 0.05
155 #include "gtkr_list.h"