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

Function vesa_GetCharPixel

sys/msdos/vidvesa.c:1748–1758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1746}
1747
1748static boolean
1749vesa_GetCharPixel(int ch, unsigned x, unsigned y)
1750{
1751 unsigned x2;
1752 unsigned char fnt;
1753
1754 x2 = x % 8;
1755
1756 fnt = vesa_GetCharPixelRow(ch, x, y);
1757 return (fnt & (0x80 >> x2)) != 0;
1758}
1759
1760static unsigned char
1761vesa_GetCharPixelRow(uint32 ch, unsigned x, unsigned y)

Callers 1

Calls 1

vesa_GetCharPixelRowFunction · 0.85

Tested by

no test coverage detected