]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/points.h
add an opt-out setting to not write entity and brush number comment on map write
[xonotic/netradiant.git] / radiant / points.h
index bc44cb8ad99c2f8b3c852587bb781e009080f9fa..449af54fc84b46d72d790347cb532757b382be47 100644 (file)
@@ -1,57 +1,43 @@
-/*\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
-//-----------------------------------------------------------------------------\r
-//\r
-// DESCRIPTION:\r
-// header for Pointfile stuff (adding a C++ class to wrap the pointfile thing in the SAX parser)\r
-//\r
-\r
-#ifndef __POINTS__\r
-#define __POINTS__\r
-\r
-void Pointfile_Delete (void);\r
-void WINAPI Pointfile_Check (void);\r
-void Pointfile_Next (void);\r
-void Pointfile_Prev (void);\r
-void Pointfile_Clear (void);\r
-void Pointfile_Draw( void );\r
-void Pointfile_Load( void );\r
-\r
-class CPointfile : public ISAXHandler\r
-{\r
-public:\r
-  CPointfile() { }\r
-  void Init();\r
-  void PushPoint (vec3_t v);\r
-  void GenerateDisplayList();\r
-  // SAX interface\r
-  void saxStartElement (message_info_t *ctx, const xmlChar *name, const xmlChar **attrs);\r
-  void saxEndElement (message_info_t *ctx, const xmlChar *name);\r
-  void saxCharacters (message_info_t *ctx, const xmlChar *ch, int len);\r
-  char *getName();\r
-};\r
-\r
-// instead of using Pointfile_Load you can do it by hand through g_pointfile\r
-// but the usual pointfile mechanism remains the same, use Pointfile_Draw etc.\r
-extern CPointfile g_pointfile;\r
-\r
-#endif\r
+/*
+   Copyright (C) 1999-2006 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
+ */
+
+//-----------------------------------------------------------------------------
+//
+// DESCRIPTION:
+// header for Pointfile stuff (adding a C++ class to wrap the pointfile thing in the SAX parser)
+//
+
+#if !defined( INCLUDED_POINTS_H )
+#define INCLUDED_POINTS_H
+
+void Pointfile_Clear();
+
+void Pointfile_Delete(void);
+
+void Pointfile_Construct();
+
+void Pointfile_Destroy();
+
+class ISAXHandler;
+
+extern ISAXHandler &g_pointfile;
+
+#endif