]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/mapxml/plugin.h
more eol-style
[xonotic/netradiant.git] / plugins / mapxml / plugin.h
index 4529a65121dd5e4ac96b51a259d89913cc1686f0..a129b4000734234d049a05d4decfe8d2bc204ce4 100644 (file)
@@ -1,49 +1,49 @@
-#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
+#ifndef _PLUGIN_H_
+#define _PLUGIN_H_
+
+#include <stdlib.h>
+#include <stdio.h>
+
+#include "libxml/parser.h"
+
+#include "synapse.h"
+#define USE_QERTABLE_DEFINE
+#include "qerplugin.h"
+#include "imap.h"
+#include "ishaders.h"
+#define USE_ENTITYTABLE_DEFINE
+#include "ientity.h"
+#define USE_BRUSHTABLE_DEFINE
+#include "ibrush.h"
+#define USE_PATCHTABLE_DEFINE
+#include "ipatch.h"
+
+extern _QERFuncTable_1 g_FuncTable;
+extern _QERShadersTable g_ShadersTable;
+extern _QEREntityTable g_EntityTable;
+extern _QERBrushTable g_BrushTable;
+extern _QERPatchTable g_PatchTable;
+
+#define Error g_FuncTable.m_pfnError
+#define QERApp_Shader_ForName g_ShadersTable.m_pfnShader_ForName
+
+extern void *g_pRadiantWnd;
+
+void Map_Read (IDataStream *in, CPtrArray *map);
+void Map_Write (CPtrArray *map, IDataStream *out);
+
+extern CSynapseServer* g_pSynapseServer;
+
+class CSynapseClientXMap : public CSynapseClient
+{
+public:
+  // CSynapseClient API
+  bool RequestAPI(APIDescriptor_t *pAPI);
+  const char* GetInfo();
+  const char* GetName(); ///< required for XML runtime config
+  
+  CSynapseClientXMap() { }
+  virtual ~CSynapseClientXMap() { }
+};
+
+#endif // _PLUGIN_H_