]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/StdAfx.h
Fix minizip regression
[xonotic/netradiant.git] / contrib / bobtoolz / StdAfx.h
index 881832321ccdb0998e3b0e032044a0bf7ed49a46..cfce5a4e493cfa88b3ffe72ef60296cc8d58aa36 100644 (file)
-/*\r
-BobToolz plugin for GtkRadiant\r
-Copyright (C) 2001 Gordon Biggans\r
-\r
-This library is free software; you can redistribute it and/or\r
-modify it under the terms of the GNU Lesser General Public\r
-License as published by the Free Software Foundation; either\r
-version 2.1 of the License, or (at your option) any later version.\r
-\r
-This library is distributed in the hope that it will be useful,\r
-but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
-Lesser General Public License for more details.\r
-\r
-You should have received a copy of the GNU Lesser General Public\r
-License along with this library; if not, write to the Free Software\r
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
-*/\r
-\r
-#ifndef __STDAFX_BOBTOOLZ__\r
-#define __STDAFX_BOBTOOLZ__\r
-\r
-#define VC_EXTRALEAN\r
-\r
-#ifdef _WIN32\r
-#pragma warning(disable : 4786)\r
-#endif\r
-\r
-#define BOBTOOLZ_MINOR "bobtoolz"\r
-\r
-#include <gdk/gdkkeysyms.h>\r
-#include <gtk/gtk.h>\r
-#include <stdio.h>\r
-#include <stdlib.h>\r
-\r
-#include "time.h"\r
-\r
-#if defined (__linux__) || defined (__APPLE__)\r
-\r
-// Necessary for proper boolean type declaration\r
-#include "qertypes.h"\r
-\r
-#include <GL/glx.h>\r
-\r
-typedef void* HMODULE;\r
-typedef void* LPVOID;\r
-typedef char* LPCSTR;\r
-//typedef int  bool;\r
-\r
-#define MB_OK                       0x00000000L\r
-#define MB_OKCANCEL                 0x00000001L\r
-#define MB_ABORTRETRYIGNORE         0x00000002L\r
-#define MB_YESNOCANCEL              0x00000003L\r
-#define MB_YESNO                    0x00000004L\r
-#define MB_RETRYCANCEL              0x00000005L\r
\r
\r
-#define MB_ICONHAND                 0x00000010L\r
-#define MB_ICONQUESTION             0x00000020L\r
-#define MB_ICONEXCLAMATION          0x00000030L\r
-#define MB_ICONASTERISK             0x00000040L\r
\r
-#define MB_USERICON                 0x00000080L\r
-#define MB_ICONWARNING              MB_ICONEXCLAMATION\r
-#define MB_ICONERROR                MB_ICONHAND\r
-#define MB_ICONINFORMATION          MB_ICONASTERISK\r
-#define MB_ICONSTOP                 MB_ICONHAND\r
\r
-#define MB_TYPEMASK                 0x0000000FL\r
-#define MB_ICONMASK                 0x000000F0L\r
-#define MB_DEFMASK                  0x00000F00L\r
-#define MB_MODEMASK                 0x00003000L\r
-#define MB_MISCMASK                 0x0000C000L\r
\r
-#define IDOK                1\r
-#define IDCANCEL            2\r
-#define IDABORT             3\r
-#define IDRETRY             4\r
-#define IDIGNORE            5\r
-#define IDYES               6\r
-#define IDNO                7\r
-\r
-#define WINAPI\r
-#define APIENTRY\r
-\r
-#ifndef GUID_DEFINED\r
-#define GUID_DEFINED\r
-typedef struct _GUID\r
-{\r
-  unsigned long  Data1;\r
-  unsigned short Data2;\r
-  unsigned short Data3;\r
-  unsigned char  Data4[8];\r
-} GUID;\r
-\r
-#define stricmp strcasecmp\r
-\r
-#endif\r
\r
-#if defined(__cplusplus)\r
-#ifndef _REFGUID_DEFINED\r
-#define _REFGUID_DEFINED\r
-#define REFGUID             const GUID &\r
-#endif // !_REFGUID_DEFINED\r
-#endif\r
-\r
-typedef struct tagRECT\r
-{\r
-    long    left;\r
-    long    top;\r
-    long    right;\r
-    long    bottom;\r
-} RECT, *PRECT, *LPRECT;\r
-\r
-typedef uint UINT;\r
-\r
-#endif // __linux__\r
-\r
-#include "synapse.h"\r
-#include "iplugin.h"\r
-#define USE_QERTABLE_DEFINE\r
-\r
-#include "missing.h" // temporary stuff, needs to be removed\r
-\r
-#include "str.h"\r
-#include "qertypes.h"\r
-#include "qerplugin.h"\r
-#include "idata.h"\r
-#include "ibrush.h"\r
-#include "iselectedface.h"\r
-#include "ishaders.h"\r
-#include "ibspfrontend.h"\r
-#include "iui.h"\r
-#include "igl.h"\r
-#include "itoolbar.h"\r
-#include "ientity.h"\r
-\r
-#include "mathlib.h"\r
-\r
-extern _QERFuncTable_1                     g_FuncTable;\r
-extern  _QERAppDataTable                         g_AppDataTable;\r
-extern  _QERBrushTable                           g_BrushTable;\r
-extern _QERSelectedFaceTable           g_SelectedFaceTable;\r
-extern _QERShadersTable                    g_ShadersTable;\r
-extern _QERQglTable                                g_QglTable;\r
-extern _QERUITable                                         g_MessageTable;\r
-extern _QEREntityTable                           g_EntityTable;\r
-\r
-\r
-#define MAX_ROUND_ERROR        0.05\r
-\r
-#include "gtkr_list.h"\r
-\r
-#endif\r
+/*
+   BobToolz plugin for GtkRadiant
+   Copyright (C) 2001 Gordon Biggans
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef __STDAFX_BOBTOOLZ__
+#define __STDAFX_BOBTOOLZ__
+
+
+
+#endif