| 1129 | } |
| 1130 | |
| 1131 | static void MCCTextures_CheckExistence(void) { |
| 1132 | cc_string path = String_FromReadonly(Game_Version.DefaultTexpack); |
| 1133 | zipEntriesFound = 0; |
| 1134 | |
| 1135 | ZipFile_InspectEntries(&path, DefaultZip_SelectEntry); |
| 1136 | /* >= in case somehow have say "gui.png", "GUI.png" */ |
| 1137 | allZipEntriesExist = zipEntriesFound >= Array_Elems(defaultZipEntries); |
| 1138 | |
| 1139 | /* Need touch.png from ClassiCube textures */ |
| 1140 | if (!allZipEntriesExist) ccTexturesExist = false; |
| 1141 | } |
| 1142 | |
| 1143 | static void MCCTextures_CountMissing(void) { |
| 1144 | int i; |
nothing calls this directly
no test coverage detected