MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / Decode_Image

Method Decode_Image

Source/Amiga/Graphics_Amiga.cpp:368–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366}
367
368sImage cGraphics_Amiga::Decode_Image(const std::string& pFilename, const size_t pCount, const size_t pPaletteOffset, const size_t pStartIndex) {
369 sImage Image;
370
371 Image = DecodeIFF(pFilename + ".lbm");
372 Image.CopyPalette(mPalette, pCount, pStartIndex);
373
374 return Image;
375}
376
377void cGraphics_Amiga::Load_Service_Data() {
378

Callers

nothing calls this directly

Calls 1

CopyPaletteMethod · 0.80

Tested by

no test coverage detected