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

Method PaletteSet

Source/Amiga/Graphics_Amiga.cpp:510–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510void cGraphics_Amiga::PaletteSet(cSurface* pTarget) {
511 if (!pTarget)
512 pTarget = mSurface;
513
514 pTarget->paletteSet(mPalette, 0, 64);
515 pTarget->paletteSet(mImagePStuff.mPalette, 0xE0, 16);
516 pTarget->paletteSet(mImageHillBackground.mPalette, 0xB0, 16); // 0xB0 is used by save/load screen
517 pTarget->paletteSet(mImageHillBackground.mPalette, 0xD0, 16);
518 pTarget->paletteSet(mImageFonts.mPalette, 0xF0, 16);
519}
520
521sImage cGraphics_Amiga::DecodeIFF(const std::string& pFilename) {
522 sImage Result;

Callers

nothing calls this directly

Calls 1

paletteSetMethod · 0.80

Tested by

no test coverage detected