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

Function all_options_apes

src/options.c:9642–9654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9640}
9641
9642staticfn void
9643all_options_apes(strbuf_t *sbuf)
9644{
9645 struct autopickup_exception *tmp = ga.apelist;
9646 char buf[BUFSZ];
9647
9648 while (tmp) {
9649 Sprintf(buf, "autopickup_exception=\"%c%s\"\n",
9650 tmp->grab ? '<' : '>', tmp->pattern);
9651 strbuf_append(sbuf, buf);
9652 tmp = tmp->next;
9653 }
9654}
9655
9656#ifdef CHANGE_COLOR
9657staticfn void

Callers 1

all_options_strbufFunction · 0.85

Calls 1

strbuf_appendFunction · 0.85

Tested by

no test coverage detected