4.10 support:
- CORRECTPIXELSTRETCH where needed on models. - Replace CoordUtil.GetAxes with quaternion version.
This commit is contained in:
parent
46d7a67f3b
commit
e8b9a55378
36 changed files with 142 additions and 175 deletions
|
|
@ -103,7 +103,7 @@ Class UTPlayer : DoomPlayer
|
|||
Player.StartItem "ImpactHammer";
|
||||
Player.StartItem "MiniAmmo", 30;
|
||||
Player.DamageScreenColor "FF 00 00";
|
||||
Player.ViewHeight 46;
|
||||
Player.ViewHeight 44;
|
||||
Player.GruntSpeed 20;
|
||||
Player.Portrait "TNT1A0";
|
||||
+NOMENU;
|
||||
|
|
@ -610,7 +610,7 @@ Class UTPlayer : DoomPlayer
|
|||
Vector3 dir = (0,0,0);
|
||||
if ( vel.length() > double.epsilon ) dir = vel.unit();
|
||||
Vector3 x, y;
|
||||
[x, y] = dt_CoordUtil.GetAxes(pitch,angle,0);
|
||||
[x, y] = dt_Utility.GetAxes(angle,pitch,0);
|
||||
acceleration3 = x*player.cmd.forwardmove+y*player.cmd.sidemove;
|
||||
if ( player.cmd.buttons&BT_JUMP ) acceleration3.z = 0x500;
|
||||
else if ( player.cmd.buttons&BT_CROUCH ) acceleration3.z = -0x500;
|
||||
|
|
@ -639,7 +639,7 @@ Class UTPlayer : DoomPlayer
|
|||
if ( vel.length() > double.epsilon ) dir = vel.unit();
|
||||
double doomfriction = clamp(GetFriction()/ORIG_FRICTION,0.0,1.0);
|
||||
Vector3 x, y;
|
||||
[x, y] = dt_CoordUtil.GetAxes(pitch,angle,0);
|
||||
[x, y] = dt_Utility.GetAxes(angle,pitch,0);
|
||||
acceleration3 = x*player.cmd.forwardmove+y*player.cmd.sidemove;
|
||||
if ( player.cmd.buttons&BT_JUMP ) acceleration3.z = 0x500;
|
||||
else if ( player.cmd.buttons&BT_CROUCH ) acceleration3.z = -0x500;
|
||||
|
|
@ -2025,7 +2025,7 @@ Class UTWeapon : Weapon
|
|||
Vector2 hofs = RotateVector((dropper.radius,0),dropper.angle);
|
||||
SetOrigin(dropper.Vec3Offset(hofs.x,hofs.y,dropper.height*0.5),false);
|
||||
Vector3 x, y, z;
|
||||
[x, y, z] = dt_CoordUtil.GetAxes(dropper.pitch,dropper.angle,dropper.roll);
|
||||
[x, y, z] = dt_Utility.GetAxes(dropper.angle,dropper.pitch,dropper.roll);
|
||||
vel = x*12.0;
|
||||
vel.z += 4.0;
|
||||
angle = dropper.angle;
|
||||
|
|
@ -2215,7 +2215,7 @@ Class UTViewSpark : UTSpark
|
|||
return;
|
||||
}
|
||||
Vector3 x, y, z;
|
||||
[x, y, z] = dt_CoordUtil.GetAxes(target.pitch,target.angle,target.roll);
|
||||
[x, y, z] = dt_Utility.GetAxes(target.angle,target.pitch,target.roll);
|
||||
Vector3 origin = level.Vec3Offset(target.Vec2OffsetZ(0,0,target.player.viewz),x*ofs.x+y*ofs.y+z*ofs.z);
|
||||
SetOrigin(origin,true);
|
||||
bInvisible = (players[consoleplayer].camera != target);
|
||||
|
|
@ -2462,7 +2462,7 @@ Class UTViewSmoke : UTSmoke
|
|||
return;
|
||||
}
|
||||
Vector3 x, y, z;
|
||||
[x, y, z] = dt_CoordUtil.GetAxes(target.pitch,target.angle,target.roll);
|
||||
[x, y, z] = dt_Utility.GetAxes(target.angle,target.pitch,target.roll);
|
||||
Vector3 origin = level.Vec3Offset(target.Vec2OffsetZ(0,0,target.player.viewz),x*ofs.x+y*ofs.y+z*ofs.z);
|
||||
SetOrigin(origin,true);
|
||||
bInvisible = (players[consoleplayer].camera != target);
|
||||
|
|
@ -2778,7 +2778,7 @@ Class UTParticleMesh : Actor
|
|||
pz[i] = az/4194304.;
|
||||
}
|
||||
Vector3 x, y, z;
|
||||
[x, y, z] = dt_CoordUtil.GetAxes(pitch,angle,roll);
|
||||
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
|
||||
for ( int i=0; i<numverts; i++ )
|
||||
parts[i] = Spawn(pclass,level.Vec3Offset(pos,px[i]*scale.x*x+py[i]*scale.x*y+pz[i]*scale.y*z));
|
||||
animframe = 0;
|
||||
|
|
@ -2807,7 +2807,7 @@ Class UTParticleMesh : Actor
|
|||
double theta = animframe-framea;
|
||||
Vector3 posa, posb, ipos;
|
||||
Vector3 x, y, z;
|
||||
[x, y, z] = dt_CoordUtil.GetAxes(pitch,angle,roll);
|
||||
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
|
||||
for ( int i=0; i<numverts; i++ )
|
||||
{
|
||||
posa = (px[i+numverts*framea],py[i+numverts*framea],pz[i+numverts*framea]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue