- Added rollIntensity and rollWave to A_QuakeEx.

- Instead of moving the camera around, it rolls the camera.
- This only has an effect in GZDoom.
This commit is contained in:
MajorCooke 2016-04-25 09:56:01 -05:00 committed by Christoph Oelckers
parent 660aff562d
commit c972caa9f3
9 changed files with 44 additions and 17 deletions

View file

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