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

Function diablo_init

Source/diablo.cpp:253–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253void diablo_init()
254{
255 init_create_window();
256
257 SFileEnableDirectAccess(TRUE);
258 init_archives();
259 atexit(init_cleanup);
260
261 UiInitialize();
262#ifdef SPAWN
263 UiSetSpawned(TRUE);
264#endif
265 atexit(UiDestroy);
266
267 ReadOnlyTest();
268
269 InitHash();
270
271 diablo_init_screen();
272
273 snd_init(NULL);
274 atexit(sound_cleanup);
275 sound_init();
276 atexit(effects_cleanup_sfx);
277}
278
279void diablo_splash()
280{

Callers 1

DiabloMainFunction · 0.85

Calls 10

init_create_windowFunction · 0.85
SFileEnableDirectAccessFunction · 0.85
init_archivesFunction · 0.85
UiInitializeFunction · 0.85
UiSetSpawnedFunction · 0.85
ReadOnlyTestFunction · 0.85
InitHashFunction · 0.85
diablo_init_screenFunction · 0.85
snd_initFunction · 0.85
sound_initFunction · 0.85

Tested by

no test coverage detected