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

Function IsFileInGameFile

editor/OrphanRemoveDlg.cpp:99–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99bool IsFileInGameFile(char *filename) {
100 int i;
101
102 for (i = 0; i < MAX_GAMEFILES; i++) {
103 if (Gamefiles[i].used) {
104 if (!stricmp(Gamefiles[i].name, filename)) {
105 return true;
106 }
107 }
108 }
109 return false;
110}
111
112bool IsFileInDoorPage(char *filename) {
113 mngs_door_page doorpage;

Callers 1

IsFileUsedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected