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

Function encodexlogflags

src/topten.c:393–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393staticfn long
394encodexlogflags(void)
395{
396 long e = 0L;
397
398 if (wizard)
399 e |= 1L << 0;
400 if (discover)
401 e |= 1L << 1;
402 if (!u.uroleplay.numbones)
403 e |= 1L << 2;
404 if (u.uroleplay.reroll)
405 e |= 1L << 3;
406
407 return e;
408}
409
410staticfn long
411encodeconduct(void)

Callers 1

writexlentryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected