MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getImageIdForCharacter

Function getImageIdForCharacter

src/OpenLoco/src/Graphics/Gfx.cpp:167–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 }
166
167 static uint32_t getImageIdForCharacter(Font font, uint8_t character)
168 {
169 return ImageIds::characters_medium_normal_space + (character - 32) + getFontBaseIndex(font);
170 }
171
172 // 0x004949BC
173 static void initialiseCharacterWidths()

Callers 2

getImageForCharacterFunction · 0.85

Calls 1

getFontBaseIndexFunction · 0.85

Tested by

no test coverage detected