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

Function SFileDdaGetPos

SourceX/storm/storm.cpp:120–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120BOOL SFileDdaGetPos(HANDLE hFile, DWORD *current, DWORD *end)
121{
122 *current = 0;
123 *end = 1;
124
125 if (Mix_GetChunk(0) != SFileChunk || !Mix_Playing(0)) {
126 *current = *end;
127 }
128
129 return true;
130}
131
132BOOL SFileDdaSetVolume(HANDLE hFile, signed int bigvolume, signed int volume)
133{

Callers 1

effects_updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected