LcdScreenIdFromName
function · ui · primitive
- Address
0x729140· 188 bytes, up to0x7291fb- Signature
int32_t __fastcall (const char *name)- Meaning
- Returns the id 0 to 6 of an LCD screen name, ignoring case, or -1
- Confidence
- verified, proof one
- Finding
- ui/lcd#screen-layout-loading
Finding: Screen layout loading in ui: the keyboard LCD
LcdInitialize loads each Screen element of the layout file through 0x729d50. A screen's name
attribute gives its id: WoWTitleScreen 0, PlayerInfoScreen 1, BattlefieldAlertScreen 2,
BattlefieldStatusScreen 3, WaitQueueScreen 4, ChatAlertScreen 5, NotInBattlefieldScreen 6,
compared ignoring case; any other name gives −1 and is loaded all the same. Each child is an
LCDText or an LCDBitmap. A screen with no name or an empty one, or a child of any other type,
reports Screen declared with no name or Unknown LCD Element: %s and makes LcdInitialize shut
the LCD layer down.
The derivation is in the doc.
Callers 1
Callees 1
- SStrCmpI storm
Calls and jumps by a bare address, from tables/calls.tsv.