summaryrefslogtreecommitdiff
path: root/utils/vbsp/csg.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /utils/vbsp/csg.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'utils/vbsp/csg.h')
-rw-r--r--utils/vbsp/csg.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/utils/vbsp/csg.h b/utils/vbsp/csg.h
new file mode 100644
index 0000000..158dcf4
--- /dev/null
+++ b/utils/vbsp/csg.h
@@ -0,0 +1,32 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef CSG_H
+#define CSG_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+// Print a CONTENTS_ mask to a string.
+void PrintBrushContentsToString( int contents, char *pOut, int nMaxChars );
+
+// Print a CONTENTS_ mask with Msg().
+void PrintBrushContents( int contents );
+
+void FixupAreaportalWaterBrushes( bspbrush_t *pList );
+
+bspbrush_t *MakeBspBrushList (int startbrush, int endbrush,
+ const Vector& clipmins, const Vector& clipmaxs, int detailScreen);
+bspbrush_t *MakeBspBrushList (mapbrush_t **pBrushes, int nBrushCount, const Vector& clipmins, const Vector& clipmaxs);
+
+void WriteBrushMap (char *name, bspbrush_t *list);
+
+bspbrush_t *ChopBrushes (bspbrush_t *head);
+bspbrush_t *IntersectBrush (bspbrush_t *a, bspbrush_t *b);
+qboolean BrushesDisjoint (bspbrush_t *a, bspbrush_t *b);
+
+#endif // CSG_H