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

Function setCharacterWidth

src/OpenLoco/src/Graphics/Gfx.cpp:498–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496 }
497
498 void setCharacterWidth(Font font, char32_t character, int16_t width)
499 {
500 _characterWidths[getFontBaseIndex(font) / 224][character - 32] = width;
501 }
502
503 ImageId getImageForCharacter(Font font, char32_t character)
504 {

Callers 2

loadCurrencyFunction · 0.85
drawPreviewImageMethod · 0.85

Calls 1

getFontBaseIndexFunction · 0.85

Tested by

no test coverage detected