Loading...
Searching...
No Matches
Player Struct Reference

Per-player position state. More...

Public Attributes

s16 x
 
s16 y
 

Detailed Description

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.

Member Data Documentation

◆ x

s16 Player::x

Horizontal screen position (pixels, 0-255)

◆ y

s16 Player::y

Vertical screen position (pixels, 0-223)


The documentation for this struct was generated from the following file: