benilla-re systems structs docs

s_float00000000

global · ui

Address
0x8087d4 · 4 bytes, up to 0x8087d7
Type
const float
Meaning
Holds the float 0 (0x00000000)
Confidence
verified, proof one
Finding
ui/smartrect#pushes-by-region

Finding: Pushes by region in ui: the screen rectangle placement

The screen is divided into nine regions by which edges the rectangle crosses, and the region fixes the order of the four pushes: up, right, down, left for a rectangle inside the screen, and for one beyond an edge the pushes that do not go further out.

regionedges crossedorder of pushes
0noneup, right, down, left
1near the bottomleft, up, right, up
2near the topleft, down, right, down
3beyond the rightup, left, down, left
4beyond the leftup, right, down, right
5right and bottomup, left, up, left
6left and bottomup, right, up, right
7right and topdown, left, down, left
8left and topdown, right, down, right

The derivation is in the doc.