benilla-re systems structs docs

GetScreenWidth

Lua global function · registered 2 times

Registration 1

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

Registration 2

Function
GetUiScreenWidth ui
Meaning
Pushes the screen width K1 over the UIParent layout scale, in script units verified, proof two
Registered in
global table s_gameScriptFunctions ui
Registrar pair
0x83e218
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