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

Function IsFileInDoorPage

editor/OrphanRemoveDlg.cpp:112–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112bool IsFileInDoorPage(char *filename) {
113 mngs_door_page doorpage;
114 int i;
115
116 for (i = 0; i < MAX_DOORS; i++) {
117 if (Doors[i].used) {
118 mng_AssignDoorToDoorPage(i, &doorpage);
119 if (!stricmp(doorpage.close_sound_name, filename))
120 return true;
121 if (!stricmp(doorpage.image_name, filename))
122 return true;
123 if (!stricmp(doorpage.open_sound_name, filename))
124 return true;
125 }
126 }
127 return false;
128}
129
130bool IsFileInGenericPage(char *filename) {
131 mngs_generic_page genericpage;

Callers 1

IsFileUsedFunction · 0.85

Calls 1

mng_AssignDoorToDoorPageFunction · 0.85

Tested by

no test coverage detected