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

Function mar_set_msg_visible

outdated/win/gem/wingem1.c:411–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409 }
410}
411void
412mar_set_msg_visible(int mv)
413{
414 if (mv != msg_vis) {
415 Max(&mv, 1);
416 Min(&mv, min(msg_anz, 20));
417 Min(&mv, desk.g_h / msg_font.ch / 2);
418 msg_vis = mv;
419 rearrange_windows();
420 }
421}
422/* size<0 cellheight; size>0 points */
423void
424mar_set_fontbyid(int type, int id, int size)

Callers 2

Gem_preference_updateFunction · 0.85
mar_gem_initFunction · 0.85

Calls 1

rearrange_windowsFunction · 0.85

Tested by

no test coverage detected