MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / IsFileInSoundPage

Function IsFileInSoundPage

editor/OrphanRemoveDlg.cpp:222–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222bool IsFileInSoundPage(char *filename) {
223 mngs_sound_page soundpage;
224 int i;
225
226 for (i = 0; i < MAX_SOUNDS; i++) {
227 if (Sounds[i].used) {
228 mng_AssignSoundToSoundPage(i, &soundpage);
229 if (!stricmp(filename, soundpage.raw_name))
230 return true;
231 }
232 }
233
234 return false;
235}
236
237bool IsFileInTexturePage(char *filename) {
238 mngs_texture_page texpage;

Callers 1

IsFileUsedFunction · 0.85

Calls 1

Tested by

no test coverage detected