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

Function menuid2mapmode

win/win32/mhmain.c:1251–1259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1249 { -1, -1 } };
1250
1251int
1252menuid2mapmode(int menuid)
1253{
1254 struct t_menu2mapmode *p;
1255 for (p = _menu2mapmode; p->mapMode != -1; p++)
1256 if (p->menuID == menuid)
1257 return p->mapMode;
1258 return -1;
1259}
1260
1261int
1262mapmode2menuid(int map_mode)

Callers 1

onWMCommandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected