]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/mapxml/plugin.h
Merge commit '830125fad042fad35dc029b6eb57c8156ad7e176'
[xonotic/netradiant.git] / plugins / mapxml / plugin.h
index 4529a65121dd5e4ac96b51a259d89913cc1686f0..443a80e6d29c81b8d4fc4f30ba3f21f1206ea5cf 100644 (file)
@@ -1,49 +1,25 @@
-#ifndef _PLUGIN_H_\r
-#define _PLUGIN_H_\r
-\r
-#include <stdlib.h>\r
-#include <stdio.h>\r
-\r
-#include "libxml/parser.h"\r
-\r
-#include "synapse.h"\r
-#define USE_QERTABLE_DEFINE\r
-#include "qerplugin.h"\r
-#include "imap.h"\r
-#include "ishaders.h"\r
-#define USE_ENTITYTABLE_DEFINE\r
-#include "ientity.h"\r
-#define USE_BRUSHTABLE_DEFINE\r
-#include "ibrush.h"\r
-#define USE_PATCHTABLE_DEFINE\r
-#include "ipatch.h"\r
-\r
-extern _QERFuncTable_1 g_FuncTable;\r
-extern _QERShadersTable g_ShadersTable;\r
-extern _QEREntityTable g_EntityTable;\r
-extern _QERBrushTable g_BrushTable;\r
-extern _QERPatchTable g_PatchTable;\r
-\r
-#define Error g_FuncTable.m_pfnError\r
-#define QERApp_Shader_ForName g_ShadersTable.m_pfnShader_ForName\r
-\r
-extern void *g_pRadiantWnd;\r
-\r
-void Map_Read (IDataStream *in, CPtrArray *map);\r
-void Map_Write (CPtrArray *map, IDataStream *out);\r
-\r
-extern CSynapseServer* g_pSynapseServer;\r
-\r
-class CSynapseClientXMap : public CSynapseClient\r
-{\r
-public:\r
-  // CSynapseClient API\r
-  bool RequestAPI(APIDescriptor_t *pAPI);\r
-  const char* GetInfo();\r
-  const char* GetName(); ///< required for XML runtime config\r
-  \r
-  CSynapseClientXMap() { }\r
-  virtual ~CSynapseClientXMap() { }\r
-};\r
-\r
-#endif // _PLUGIN_H_\r
+/*
+   Copyright (C) 2001-2006, William Joseph.
+   All Rights Reserved.
+
+   This file is part of GtkRadiant.
+
+   GtkRadiant is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   GtkRadiant 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 General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with GtkRadiant; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+
+#if !defined( INCLUDED_PLUGIN_H )
+#define INCLUDED_PLUGIN_H
+
+#endif