]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - include/imap.h
uncrustify! now the code is only ugly on the *inside*
[xonotic/netradiant.git] / include / imap.h
index cddbadf7325ce8b3c1d2d957a8e444b2772d934c..2406dde195ddb862b3b91af83fa97591eabd0665 100644 (file)
@@ -1,23 +1,23 @@
 /*
-Copyright (C) 1999-2007 id Software, Inc. and contributors.
-For a list of contributors, see the accompanying CONTRIBUTORS file.
+   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.
+   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 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.
+   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
-*/
+   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
+ */
 
 //----------------------------------------------------------------------------
 //
@@ -36,43 +36,43 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 #define MAP_MAJOR "map"
 /*!
-define a GUID for this interface so everyone can acces and reference it
-{75076973-3414-49c9-be5b-2378ec5601af}
-*/
+   define a GUID for this interface so everyone can acces and reference it
+   {75076973-3414-49c9-be5b-2378ec5601af}
+ */
 static const GUID QERPlugMapTable_GUID =
 { 0x75076973, 0x3414, 0x49c9, { 0xbe, 0x5b, 0x23, 0x78, 0xec, 0x56, 0x01, 0xaf } };
 
 /*!
-read from a stream into a list of entities
-\param in the input stream. For regular map file parsing it's possible to copy the content in a text buffer
-and use the old school parser
-\param ents the list of entities read from the stream. They are not linked to the world, and their brushes
-are not either.
-*/
-typedef void (* PFN_MAP_READ) (IDataStream *in, CPtrArray *ents); ///< read from a stream into a list of entities
-typedef void (* PFN_MAP_WRITE) (CPtrArray *ents, IDataStream *out); ///< save a list of entities into a stream
+   read from a stream into a list of entities
+   \param in the input stream. For regular map file parsing it's possible to copy the content in a text buffer
+   and use the old school parser
+   \param ents the list of entities read from the stream. They are not linked to the world, and their brushes
+   are not either.
+ */
+typedef void ( *PFN_MAP_READ )( IDataStream *in, CPtrArray *ents ); ///< read from a stream into a list of entities
+typedef void ( *PFN_MAP_WRITE )( CPtrArray *ents, IDataStream *out ); ///< save a list of entities into a stream
 
 struct _QERPlugMapTable
 {
-  int m_nSize;
-  PFN_MAP_READ m_pfnMap_Read;
-  PFN_MAP_WRITE m_pfnMap_Write;
+       int m_nSize;
+       PFN_MAP_READ m_pfnMap_Read;
+       PFN_MAP_WRITE m_pfnMap_Write;
 };
 
 /*!
-this set of macros will define the functions to map on a given table
-  it should be used in the headers (see modules source, plugin.h)
-we don't want those defines in the part where WE implement the Map_LoadFile
-  so we're using a define to disable .. should find a standard define name
-  (for instance QCOM_CLIENT / QCOM_SERVER ?)
-  or the name should be specific to any interface .. it's not a client/server thing here anyway
-*/
+   this set of macros will define the functions to map on a given table
+   it should be used in the headers (see modules source, plugin.h)
+   we don't want those defines in the part where WE implement the Map_LoadFile
+   so we're using a define to disable .. should find a standard define name
+   (for instance QCOM_CLIENT / QCOM_SERVER ?)
+   or the name should be specific to any interface .. it's not a client/server thing here anyway
+ */
 #ifdef USE_MAPTABLE_DEFINE
 #ifndef __MAPTABLENAME
-/*! 
-TTimo NOTE: this is the default table name we map to
-  if you are using a different table name, just define __MAPTABLENAME before you include the imap.h header
-*/
+/*!
+   TTimo NOTE: this is the default table name we map to
+   if you are using a different table name, just define __MAPTABLENAME before you include the imap.h header
+ */
 #define __MAPTABLENAME g_MapTable
 #endif
 #define Map_Read __MAPTABLENAME.m_pfnMap_Read