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

Function mar_exit_nhwindows

outdated/win/gem/wingem1.c:1222–1239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1220/************************* mar_exit_nhwindows *******************************/
1221
1222void
1223mar_exit_nhwindows()
1224{
1225 int i;
1226
1227 for (i = MAXWIN; --i >= 0;)
1228 if (Gem_nhwindow[i].gw_type)
1229 mar_destroy_nhwindow(i);
1230
1231 if (normal_palette) {
1232 img_set_colors(x_handle, normal_palette, tile_image.planes);
1233 null_free(normal_palette);
1234 }
1235 test_free(tile_image.palette);
1236 test_free(tile_image.addr);
1237 test_free(titel_image.palette);
1238 test_free(titel_image.addr);
1239}
1240
1241/************************* mar_curs *******************************/
1242

Callers 1

Gem_exit_nhwindowsFunction · 0.85

Calls 2

mar_destroy_nhwindowFunction · 0.85
img_set_colorsFunction · 0.85

Tested by

no test coverage detected