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

Method Decode_Image

Source/Amiga/Graphics_Amiga2.cpp:150–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150sImage cGraphics_Amiga2::Decode_Image(const std::string& pFilename, const size_t pCount, const size_t pPaletteOffset, const size_t pStartIndex) {
151 sImage Image;
152
153 Image = GetImage(pFilename, 0);
154 Image.CopyPalette(mPalette, pCount, pStartIndex);
155
156 return Image;
157}
158void cGraphics_Amiga2::Load_pStuff() {
159
160 mImagePStuff = GetImage("PSTUFF", 0x00);

Callers

nothing calls this directly

Calls 1

CopyPaletteMethod · 0.80

Tested by

no test coverage detected