Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
823
void LoadPalInMem(const SDL_Color *pPal)
824
{
825
for (int i = 0; i < 256; i++) {
826
orig_palette[i] = pPal[i];
827
}
828
}
829
830
void UiRenderItems(UiItem *items, std::size_t size)
831
{
Callers
1
LoadBackgroundArt
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected