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.

34 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef WRITEBSP_H
  7. #define WRITEBSP_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "bspfile.h"
  12. #include "utlmap.h"
  13. struct node_t;
  14. //-----------------------------------------------------------------------------
  15. // Emits occluder faces
  16. //-----------------------------------------------------------------------------
  17. void EmitOccluderFaces (node_t *node);
  18. //-----------------------------------------------------------------------------
  19. // Purpose: Free the list of faces stored at the leaves
  20. //-----------------------------------------------------------------------------
  21. void FreeLeafFaces( face_t *pLeafFaceList );
  22. //-----------------------------------------------------------------------------
  23. // Purpose: Make sure that we have a water lod control entity if we have water in the map.
  24. //-----------------------------------------------------------------------------
  25. void EnsurePresenceOfWaterLODControlEntity( void );
  26. #endif // WRITEBSP_H