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

Function windows_early_options

sys/windows/windsys.c:715–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

713}
714
715int
716windows_early_options(const char *window_opt)
717{
718 /*
719 * If you return 2, the game will exit before it begins.
720 * Return 1, to say the option parsed okay.
721 * Return 0, to say the option was bad.
722 */
723
724 if (match_optname(window_opt, "cursorblink", 5, FALSE)) {
725 win32_cursorblink = TRUE;
726 return 1;
727 } else {
728 raw_printf(
729 "-%s windows:cursorblink is the only supported option.\n",
730 window_opt);
731 }
732 return 0;
733}
734
735#include <bcrypt.h> /* Windows Crypto Next Gen (CNG) */
736

Callers 1

argcheckFunction · 0.85

Calls 2

match_optnameFunction · 0.50
raw_printfFunction · 0.50

Tested by

no test coverage detected