qbsp: make Contents_Priority public
This commit is contained in:
parent
39aa7dcd0f
commit
3efc9c1f3e
|
|
@ -25,6 +25,7 @@
|
||||||
extern int splitnodes;
|
extern int splitnodes;
|
||||||
|
|
||||||
void DetailToSolid(node_t *node);
|
void DetailToSolid(node_t *node);
|
||||||
|
int Contents_Priority(int contents);
|
||||||
const char *GetContentsName( int Contents );
|
const char *GetContentsName( int Contents );
|
||||||
void DivideFacet(face_t *in, qbsp_plane_t *split, face_t **front, face_t **back);
|
void DivideFacet(face_t *in, qbsp_plane_t *split, face_t **front, face_t **back);
|
||||||
void CalcSurfaceInfo(surface_t *surf);
|
void CalcSurfaceInfo(surface_t *surf);
|
||||||
|
|
|
||||||
|
|
@ -751,7 +751,7 @@ GetContentsName( int Contents ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int Contents_Priority(int contents)
|
int Contents_Priority(int contents)
|
||||||
{
|
{
|
||||||
switch (contents) {
|
switch (contents) {
|
||||||
case CONTENTS_SOLID: return 7;
|
case CONTENTS_SOLID: return 7;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue