mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add Tyron's sound
This commit is contained in:
parent
dc350a77df
commit
ab8126b706
3 changed files with 17 additions and 1 deletions
|
|
@ -344,10 +344,20 @@ static void ShrinkLaserThinker(mobj_t *pohbee, mobj_t *gun, mobj_t *laser)
|
|||
particle->destscale = 0;
|
||||
|
||||
//particle->momz = 2 * particle->scale * P_MobjFlip(particle);
|
||||
|
||||
if (S_SoundPlaying(laser, sfx_beam01) == false)
|
||||
{
|
||||
S_StartSound(laser, sfx_beam01);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
laser->renderflags |= RF_DONTDRAW;
|
||||
|
||||
if (S_SoundPlaying(laser, sfx_beam01) == true)
|
||||
{
|
||||
S_StopSound(laser);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1113,7 +1113,10 @@ sfxinfo_t S_sfx[NUMSFX] =
|
|||
{"ffbonc", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
|
||||
// Shout message sound effect
|
||||
{"sysmsg", false, 60, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Server notification"},
|
||||
{"sysmsg", false, 255, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Server notification"},
|
||||
|
||||
// Shrink laser beam
|
||||
{"beam01", false, 32, 64, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
|
||||
// SRB2Kart - Engine sounds
|
||||
// Engine class A
|
||||
|
|
|
|||
|
|
@ -1180,6 +1180,9 @@ typedef enum
|
|||
// Shout message sound effect
|
||||
sfx_sysmsg,
|
||||
|
||||
// Shrink laser
|
||||
sfx_beam01,
|
||||
|
||||
// Next up: UNIQUE ENGINE SOUNDS! Hoooooo boy...
|
||||
// Engine class A - Low Speed, Low Weight
|
||||
sfx_krta00,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue