UpdateKeyboardLcd
function · ui · host
- Address
0x72a8d0· 2008 bytes, up to0x72b0a7- Signature
void __cdecl ()- Meaning
- Writes the player's values to the LCD elements each frame and settles which screen shows
- Confidence
- inferred
- Finding
- ui/lcd#the-per-frame-update
Finding: The per-frame update in ui: the keyboard LCD
UpdateKeyboardLcd (0x72a8d0) runs while the LCD is ready and the in-world flag is set. It writes the player's values to the text elements with the ids 3, 5, 7, 9, 0xb and 0xd (each %d), the element 0xf and the elements 0x11 and 0x13
from three further formats, the readouts of 0x72b150, 0x72b0b0, 0x72b230 and 0x72b270, and then settles the screen: when the notice deadline 0xcf0708 has passed it returns to the previous screen, and while the wait-time
deadline 0xcf06f0 is running it keeps the wait screen and writes the minutes and seconds. At its end it calls 0x72a5f0 when the battlefield flag 0xcf06f8 is set and 0x72a510.
The derivation is in the doc.
Callers 2
- CGlueMgr::Idle glue
- CGGameUI::Update ui
Callees 22
- __ftol crt
- OsGetAsyncTimeMs core
- ClntObjMgrGetActivePlayer objectlayer
- GetArmorSchoolIndex unassigned
- CGPlayer_C::GetStat objectlayer
- SStrCopy storm
- SStrPrintf storm
- FrameScript_GetText ui
- LcdFindElement ui
- LcdIsLocaleSupported ui
- LcdChooseScreen ui
- LcdFillBattlefieldScreen ui
- LcdReagentCount ui
- LcdStatusElement ui
- LcdFreeSlotCount ui
- LcdDurabilityPercent ui
- LcdSetScreen ui
- LcdIsDeviceConnected ui
- 0x72cb10 ui
- 0x72d060 ui
- ceil crt
- floor crt
Calls and jumps by a bare address, from tables/calls.tsv.