Use ViewRoll instead of CamRoll, and removed CamRoll entirely. Begin work on interpolation.

This commit is contained in:
MajorCooke 2016-04-25 13:27:27 -05:00 committed by Christoph Oelckers
commit be9b25e760
5 changed files with 8 additions and 10 deletions

View file

@ -238,7 +238,6 @@ void AActor::Serialize(FArchive &arc)
<< Angles.Yaw
<< Angles.Pitch
<< Angles.Roll
<< Angles.CamRoll
<< frame
<< Scale
<< RenderStyle
@ -4593,7 +4592,7 @@ APlayerPawn *P_SpawnPlayer (FPlayerStart *mthing, int playernum, int flags)
}
mobj->Angles.Yaw = SpawnAngle;
mobj->Angles.Pitch = mobj->Angles.Roll = mobj->Angles.CamRoll = 0.;
mobj->Angles.Pitch = mobj->Angles.Roll = 0.;
mobj->health = p->health;
// [RH] Set player sprite based on skin
@ -5075,7 +5074,7 @@ AActor *P_SpawnMapThing (FMapThing *mthing, int position)
if (mthing->pitch)
mobj->Angles.Pitch = (double)mthing->pitch;
if (mthing->roll)
mobj->Angles.Roll = mobj->Angles.CamRoll = (double)mthing->roll;
mobj->Angles.Roll = (double)mthing->roll;
if (mthing->score)
mobj->Score = mthing->score;
if (mthing->fillcolor)