Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ get_pixel
Function
get_pixel
outdated/win/gem/xpm2img.c:94–98 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
92
rgb->b = (1000L * (long) ColorMap[colind].b) / 0xFF;
93
}
94
void
95
get_pixel(int x, int y, unsigned int *colind)
96
{
97
*colind = Bild_daten[y][x];
98
}
99
FILE *xpmfh = 0;
100
char initbuf[200];
101
char *xpmbuf = initbuf;
Callers
1
bitmap_to_img
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected