MCPcopy Create free account
hub / github.com/NetHack/NetHack / early_init

Function early_init

src/allmain.c:32–45  ·  view source on GitHub ↗

ARGSUSED*/

Source from the content-addressed store, hash-verified

30
31/*ARGSUSED*/
32void
33early_init(int argc USED_FOR_CRASHREPORT, char *argv[] USED_FOR_CRASHREPORT)
34{
35 program_state_init();
36#ifdef CRASHREPORT
37 /* Do this as early as possible, but let ports do other things first. */
38 crashreport_init(argc, argv);
39#endif
40 decl_globals_init();
41 objects_globals_init();
42 monst_globals_init();
43 sys_early_init();
44 runtime_info_init();
45}
46
47staticfn void
48moveloop_preamble(boolean resuming)

Callers 9

WinMainFunction · 0.85
mainFunction · 0.85
libnhmain.cFile · 0.85
MAINFunction · 0.85
mainFunction · 0.85
pcmain.cFile · 0.85
WinMainFunction · 0.85
MAINFunction · 0.85
mainFunction · 0.85

Calls 7

program_state_initFunction · 0.85
crashreport_initFunction · 0.85
decl_globals_initFunction · 0.85
objects_globals_initFunction · 0.85
monst_globals_initFunction · 0.85
sys_early_initFunction · 0.85
runtime_info_initFunction · 0.85

Tested by

no test coverage detected