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

Method surfaceSetToPaletteNew

Source/Surface.cpp:189–193  ·  view source on GitHub ↗

* Immediately apply mPaletteNew to the surface palette */

Source from the content-addressed store, hash-verified

187 * Immediately apply mPaletteNew to the surface palette
188 */
189void cSurface::surfaceSetToPaletteNew() {
190
191 for(size_t cx = 0; cx < g_MaxColors; ++cx )
192 paletteSDLColorSet( cx, &mPaletteNew[cx] );
193}
194
195/**
196 * Calculate the surface palette color from the provided palette entry

Callers 2

Draw_Phase_PausedMethod · 0.80
PaletteSetOverviewMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected