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

Method paletteNew_SetToBlack

Source/Surface.cpp:95–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void cSurface::paletteNew_SetToBlack() {
96
97 for (size_t cx = 0; cx < g_MaxColors; ++cx) {
98 mPaletteNew[cx].mBlue = 0;
99 mPaletteNew[cx].mRed = 0;
100 mPaletteNew[cx].mGreen = 0;
101 }
102
103 mPaletteAdjusting = true;
104}
105
106void cSurface::paletteSet( cPalette* pPalette, uint32 pColorID, uint32 pColors, bool pUseNow ) {
107

Callers 14

CycleMethod · 0.80
Phase_Progress_CheckMethod · 0.80
Draw_Phase_PausedMethod · 0.80
Service_KIA_LoopMethod · 0.80
intro_LegionMessageMethod · 0.80
intro_PlayMethod · 0.80
Image_FadeOutMethod · 0.80
ShowImage_ForDurationMethod · 0.80
Recruit_LoopMethod · 0.80
EngineSetupMethod · 0.80

Calls

no outgoing calls

Tested by 1

EngineSetupMethod · 0.64