Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
973 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef CSG_H
  7. #define CSG_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. // Print a CONTENTS_ mask to a string.
  12. void PrintBrushContentsToString( int contents, char *pOut, int nMaxChars );
  13. // Print a CONTENTS_ mask with Msg().
  14. void PrintBrushContents( int contents );
  15. void FixupAreaportalWaterBrushes( bspbrush_t *pList );
  16. bspbrush_t *MakeBspBrushList (int startbrush, int endbrush,
  17. const Vector& clipmins, const Vector& clipmaxs, int detailScreen);
  18. bspbrush_t *MakeBspBrushList (mapbrush_t **pBrushes, int nBrushCount, const Vector& clipmins, const Vector& clipmaxs);
  19. void WriteBrushMap (char *name, bspbrush_t *list);
  20. bspbrush_t *ChopBrushes (bspbrush_t *head);
  21. bspbrush_t *IntersectBrush (bspbrush_t *a, bspbrush_t *b);
  22. qboolean BrushesDisjoint (bspbrush_t *a, bspbrush_t *b);
  23. #endif // CSG_H