| 1155 | } |
| 1156 | |
| 1157 | int main(int argc, char **argv) |
| 1158 | { |
| 1159 | if (OpenApoc::config().parseOptions(argc, argv)) |
| 1160 | { |
| 1161 | return EXIT_FAILURE; |
| 1162 | } |
| 1163 | Framework fw("OpenApoc", false); |
| 1164 | |
| 1165 | fs::path dump_path = "dumped_data"; |
| 1166 | fs::remove_all(dump_path); |
| 1167 | |
| 1168 | for (auto &pck : pckFiles) |
| 1169 | dumpPck(dump_path, pck.prefix, pck.palette, pck.type); |
| 1170 | for (auto &pcx : pcxFiles) |
| 1171 | dumpPcx(dump_path, pcx); |
| 1172 | for (auto &raw : rawFiles) |
| 1173 | dumpRaw(dump_path, raw); |
| 1174 | for (auto &lof : loftempFiles) |
| 1175 | dumpLofTemps(dump_path, lof); |
| 1176 | |
| 1177 | return EXIT_SUCCESS; |
| 1178 | } |
nothing calls this directly
no test coverage detected