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

Function xputg

sys/msdos/video.c:686–699  ·  view source on GitHub ↗

write out a glyph picture at current location */

Source from the content-addressed store, hash-verified

684
685/* write out a glyph picture at current location */
686void xputg(const glyph_info *glyphinfo, const glyph_info *bkglyphinfo)
687{
688 if (!iflags.grmode || !iflags.tile_view) {
689 (void) xputc((char) glyphinfo->ttychar);
690#ifdef SCREEN_VGA
691 } else if (iflags.grmode && iflags.usevga) {
692 vga_xputg(glyphinfo, bkglyphinfo);
693#endif
694#ifdef SCREEN_VESA
695 } else if (iflags.grmode && iflags.usevesa) {
696 vesa_xputg(glyphinfo, bkglyphinfo);
697#endif
698 }
699}
700
701#ifdef POSITIONBAR
702void

Callers 1

tty_print_glyphFunction · 0.85

Calls 3

vga_xputgFunction · 0.85
vesa_xputgFunction · 0.85
xputcFunction · 0.70

Tested by

no test coverage detected