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

Function clearAll

win/win32/mhmap.c:1078–1087  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1076}
1077
1078static void clearAll(PNHMapWindow data)
1079{
1080 for (int x = 0; x < COLNO; x++)
1081 for (int y = 0; y < ROWNO; y++) {
1082 data->map[x][y] = nul_glyphinfo;
1083 data->bkmap[x][y] = nul_glyphinfo;
1084 data->locDirty[x][y] = TRUE;
1085 }
1086 data->mapDirty = TRUE;
1087}
1088
1089static void dirtyAll(PNHMapWindow data)
1090{

Callers 2

onMSNHCommandFunction · 0.85
onCreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected