mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-06-04 19:10:59 +00:00
- 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:
parent
660aff562d
commit
c972caa9f3
9 changed files with 44 additions and 17 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue