qbsp: expose LoadBrush in header

This commit is contained in:
Eric Wasylishen 2017-03-26 16:41:16 -06:00
parent af355a87be
commit 62f17545b9
2 changed files with 4 additions and 3 deletions

View File

@ -793,9 +793,7 @@ LoadBrush
Converts a mapbrush to a bsp brush
===============
*/
static brush_t *
LoadBrush(const mapbrush_t *mapbrush, const vec3_t rotate_offset,
const int hullnum)
brush_t *LoadBrush(const mapbrush_t *mapbrush, const vec3_t rotate_offset, const int hullnum)
{
hullbrush_t hullbrush;
brush_t *brush;

View File

@ -372,6 +372,9 @@ typedef struct brush_s {
short lmshift; /* lightmap scaling (qu/lightmap pixel), passed to the light util */
} brush_t;
class mapbrush_t;
brush_t *LoadBrush(const mapbrush_t *mapbrush, const vec3_t rotate_offset, const int hullnum);
void FreeBrushes(brush_t *brushlist);
int FindPlane(const plane_t *plane, int *side);