- converted the last fixed point remnants in g_heretic.

This commit is contained in:
Christoph Oelckers 2016-03-21 10:24:52 +01:00
parent 11e613f578
commit b29058c1ab
4 changed files with 5 additions and 5 deletions

View File

@ -51,7 +51,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_TimeBomb)
self->AddZ(32, false); self->AddZ(32, false);
self->RenderStyle = STYLE_Add; self->RenderStyle = STYLE_Add;
self->alpha = FRACUNIT; self->alpha = OPAQUE;
P_RadiusAttack (self, self->target, 128, 128, self->DamageType, RADF_HURTSOURCE); P_RadiusAttack (self, self->target, 128, 128, self->DamageType, RADF_HURTSOURCE);
P_CheckSplash(self, 128); P_CheckSplash(self, 128);
return 0; return 0;

View File

@ -172,9 +172,9 @@ DEFINE_ACTION_FUNCTION(AActor, A_VolcanoBlast)
count = 1 + (pr_blast() % 3); count = 1 + (pr_blast() % 3);
for (i = 0; i < count; i++) for (i = 0; i < count; i++)
{ {
blast = Spawn("VolcanoBlast", self->PosPlusZ(44*FRACUNIT), ALLOW_REPLACE); blast = Spawn("VolcanoBlast", self->PosPlusZ(44.), ALLOW_REPLACE);
blast->target = self; blast->target = self;
blast->Angles.Yaw = pr_blast() * (360 / 256.f); blast->Angles.Yaw = pr_blast() * (360 / 256.);
blast->VelFromAngle(1.); blast->VelFromAngle(1.);
blast->Vel.Z = 2.5 + pr_blast() / 64.; blast->Vel.Z = 2.5 + pr_blast() / 64.;
S_Sound (blast, CHAN_BODY, "world/volcano/shoot", 1, ATTN_NORM); S_Sound (blast, CHAN_BODY, "world/volcano/shoot", 1, ATTN_NORM);

View File

@ -1247,7 +1247,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_PhoenixPuff)
DAngle angle; DAngle angle;
//[RH] Heretic never sets the target for seeking //[RH] Heretic never sets the target for seeking
//P_SeekerMissile (self, ANGLE_1*5, ANGLE_1*10); //P_SeekerMissile (self, 5, 10);
puff = Spawn("PhoenixPuff", self->Pos(), ALLOW_REPLACE); puff = Spawn("PhoenixPuff", self->Pos(), ALLOW_REPLACE);
angle = self->Angles.Yaw + 90; angle = self->Angles.Yaw + 90;
puff->Vel = DVector3(angle.ToVector(1.3), 0); puff->Vel = DVector3(angle.ToVector(1.3), 0);

View File

@ -162,7 +162,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_WhirlwindSeek)
{ {
return 0; return 0;
} }
P_SeekerMissile(self, ANGLE_1 * 10, ANGLE_1 * 30); P_SeekerMissile(self, 10, 30);
return 0; return 0;
} }