mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 10:32:27 +00:00
- fixed a few bad scaling values.
This commit is contained in:
parent
f58d45dbe0
commit
ecd0c8c1ff
4 changed files with 21 additions and 7 deletions
|
@ -127,7 +127,7 @@ void BuildGrenade(int nPlayer)
|
|||
|
||||
pActor->spr.pos = pPlayerActor->spr.pos.plusZ(-15);
|
||||
pActor->spr.shade = -64;
|
||||
pActor->spr.scale = DVector2(0.34375, 0.3125);
|
||||
pActor->spr.scale = DVector2(0.3125, 0.3125);
|
||||
pActor->spr.cstat = CSTAT_SPRITE_INVISIBLE;
|
||||
pActor->spr.picnum = 1;
|
||||
pActor->spr.pal = 0;
|
||||
|
|
|
@ -61,7 +61,7 @@ DExhumedActor* BuildWasp(DExhumedActor* pActor, const DVector3& pos, sectortype*
|
|||
|
||||
if (bEggWasp)
|
||||
{
|
||||
pActor->spr.scale = DVector2(0.34375, 0.3125);
|
||||
pActor->spr.scale = DVector2(0.3125, 0.3125);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -9641,7 +9641,7 @@ int DoMicro(DSWActor* actor)
|
|||
|
||||
SetOwner(GetOwner(actor), actorNew);
|
||||
actorNew->spr.shade = -40;
|
||||
actorNew->spr.scale = DVector2(0.34375, 0.3125);
|
||||
actorNew->spr.scale = DVector2(0.3125, 0.3125);
|
||||
actorNew->opos = actor->opos;
|
||||
actorNew->vel.Z = -actor->vel.Z;
|
||||
actorNew->spr.cstat |= (CSTAT_SPRITE_YCENTER);
|
||||
|
@ -16218,7 +16218,7 @@ int SpawnSwordSparks(PLAYER* pp, sectortype* hit_sect, walltype* hit_wall, const
|
|||
|
||||
auto actorNew = SpawnActor(STAT_MISSILE, UZI_SMOKE, s_UziSmoke, hit_sect, hitpos, hit_ang, 0);
|
||||
actorNew->spr.shade = -40;
|
||||
actorNew->spr.scale = DVector2(0.34375, 0.3125);
|
||||
actorNew->spr.scale = DVector2(0.3125, 0.3125);
|
||||
SetOwner(pp->actor, actorNew);
|
||||
actorNew->spr.cstat |= (CSTAT_SPRITE_TRANSLUCENT | CSTAT_SPRITE_YCENTER);
|
||||
actorNew->spr.hitag = LUMINOUS; //Always full brightness
|
||||
|
@ -16233,7 +16233,7 @@ int SpawnSwordSparks(PLAYER* pp, sectortype* hit_sect, walltype* hit_wall, const
|
|||
|
||||
actorNew = SpawnActor(STAT_MISSILE, UZI_SPARK, s_UziSpark, hit_sect, hitpos, hit_ang, 0);
|
||||
actorNew->spr.shade = -40;
|
||||
actorNew->spr.scale = DVector2(0.34375, 0.3125);
|
||||
actorNew->spr.scale = DVector2(0.3125, 0.3125);
|
||||
SetOwner(pp->actor, actorNew);
|
||||
actorNew->user.spal = actorNew->spr.pal = PALETTE_DEFAULT;
|
||||
actorNew->spr.cstat |= (CSTAT_SPRITE_YCENTER);
|
||||
|
@ -17001,7 +17001,7 @@ int InitEnemyFireball(DSWActor* actor)
|
|||
DVector3(actor->spr.pos, nz), actor->spr.Angles.Yaw, GORO_FIREBALL_VELOCITY);
|
||||
|
||||
actorNew->spr.hitag = LUMINOUS; //Always full brightness
|
||||
actorNew->spr.scale = DVector2(0.34375, 0.3125);
|
||||
actorNew->spr.scale = DVector2(0.3125, 0.3125);
|
||||
actorNew->spr.shade = -40;
|
||||
|
||||
SetOwner(actor, actorNew);
|
||||
|
|
|
@ -91,7 +91,7 @@ class RedneckCheerleader : DukeActor
|
|||
}
|
||||
override void Initialize()
|
||||
{
|
||||
self.scale = (0.34375, 0.3125);
|
||||
self.scale = (0.3125, 0.3125);
|
||||
self.setClipDistFromTile();
|
||||
}
|
||||
}
|
||||
|
@ -450,6 +450,20 @@ class RedneckVixen : DukeActor
|
|||
+KILLCOUNT;
|
||||
+LOOKALLAROUND;
|
||||
}
|
||||
|
||||
override void Initialize()
|
||||
{
|
||||
if (self.pal == 34)
|
||||
{
|
||||
self.SetScale(0.34375, 0.328125);
|
||||
}
|
||||
else
|
||||
{
|
||||
self.SetScale(0.34375, 0.3125);
|
||||
}
|
||||
self.setClipDistFromTile();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// only new thing in Route 66.
|
||||
|
|
Loading…
Reference in a new issue