Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diasurgical/devilution
/ palette_init
Function
palette_init
Source/palette.cpp:69–74 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
67
}
68
69
void palette_init()
70
{
71
LoadGamma();
72
memcpy(system_palette, orig_palette, sizeof(orig_palette));
73
InitPalette();
74
}
75
76
void LoadPalette(char *pszFileName)
77
{
Callers
1
dx_init
Function · 0.85
Calls
2
LoadGamma
Function · 0.85
InitPalette
Function · 0.85
Tested by
no test coverage detected