]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/DShape.h
h2data: use static for homonyms
[xonotic/netradiant.git] / contrib / bobtoolz / DShape.h
index 1a062863c99ff97786e6f8812fa428be8c0fd009..31c66e13034dbe2292fa2451bbdd4a37d929914c 100644 (file)
@@ -31,9 +31,7 @@
 #include <stdlib.h>
 #include "mathlib.h"
 #include "DMap.h"
-
 class DBrush;
-
 class DEntity;
 
 // defines for polygon stuff
@@ -41,32 +39,25 @@ const int MAX_POLYGON_FACES = 128;
 
 extern bool bFacesAll[];
 
-class DShape {
+class DShape
+{
 public:
-    bool BuildPit(vec3_t min, vec3_t max);
-
-    void BuildBorderedPrism(vec3_t min, vec3_t max, int nSides, int nBorder, bool bAlignTop);
-
-    void BuildInversePrism(vec3_t min, vec3_t max, int nSides, bool bAlignTop);
-
-    void BuildRegularPrism(vec3_t min, vec3_t max, int nSides, bool bAlignTop);
-
-    int m_nNextBrush;
-
-    static DBrush *GetBoundingCube_Ext(vec3_t min, vec3_t max, const char *textureName, bool *bUseFaces = bFacesAll,
-                                       bool detail = false);
-
-    DShape();
+bool BuildPit( vec3_t min, vec3_t max );
+void BuildBorderedPrism( vec3_t min, vec3_t max, int nSides, int nBorder, bool bAlignTop );
+void BuildInversePrism( vec3_t min, vec3_t max, int nSides, bool bAlignTop );
+void BuildRegularPrism( vec3_t min, vec3_t max, int nSides, bool bAlignTop );
 
-    virtual ~DShape();
+int m_nNextBrush;
+static DBrush* GetBoundingCube_Ext( vec3_t min, vec3_t max, const char* textureName, bool* bUseFaces = bFacesAll, bool detail = false );
 
-    void Commit();
+DShape();
+virtual ~DShape();
 
+void Commit();
 private:
-    DBrush *
-    GetBoundingCube(vec3_t min, vec3_t max, const char *textureName, DEntity *ent = NULL, bool *bUseFaces = bFacesAll);
+DBrush* GetBoundingCube( vec3_t min, vec3_t max, const char* textureName, DEntity* ent = NULL, bool* bUseFaces = bFacesAll );
 
-    DMap m_Container;
+DMap m_Container;
 };
 
 #endif // !defined(AFX_DSHAPE_H__0B30B302_9D21_4C2D_836A_61F3C8D4244D__INCLUDED_)