]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/common/inout.h
eol style
[xonotic/netradiant.git] / tools / quake3 / common / inout.h
index b7f13270f213faf67c19a7669be546dceec5bdc9..d417a583f554a08c51d2f8f2179733551c47daaf 100644 (file)
@@ -1,61 +1,61 @@
-/*\r
-Copyright (C) 1999-2007 id Software, Inc. and contributors.\r
-For a list of contributors, see the accompanying CONTRIBUTORS file.\r
-\r
-This file is part of GtkRadiant.\r
-\r
-GtkRadiant is free software; you can redistribute it and/or modify\r
-it under the terms of the GNU General Public License as published by\r
-the Free Software Foundation; either version 2 of the License, or\r
-(at your option) any later version.\r
-\r
-GtkRadiant 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\r
-GNU General Public License for more details.\r
-\r
-You should have received a copy of the GNU General Public License\r
-along with GtkRadiant; if not, write to the Free Software\r
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\r
-*/\r
-\r
-#ifndef __INOUT__\r
-#define __INOUT__\r
-\r
-// inout is the only stuff relying on xml, include the headers there\r
-#include "libxml/tree.h"\r
-\r
-// some useful xml routines\r
-xmlNodePtr xml_NodeForVec( vec3_t v );\r
-void xml_SendNode (xmlNodePtr node);\r
-// print a message in q3map output and send the corresponding select information down the xml stream\r
-// bError: do we end with an error on this one or do we go ahead?\r
-void xml_Select (char *msg, int entitynum, int brushnum, qboolean bError);\r
-// end q3map with an error message and send a point information in the xml stream\r
-// note: we might want to add a boolean to use this as a warning or an error thing..\r
-void xml_Winding (char *msg, vec3_t p[], int numpoints, qboolean die);\r
-void xml_Point (char *msg, vec3_t pt);\r
-\r
-extern qboolean bNetworkBroadcast;\r
-void Broadcast_Setup( const char *dest );\r
-void Broadcast_Shutdown();\r
-\r
-#define SYS_VRB 0 // verbose support (on/off)\r
-#define SYS_STD 1 // standard print level\r
-#define SYS_WRN 2 // warnings\r
-#define SYS_ERR 3 // error\r
-#define SYS_NOXML 4 // don't send that down the XML stream\r
-\r
-extern qboolean verbose;\r
-void Sys_Printf (const char *text, ...);\r
-void Sys_FPrintf (int flag, const char *text, ...);\r
-\r
-#ifdef _DEBUG\r
-#define DBG_XML 1\r
-#endif\r
-\r
-#ifdef DBG_XML\r
-void DumpXML();\r
-#endif\r
-\r
-#endif\r
+/*
+Copyright (C) 1999-2007 id Software, Inc. and contributors.
+For a list of contributors, see the accompanying CONTRIBUTORS file.
+
+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
+*/
+
+#ifndef __INOUT__
+#define __INOUT__
+
+// inout is the only stuff relying on xml, include the headers there
+#include "libxml/tree.h"
+
+// some useful xml routines
+xmlNodePtr xml_NodeForVec( vec3_t v );
+void xml_SendNode (xmlNodePtr node);
+// print a message in q3map output and send the corresponding select information down the xml stream
+// bError: do we end with an error on this one or do we go ahead?
+void xml_Select (char *msg, int entitynum, int brushnum, qboolean bError);
+// end q3map with an error message and send a point information in the xml stream
+// note: we might want to add a boolean to use this as a warning or an error thing..
+void xml_Winding (char *msg, vec3_t p[], int numpoints, qboolean die);
+void xml_Point (char *msg, vec3_t pt);
+
+extern qboolean bNetworkBroadcast;
+void Broadcast_Setup( const char *dest );
+void Broadcast_Shutdown();
+
+#define SYS_VRB 0 // verbose support (on/off)
+#define SYS_STD 1 // standard print level
+#define SYS_WRN 2 // warnings
+#define SYS_ERR 3 // error
+#define SYS_NOXML 4 // don't send that down the XML stream
+
+extern qboolean verbose;
+void Sys_Printf (const char *text, ...);
+void Sys_FPrintf (int flag, const char *text, ...);
+
+#ifdef _DEBUG
+#define DBG_XML 1
+#endif
+
+#ifdef DBG_XML
+void DumpXML();
+#endif
+
+#endif