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

Method PaletteSet

Source/PC/Graphics_PC.cpp:260–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260void cGraphics_PC::PaletteSet(cSurface *pTarget) {
261 if (!pTarget)
262 pTarget = mSurface;
263
264 pTarget->paletteSet( mPalette );
265}
266
267void cGraphics_PC::Map_Tile_Draw( cSurface *pTarget, uint16 pTile, uint16 pX, uint16 pY, uint16 pOffset) {
268 uint8* Target = pTarget->GetSurfaceBuffer();

Callers 15

cAboutMethod · 0.45
GUI_Select_File_LoopMethod · 0.45
Phase_PausedMethod · 0.45
Phase_PrepareMethod · 0.45
Map_Load_ResourcesMethod · 0.45
Draw_Phase_PausedMethod · 0.45
Campaign_Select_SetupMethod · 0.45
Campaign_SelectionMethod · 0.45
Menu_LoopMethod · 0.45
Demo_Quiz_ShowScreenMethod · 0.45

Calls 1

paletteSetMethod · 0.80

Tested by

no test coverage detected