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

Function home

sys/msdos/video.c:301–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299#endif
300
301void
302home(void)
303{
304 tty_curs(BASE_WINDOW, 1, 0);
305 ttyDisplay->curx = ttyDisplay->cury = (uchar) 0;
306 if (!iflags.grmode) {
307 txt_gotoxy(0, 0);
308#ifdef SCREEN_VGA
309 } else if (iflags.usevga) {
310 vga_gotoloc(0, 0);
311#endif
312#ifdef SCREEN_VESA
313 } else if (iflags.usevesa) {
314 vesa_gotoloc(0, 0);
315#endif
316 }
317}
318
319void
320nocmov(int col, int row)

Callers

nothing calls this directly

Calls 4

tty_cursFunction · 0.85
txt_gotoxyFunction · 0.85
vga_gotolocFunction · 0.85
vesa_gotolocFunction · 0.85

Tested by

no test coverage detected