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

Function comment

outdated/sys/mac/macerrs.c:145–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void comment(char *s, long n)
146{
147 Str255 paserr;
148 short itemHit;
149
150 sprintf((char *)&paserr[1], "%s - %d",s,n);
151 paserr[0] = strlen ((char*)&paserr[1]);
152 ParamText(paserr,(StringPtr)"",(StringPtr)"",(StringPtr)"");
153 itemHit = Alert(128, (ModalFilterUPP)nil);
154}
155
156void pushattemptingto(char * activity)
157/* Push a new description onto stack so we can pop later to previous state */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected