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

Function gr_init

sys/msdos/video.c:558–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556}
557
558void
559gr_init(void)
560{
561 windowprocs.wincap2 &= ~WC2_EXTRACOLORS;
562#ifdef SCREEN_VGA
563 if (iflags.usevga) {
564 vga_Init();
565 } else
566#endif
567#ifdef SCREEN_VESA
568 if (iflags.usevesa) {
569 vesa_Init();
570 } else
571#endif
572#ifdef SCREEN_8514
573 if (iflags.use8514) {
574 v8514_Init();
575 } else
576#endif
577 {}
578}
579
580void
581gr_finish(void)

Callers 3

pcunix.cFile · 0.85
pcsys.cFile · 0.85
getttyFunction · 0.85

Calls 2

vga_InitFunction · 0.85
vesa_InitFunction · 0.85

Tested by

no test coverage detected