MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getPalette

Method getPalette

src/Engine/State.cpp:387–390  ·  view source on GitHub ↗

* Returns the state's 8bpp palette. * @return Pointer to the palette's colors. */

Source from the content-addressed store, hash-verified

385 * @return Pointer to the palette's colors.
386 */
387SDL_Color *const State::getPalette()
388{
389 return _palette;
390}
391
392/**
393 * Each state will probably need its own resize handling,

Callers 15

setPaletteMethod · 0.45
SurfaceMethod · 0.45
MapMethod · 0.45
initMethod · 0.45
cacheUnitMethod · 0.45
drawGridMethod · 0.45
InfoboxStateMethod · 0.45
createMethod · 0.45
StartStateMethod · 0.45
thinkMethod · 0.45
initMethod · 0.45
DefeatStateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected