mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 06:36:54 +00:00
35 lines
1.1 KiB
C
35 lines
1.1 KiB
C
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
//=============================================================================//
|
|
|
|
#ifndef WRITEBSP_H
|
|
#define WRITEBSP_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "bspfile.h"
|
|
#include "utlmap.h"
|
|
|
|
struct node_t;
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Emits occluder faces
|
|
//-----------------------------------------------------------------------------
|
|
void EmitOccluderFaces (node_t *node);
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Purpose: Free the list of faces stored at the leaves
|
|
//-----------------------------------------------------------------------------
|
|
void FreeLeafFaces( face_t *pLeafFaceList );
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Purpose: Make sure that we have a water lod control entity if we have water in the map.
|
|
//-----------------------------------------------------------------------------
|
|
void EnsurePresenceOfWaterLODControlEntity( void );
|
|
|
|
#endif // WRITEBSP_H
|