MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / Sound_Tick

Method Sound_Tick

Source/Fodder.cpp:3864–3873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3862}
3863
3864void cFodder::Sound_Tick() {
3865 int16* a4 = mSound_Timer;
3866
3867 for (int16 d3 = 3; d3 >= 0; --d3) {
3868 if (a4[d3] != 0) {
3869 a4[d3]--;
3870 }
3871 }
3872
3873}
3874void cFodder::Sound_Play(sSprite* pSprite, int16 pSoundEffect, int16 pPriority) {
3875
3876 if (mSoundDisabled)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected