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

Function ff_ovld_from_mask

win/X11/winstat.c:1455–1465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1453};
1454
1455static const struct f_overload *
1456ff_ovld_from_mask(unsigned long mask)
1457{
1458 const struct f_overload *fo;
1459
1460 for (fo = cond_ovl; fo < cond_ovl + SIZE(cond_ovl); ++fo) {
1461 if ((fo->all_mask & mask) != 0L)
1462 return fo;
1463 }
1464 return (struct f_overload *) 0;
1465}
1466
1467static const struct f_overload *
1468ff_ovld_from_indx(int indx) /* F_foo number, index into shown_stats[] */

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected