- first stage of converting actor angles to float complete
Patched up everything so that it compiles without errors again. This only addresses code related to some compile error. A large portion of the angle code still uses angle_t and converts back and forth.
This commit is contained in:
parent
c64eee5b15
commit
671291227e
112 changed files with 1132 additions and 1232 deletions
|
|
@ -1106,7 +1106,7 @@ void R_DrawHeightPlanes(fixed_t height)
|
|||
|
||||
void R_DrawSinglePlane (visplane_t *pl, fixed_t alpha, bool additive, bool masked)
|
||||
{
|
||||
// pl->angle = pa<<ANGLETOFINESHIFT;
|
||||
// pl->_f_angle() = pa<<ANGLETOFINESHIFT;
|
||||
|
||||
if (pl->left >= pl->right)
|
||||
return;
|
||||
|
|
@ -1243,7 +1243,7 @@ void R_DrawSkyBoxes ()
|
|||
viewx = viewpos.x;
|
||||
viewy = viewpos.y;
|
||||
viewz = viewpos.z;
|
||||
viewangle = savedangle + sky->PrevAngle + FixedMul(r_TicFrac, sky->angle - sky->PrevAngle);
|
||||
viewangle = savedangle + FLOAT2ANGLE(sky->PrevAngles.Yaw.Degrees) + FixedMul(r_TicFrac, sky->_f_angle() - FLOAT2ANGLE(sky->PrevAngles.Yaw.Degrees));
|
||||
|
||||
R_CopyStackedViewParameters();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue