MCPcopy Create free account
hub / github.com/diasurgical/devilution / init_cleanup

Function init_cleanup

Source/init.cpp:25–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23char gszProductName[MAX_PATH] = "Diablo v1.09";
24
25void 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
45void init_create_window()
46{

Callers

nothing calls this directly

Calls 3

pfile_flush_WFunction · 0.85
SFileCloseArchiveFunction · 0.85
NetCloseFunction · 0.85

Tested by

no test coverage detected