| 1197 | } |
| 1198 | |
| 1199 | static void MCCTextures_CheckSource(struct ZipfileSource* source) { |
| 1200 | struct HttpRequest item; |
| 1201 | cc_result res; |
| 1202 | if (!Fetcher_Get(source->reqID, &item)) return; |
| 1203 | |
| 1204 | source->downloaded = true; |
| 1205 | res = source->Process(&item); |
| 1206 | |
| 1207 | if (res) { |
| 1208 | cc_string name = String_FromReadonly(source->name); |
| 1209 | Logger_SysWarn2(res, "making", &name); |
| 1210 | } |
| 1211 | HttpRequest_Free(&item); |
| 1212 | |
| 1213 | if (++numDefaultZipProcessed < numDefaultZipSources) return; |
| 1214 | MCCTextures_CreateDefaultZip(); |
| 1215 | } |
| 1216 | |
| 1217 | static void MCCTextures_CheckStatus(void) { |
| 1218 | int i; |
no test coverage detected