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

Method CopyPalette

Source/Graphics.hpp:112–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 }
111
112 void CopyPalette( cPalette* pDestination, const size_t pCount, const size_t pStartColorID = 0) {
113
114 memcpy(pDestination, &mPalette[pStartColorID], sizeof(cPalette) * pCount);
115 }
116};
117
118class cGraphics {

Callers 10

Decode_ImageMethod · 0.80
Load_pStuffMethod · 0.80
Load_And_Draw_ImageMethod · 0.80
Load_pStuffMethod · 0.80
Decode_ImageMethod · 0.80
Load_And_Draw_ImageMethod · 0.80
Decode_ImageMethod · 0.80
Map_Load_ResourcesMethod · 0.80
Mission_Intro_PlayMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected