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

Class Align

include/you.h:334–340  ·  view source on GitHub ↗

Unified structure specifying alignment information ***/

Source from the content-addressed store, hash-verified

332
333/*** Unified structure specifying alignment information ***/
334struct Align {
335 const char *noun; /* law/balance/chaos */
336 const char *adj; /* lawful/neutral/chaotic */
337 const char *filecode; /* file code */
338 short allow; /* equivalent ROLE_ mask */
339 aligntyp value; /* equivalent A_ value */
340};
341#define ROLE_ALIGNS 3 /* number of permitted player alignments */
342
343extern const struct Align aligns[]; /* table of available alignments */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected