MCPcopy Create free account
hub / github.com/diasurgical/devilution / LoadPalInMem

Function LoadPalInMem

SourceX/DiabloUI/diabloui.cpp:823–828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

821} // namespace
822
823void LoadPalInMem(const SDL_Color *pPal)
824{
825 for (int i = 0; i < 256; i++) {
826 orig_palette[i] = pPal[i];
827 }
828}
829
830void UiRenderItems(UiItem *items, std::size_t size)
831{

Callers 1

LoadBackgroundArtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected