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 15:54:56 +01:00
commit e8b9a55378
36 changed files with 142 additions and 175 deletions

View file

@ -323,7 +323,7 @@ Class TranslocatorAfterimage : Actor
angle = target.angle-90;
roll = -90;
Vector3 x, y, z;
[x, y, z] = dt_CoordUtil.GetAxes(0,angle,roll);
[x, y, z] = dt_Utility.GetAxes(angle,0,roll);
int lump = Wads.CheckNumForFullname("models/TeleSoldier_a.3d");
String anivfile = Wads.ReadLump(lump);
int numframes = anivfile.ByteAt(0);
@ -417,7 +417,7 @@ Class Translocator : UTWeapon
invoker.FireEffect();
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 origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),10*x-8*y-12*z);
let p = Spawn("TranslocatorModule",origin);
p.target = self;
@ -592,7 +592,7 @@ Class OldTranslocator : Translocator
invoker.FireEffect();
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 origin = (pos.x,pos.y,player.viewz)+15.0*x-10.0*y-4.0*z;
let p = Spawn("OldTranslocatorModule",origin);
p.target = self;