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

Function cmov

sys/msdos/video.c:274–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274void
275cmov(int col, int row)
276{
277 ttyDisplay->cury = (uchar) row;
278 ttyDisplay->curx = (uchar) col;
279 if (!iflags.grmode) {
280 txt_gotoxy(col, row);
281#ifdef SCREEN_VGA
282 } else if (iflags.usevga) {
283 vga_gotoloc(col, row);
284#endif
285#ifdef SCREEN_VESA
286 } else if (iflags.usevesa) {
287 vesa_gotoloc(col, row);
288#endif
289 }
290}
291
292#if 0
293int

Callers

nothing calls this directly

Calls 3

txt_gotoxyFunction · 0.85
vga_gotolocFunction · 0.85
vesa_gotolocFunction · 0.85

Tested by

no test coverage detected