compile fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5065 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
cf0e8fd923
commit
655c09bd76
3 changed files with 3 additions and 2 deletions
|
@ -3348,7 +3348,7 @@ static void R_DrawPortal(batch_t *batch, batch_t **blist)
|
||||||
TransformDir(vup, paxis, vaxis, vup);
|
TransformDir(vup, paxis, vaxis, vup);
|
||||||
}
|
}
|
||||||
Matrix4x4_CM_ModelViewMatrixFromAxis(r_refdef.m_view, vpn, vright, vup, r_refdef.vieworg);
|
Matrix4x4_CM_ModelViewMatrixFromAxis(r_refdef.m_view, vpn, vright, vup, r_refdef.vieworg);
|
||||||
VectorAngles(vpn, vup, r_refdef.viewangles);
|
VectorAngles(vpn, vup, r_refdef.viewangles, true);
|
||||||
VectorCopy(r_refdef.vieworg, r_origin);
|
VectorCopy(r_refdef.vieworg, r_origin);
|
||||||
|
|
||||||
/*FIXME: the batch stuff should be done in renderscene*/
|
/*FIXME: the batch stuff should be done in renderscene*/
|
||||||
|
|
|
@ -3350,7 +3350,7 @@ static void R_DrawPortal(batch_t *batch, batch_t **blist)
|
||||||
TransformDir(vup, paxis, vaxis, vup);
|
TransformDir(vup, paxis, vaxis, vup);
|
||||||
}
|
}
|
||||||
Matrix4x4_CM_ModelViewMatrixFromAxis(r_refdef.m_view, vpn, vright, vup, r_refdef.vieworg);
|
Matrix4x4_CM_ModelViewMatrixFromAxis(r_refdef.m_view, vpn, vright, vup, r_refdef.vieworg);
|
||||||
VectorAngles(vpn, vup, r_refdef.viewangles);
|
VectorAngles(vpn, vup, r_refdef.viewangles, true);
|
||||||
VectorCopy(r_refdef.vieworg, r_origin);
|
VectorCopy(r_refdef.vieworg, r_origin);
|
||||||
|
|
||||||
/*FIXME: the batch stuff should be done in renderscene*/
|
/*FIXME: the batch stuff should be done in renderscene*/
|
||||||
|
|
|
@ -360,6 +360,7 @@ typedef struct QCC_type_s
|
||||||
} QCC_type_t;
|
} QCC_type_t;
|
||||||
int typecmp(QCC_type_t *a, QCC_type_t *b);
|
int typecmp(QCC_type_t *a, QCC_type_t *b);
|
||||||
int typecmp_lax(QCC_type_t *a, QCC_type_t *b);
|
int typecmp_lax(QCC_type_t *a, QCC_type_t *b);
|
||||||
|
QCC_type_t *QCC_PR_DuplicateType(QCC_type_t *in, pbool recurse);
|
||||||
|
|
||||||
typedef struct temp_s temp_t;
|
typedef struct temp_s temp_t;
|
||||||
void QCC_PurgeTemps(void);
|
void QCC_PurgeTemps(void);
|
||||||
|
|
Loading…
Reference in a new issue