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

Function getFontBaseIndex

src/OpenLoco/src/Graphics/Gfx.cpp:161–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159 }
160
161 static int32_t getFontBaseIndex(Font font)
162 {
163 // The Font type currently encodes the index, this may change in the future.
164 return enumValue(font);
165 }
166
167 static uint32_t getImageIdForCharacter(Font font, uint8_t character)
168 {

Callers 3

getImageIdForCharacterFunction · 0.85
getCharacterWidthFunction · 0.85
setCharacterWidthFunction · 0.85

Calls 1

enumValueFunction · 0.85

Tested by

no test coverage detected