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

Function copyright_banner_line

src/version.c:470–490  ·  view source on GitHub ↗

ARGUSED*/

Source from the content-addressed store, hash-verified

468
469/*ARGUSED*/
470const char *
471copyright_banner_line(int indx)
472{
473#ifdef COPYRIGHT_BANNER_A
474 if (indx == 1)
475 return COPYRIGHT_BANNER_A;
476#endif
477#ifdef COPYRIGHT_BANNER_B
478 if (indx == 2)
479 return COPYRIGHT_BANNER_B;
480#endif
481
482 if (indx == 3)
483 return nomakedefs.copyright_banner_c;
484
485#ifdef COPYRIGHT_BANNER_D
486 if (indx == 4)
487 return COPYRIGHT_BANNER_D;
488#endif
489 return "";
490}
491
492/* called by argcheck(allmain.c) from early_options(sys/xxx/xxxmain.c) */
493void

Callers 6

tty_init_nhwindowsFunction · 0.85
X11_init_nhwindowsFunction · 0.85
MAINFunction · 0.85
pcmainFunction · 0.85
restore_menuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected