4.10 support:

- CORRECTPIXELSTRETCH where needed on models.
 - Replace CoordUtil.GetAxes with quaternion version.
This commit is contained in:
Marisa the Magician 2022-12-05 16:56:52 +01:00
commit 1c84fc4e88
49 changed files with 151 additions and 147 deletions

View file

@ -236,7 +236,7 @@ Class PeaceBarrel : Actor
A_StartSound("uflak/altfire",CHAN_WEAPON,CHANF_OVERLAP);
A_AlertMonsters();
Vector3 x, y, z;
[x, y, z] = dt_CoordUtil.GetAxes(pitch,angle,roll);
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
Vector3 dir = z*1.3;
Vector3 origin;
switch ( n )
@ -436,7 +436,7 @@ Class Peacemaker : UnrealWeapon
invoker.FireEffect();
A_StartSound("peace/throw",CHAN_WEAPON);
Vector3 x, y, z;
[x, y, z] = dt_CoordUtil.GetAxes(pitch,angle,roll);
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
Vector3 origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),10*x+y*5-z*3);
let p = Spawn("PeaceBarrel",origin);
if ( bAlt ) p.bAMBUSH = true;