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

Function ReadTileImageFiles

sys/amiga/winchar.c:264–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264BitMapHeader
265ReadTileImageFiles(void)
266{
267 BitMapHeader bmhds;
268
269 bmhds = ReadImageFile(tilefile, &tileimg);
270
271 tile = MyAllocBitMap(pictdata.xsize, pictdata.ysize,
272 pictdata.nplanes + amii_extraplanes,
273 MEMF_CHIP | MEMF_CLEAR);
274 if (!tile)
275 panic("Can't allocate tile temp bitmap");
276
277 return bmhds;
278}
279
280struct MyBitMap {
281 struct BitMap bm;

Callers 2

amii_init_nhwindowsFunction · 0.85
winchar.cFile · 0.85

Calls 3

ReadImageFileFunction · 0.85
MyAllocBitMapFunction · 0.85
panicFunction · 0.70

Tested by

no test coverage detected