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

Function aboutNetHack

outdated/sys/mac/macmenu.c:1057–1075  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1055}
1056
1057static void
1058aboutNetHack()
1059{
1060 if (theMenubar >= mbarRegular) {
1061 (void) doversion(); /* is this necessary? */
1062 } else {
1063 unsigned char aboutStr[32] = "\pNetHack 3.4.";
1064
1065 if (PATCHLEVEL > 10) {
1066 aboutStr[++aboutStr[0]] = '0' + PATCHLEVEL / 10;
1067 }
1068
1069 aboutStr[++aboutStr[0]] = '0' + (PATCHLEVEL % 10);
1070
1071 ParamText(aboutStr, "\p\rdevteam@www.nethack.org", "\p", "\p");
1072 (void) Alert(alrtMenuNote, (ModalFilterUPP) 0L);
1073 ResetAlertStage();
1074 }
1075}
1076
1077static void
1078askSave()

Callers 1

DoMenuEvtFunction · 0.85

Calls 1

doversionFunction · 0.85

Tested by

no test coverage detected