ES
games/alis / src / Alis / Sprite.php · commit 9c722cf
<?phpnamespace App\Alis;/** Generated from the C struct of the same name (tools/structs.py), then edited by hand. */final class Sprite{    /** byte offset of this record in the C sprite memory (image.spritemem) */    public int $idx = 0;    /** C: s8 state */    public int $state = 0;    /** C: s8 numelem */    public int $numelem = 0;    /** C: s16 screen_id */    public int $screen_id = 0;    /** C: u16 to_next */    public int $to_next = 0;    /** C: u16 link */    public int $link = 0;    /** C: u32 newad : 24 */    public int $newad = 0;    /** C: s32 newf */    public int $newf = 0;    /** C: s16 newx */    public int $newx = 0;    /** C: s16 newy */    public int $newy = 0;    /** C: s16 newd */    public int $newd = 0;    /** C: u32 data */    public int $data = 0;    /** C: u32 flaginvx */    public int $flaginvx = 0;    /** C: s16 depx */    public int $depx = 0;    /** C: s16 depy */    public int $depy = 0;    /** C: s16 depz */    public int $depz = 0;    /** C: s8 credon_off */    public int $credon_off = 0;    /** C: u8 creducing */    public int $creducing = 0;    /** C: s16 clinking */    public int $clinking = 0;    /** C: u8 cordspr */    public int $cordspr = 0;    /** C: u8 chsprite */    public int $chsprite = 0;    /** C: u16 script_ent */    public int $script_ent = 0;    /** C: u32 sprite_0x28 */    public int $sprite_0x28 = 0;    /** C: s16 width */    public int $width = 0;    /** C: s16 height */    public int $height = 0;    /** C: u16 newzoomx */    public int $newzoomx = 0;    /** C: u16 newzoomy */    public int $newzoomy = 0;    /** C: u16 unknown0x30 */    public int $unknown0x30 = 0;    /** C: u16 unknown0x32 */    public int $unknown0x32 = 0;    /** C: u16 prev */    public int $prev = 0;    /** HD edition: the character this element shows (put_char), -1 = not a character (fn/hd.php) */    public int $hdChar = -1;    public function __construct(int $idx = 0)    {        $this->idx = $idx;    }}