benilla-re systems structs docs

GetScreenHeight

Lua global function · registered 2 times

Registration 1

Function
Script::GetScreenHeight glue
Meaning
Returns the screen root height from the scales 0x832a44, 0x832a48 and 0x832a4c, about 768 verified, proof two
Registered in
global table s_glueScriptFunctions glue
Registrar pair
0x837410
Arguments
0 exact
Returns
1 values exact, kinds (number) agree
Notes
name-not-unique

Registration 2

Function
GetUiScreenHeight ui
Meaning
Pushes the screen height K2 over the UIParent layout scale, in script units verified, proof two
Registered in
global table s_gameScriptFunctions ui
Registrar pair
0x83e220
Arguments
0 exact
Returns
1 values exact, kinds (number) agree
Notes
name-not-unique

Arguments is the largest Lua stack index the function reads: a floor, never a check. Returns lists the number and the kinds of the values it pushes; ? is unknown. what the columns mean.

Cited in 4