ES
games/alis / src / Alis / PixelBuf.php · commit 9c722cf
<?phpnamespace App\Alis;/** Generated from the C struct of the same name (tools/structs.py), then edited by hand. */final class PixelBuf{    /** C: u16 w */    public int $w = 0;    /** C: u16 h */    public int $h = 0;    /** C: u16 surface_h */    public int $surface_h = 0;    /** C: u16 surface_y_off */    public int $surface_y_off = 0;    /** C: u8 scale */    public int $scale = 0;    /** C: u8 * data: address (int offset into Alis::$mem unless noted) */    public int $data = 0;    /** C: u32 * palette: address (int offset into Alis::$mem unless noted) */    public int $palette = 0;    /** C: u32 * rgb: address (int offset into Alis::$mem unless noted) */    public int $rgb = 0;}