Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ setEntryImage
Function
setEntryImage
src/OpenLoco/src/Graphics/PaletteMap.cpp:257–262 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
255
}
256
257
void setEntryImage(ExtColour paletteId, uint32_t imageId)
258
{
259
assert(enumValue(paletteId) < std::size(_paletteToG1Offset));
260
261
_paletteToG1Offset[enumValue(paletteId)] = imageId;
262
}
263
264
}
Callers
1
updateWaterPalette
Function · 0.85
Calls
1
enumValue
Function · 0.85
Tested by
no test coverage detected