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

Function menuid2mapmode

outdated/sys/wince/mhmain.c:1093–1101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1091 { -1, -1 } };
1092
1093int
1094menuid2mapmode(int menuid)
1095{
1096 struct t_menu2mapmode *p;
1097 for (p = _menu2mapmode; p->mapMode != -1; p++)
1098 if (p->menuID == menuid)
1099 return p->mapMode;
1100 return -1;
1101}
1102
1103int
1104mapmode2menuid(int map_mode)

Callers 1

onWMCommandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected