Per-player position state. More...
Public Attributes | |
| s16 | x |
| s16 | y |
Per-player position state.
Signed coordinates allow easy boundary clamping (< 0 check). Bundled in a struct because the cc65816 compiler produces correct code for struct-member arithmetic but has quirks with separate u16 variables.
| s16 Player::x |
Horizontal screen position (pixels, 0-255)
| s16 Player::y |
Vertical screen position (pixels, 0-223)