| 23 | char gszProductName[MAX_PATH] = "Diablo v1.09"; |
| 24 | |
| 25 | void init_cleanup() |
| 26 | { |
| 27 | pfile_flush_W(); |
| 28 | |
| 29 | if (diabdat_mpq) { |
| 30 | SFileCloseArchive(diabdat_mpq); |
| 31 | diabdat_mpq = NULL; |
| 32 | } |
| 33 | if (patch_rt_mpq) { |
| 34 | SFileCloseArchive(patch_rt_mpq); |
| 35 | patch_rt_mpq = NULL; |
| 36 | } |
| 37 | if (hellfire_mpq) { |
| 38 | SFileCloseArchive(hellfire_mpq); |
| 39 | hellfire_mpq = NULL; |
| 40 | } |
| 41 | |
| 42 | NetClose(); |
| 43 | } |
| 44 | |
| 45 | void init_create_window() |
| 46 | { |
nothing calls this directly
no test coverage detected