MCPcopy Create free account
hub / github.com/diasurgical/devilution / PlaySFX

Function PlaySFX

Source/effects.cpp:1029–1033  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1027}
1028
1029void PlaySFX(int psfx)
1030{
1031 psfx = RndSFX(psfx);
1032 PlaySFX_priv(&sgSFX[psfx], FALSE, 0, 0);
1033}
1034
1035void PlaySFX_priv(TSFX *pSFX, BOOL loc, int x, int y)
1036{

Callers 15

PerformSpellActionFunction · 0.85
BlurInventoryFunction · 0.85
OperateMushPatchFunction · 0.85
OperateInnSignChestFunction · 0.85
gmenu_up_downFunction · 0.85
gmenu_presskeysFunction · 0.85
gmenu_left_mouseFunction · 0.85
STextUpFunction · 0.85
STextDownFunction · 0.85
STextPriorFunction · 0.85
STextNextFunction · 0.85
S_HealerEnterFunction · 0.85

Calls 2

RndSFXFunction · 0.85
PlaySFX_privFunction · 0.85

Tested by

no test coverage detected