qbsp: expose LoadBrush in header
This commit is contained in:
parent
af355a87be
commit
62f17545b9
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue