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

Method Music_Play_Tileset

Source/Fodder.cpp:2226–2236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2224}
2225
2226void cFodder::Music_Play_Tileset(int16_t pSong) {
2227
2228 if (!mStartParams->mDisableSound) {
2229 if (pSong == -1)
2230 pSong = 2;
2231
2232 mSound->Music_Play(mMapLoaded->getTileType() + 0x32, pSong);
2233 mSound->Music_SetVolume(-1, 0);
2234 }
2235 mMapTile_Music_Play = false;
2236}
2237
2238void cFodder::Camera_Pan_To_Target() {
2239 Camera_Pan_Set_Speed();

Callers

nothing calls this directly

Calls 3

getTileTypeMethod · 0.80
Music_SetVolumeMethod · 0.80
Music_PlayMethod · 0.45

Tested by

no test coverage detected