mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-19 07:51:43 +00:00
Fixed dust scaling, changed sound captions
This commit is contained in:
parent
1aaccfcd5c
commit
5ac594abf5
2 changed files with 5 additions and 5 deletions
|
@ -12596,7 +12596,7 @@ void A_DustDevilThink(mobj_t *actor)
|
|||
fixed_t scale = actor->scale;
|
||||
mobj_t *layer = actor->tracer;
|
||||
INT32 bx, by, xl, xh, yl, yh;
|
||||
fixed_t radius = actor->radius + MAXRADIUS;
|
||||
fixed_t radius = actor->radius;
|
||||
|
||||
#ifdef HAVE_BLUA
|
||||
if (LUA_CallAction("A_DustDevilThink", actor))
|
||||
|
@ -12615,12 +12615,12 @@ void A_DustDevilThink(mobj_t *actor)
|
|||
}
|
||||
|
||||
//Spawn random dust around the column on the base.
|
||||
//TODO: Dust shouldn't be shrinking
|
||||
if (P_IsObjectOnGround(actor)) {
|
||||
angle_t dustang = ((P_RandomRange(0, 7)*ANGLE_45)>>ANGLETOFINESHIFT) & FINEMASK;
|
||||
mobj_t *dust = P_SpawnMobj(actor->x + 96 * FixedMul(scale, FINECOSINE(dustang)), actor->y + 96 * FixedMul(scale, FINESINE(dustang)), actor->z, MT_ARIDDUST);
|
||||
P_SetMobjState(dust, dust->info->spawnstate + P_RandomRange(0, 2));
|
||||
dust->scale = scale * 3;
|
||||
dust->destscale = scale * 3;
|
||||
P_SetScale(dust, dust->destscale);
|
||||
}
|
||||
|
||||
actor->extravalue1++;
|
||||
|
|
|
@ -311,7 +311,7 @@ sfxinfo_t S_sfx[NUMSFX] =
|
|||
{"s3k48", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Pulse"},
|
||||
{"s3k49", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Impact"},
|
||||
{"s3k4a", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Grab"},
|
||||
{"s3k4b", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Water splash"},
|
||||
{"s3k4b", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Splash"},
|
||||
{"s3k4c", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Heavy hit"},
|
||||
{"s3k4d", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Firing bullet"},
|
||||
{"s3k4e", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Big explosion"},
|
||||
|
@ -460,7 +460,7 @@ sfxinfo_t S_sfx[NUMSFX] =
|
|||
{"s3kcds", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Ominous rumbling"},
|
||||
{"s3kcdl", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Ominous rumbling"}, // ditto
|
||||
{"s3kces", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Wind tunnel"},
|
||||
{"s3kcel", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Wind tunnel"}, // ditto
|
||||
{"s3kcel", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Dust devil"}, // ditto
|
||||
{"s3kcfs", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
{"s3kcfl", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""}, // ditto
|
||||
{"s3kd0s", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Rising"},
|
||||
|
|
Loading…
Reference in a new issue