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

Function NHWname

win/chain/wc_trace.c:267–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267static const char *
268NHWname(int type)
269{
270 switch (type) {
271 case NHW_MESSAGE:
272 return "MESSAGE";
273 case NHW_STATUS:
274 return "STATUS";
275 case NHW_MAP:
276 return "MAP";
277 case NHW_MENU:
278 return "MENU";
279 case NHW_TEXT:
280 return "TEXT";
281 case NHW_BASE:
282 return "BASE";
283 default: {
284 static char b[20];
285 sprintf(b, "(%d)", type);
286 return b;
287 }
288 }
289}
290
291winid
292trace_create_nhwindow(

Callers 1

trace_create_nhwindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected