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

Function vesa_cl_eos

sys/msdos/vidvesa.c:584–596  ·  view source on GitHub ↗

clear to end of screen */

Source from the content-addressed store, hash-verified

582
583/* clear to end of screen */
584void
585vesa_cl_eos(int cy)
586{
587 cl_end();
588 if (cy < LI - 1) {
589 unsigned left = 0;
590 unsigned top = vesa_y_center + cy * vesa_char_height;
591 unsigned width = vesa_x_res;
592 unsigned height = (LI - 1 - cy) * vesa_char_height;
593
594 vesa_FillRect(left, top, width, height, BACKGROUND_VESA_COLOR);
595 }
596}
597
598void
599vesa_term_end_screen(void)

Callers 1

cl_eosFunction · 0.85

Calls 2

vesa_FillRectFunction · 0.85
cl_endFunction · 0.70

Tested by

no test coverage detected