<?phpnamespace App\Alis;/** Generated from the C struct of the same name (tools/structs.py), then edited by hand. */final class Img{ /** C sprite memory (image.spritemem): Sprite objects keyed by byte offset (sprite_var()) */ public static array $sprites = []; /** C: u8 * spritemem: address (int offset into Alis::$mem unless noted) */ public static int $spritemem = 0; /** C: u8 * physic: address (int offset into Alis::$mem unless noted) */ public static int $physic = 0; /** C: u8 * logic: address (int offset into Alis::$mem unless noted) */ public static int $logic = 0; /** C: u8 * physic_alloc: address (int offset into Alis::$mem unless noted) */ public static int $physic_alloc = 0; /** C: u8 * logic_alloc: address (int offset into Alis::$mem unless noted) */ public static int $logic_alloc = 0; /** C: u32 buffer_alloc_size */ public static int $buffer_alloc_size = 0; /** C: s16 logx1 */ public static int $logx1 = 0; /** C: s16 logx2 */ public static int $logx2 = 0; /** C: s16 logy1 */ public static int $logy1 = 0; /** C: s16 logy2 */ public static int $logy2 = 0; /** C: s8 numelem */ public static int $numelem = 0; /** C: u8 invert_x */ public static int $invert_x = 0; /** C: s16 depx */ public static int $depx = 0; /** C: s16 depy */ public static int $depy = 0; /** C: s16 depz */ public static int $depz = 0; /** C: s16 oldcx */ public static int $oldcx = 0; /** C: s16 oldcy */ public static int $oldcy = 0; /** C: s16 oldcz */ public static int $oldcz = 0; /** C: s16 oldacx */ public static int $oldacx = 0; /** C: s16 oldacy */ public static int $oldacy = 0; /** C: s16 oldacz */ public static int $oldacz = 0; /** C: s16 dkpalet[1024] */ public static array $dkpalet = []; /** C: u8 fdarkpal */ public static int $fdarkpal = 0; /** C: s32 backdes */ public static int $backdes = 0; /** C: s32 backaddr */ public static int $backaddr = 0; /** C: s16 backprof */ public static int $backprof = 0; /** C: s16 backx1 */ public static int $backx1 = 0; /** C: s16 backx2 */ public static int $backx2 = 0; /** C: s16 backy1 */ public static int $backy1 = 0; /** C: s16 backy2 */ public static int $backy2 = 0; /** C: s16 backlarg */ public static int $backlarg = 0; /** C: u8 * backmap: address (int offset into Alis::$mem unless noted) */ public static int $backmap = 0; /** C: u8 * bgcache_alloc: address (int offset into Alis::$mem unless noted) */ public static int $bgcache_alloc = 0; /** C: u8 * wdraw: address (int offset into Alis::$mem unless noted) */ public static int $wdraw = 0; /** C: u32 * rgblogic: address (int offset into Alis::$mem unless noted) */ public static int $rgblogic = 0; /** C: u32 * rgbphysic: address (int offset into Alis::$mem unless noted) */ public static int $rgbphysic = 0; /** C: s32 basesprite */ public static int $basesprite = 0; /** C: u16 libsprit */ public static int $libsprit = 0; /** C: s32 debsprit */ public static int $debsprit = 0; /** C: s32 finsprit */ public static int $finsprit = 0; /** C: s32 backsprite */ public static int $backsprite = 0; /** C: s32 tvsprite */ public static int $tvsprite = 0; /** C: s32 texsprite */ public static int $texsprite = 0; /** C: s32 atexsprite */ public static int $atexsprite = 0; /** C: s8 spag */ public static int $spag = 0; /** C: s8 wpag */ public static int $wpag = 0; /** C: s16 pagdx */ public static int $pagdx = 0; /** C: s16 pagdy */ public static int $pagdy = 0; /** C: s16 pagcount */ public static int $pagcount = 0; /** C: u8 sback */ public static int $sback = 0; /** C: u8 wback */ public static int $wback = 0; /** C: s8 cback */ public static int $cback = 0; /** C: u8 pback */ public static int $pback = 0; /** C: u16 inkcolor */ public static int $inkcolor = 0; /** C: u16 line_a_mode */ public static int $line_a_mode = 0; /** C: u8 tvmode */ public static int $tvmode = 0; /** C: u32 svpalet[256] */ public static array $svpalet = []; /** C: u32 svpalet2[256] */ public static array $svpalet2 = []; /** C: u32 tpalet[256] */ public static array $tpalet = []; /** C: u32 mpalet[256] */ public static array $mpalet = []; /** C: s32 dpalet[256 * 3] */ public static array $dpalet = []; /** C: u32 * atpalet: address (int offset into Alis::$mem unless noted) */ public static int $atpalet = 0; /** C: u32 * ampalet: address (int offset into Alis::$mem unless noted) */ public static int $ampalet = 0; /** C: EPalFormat pal_format */ public static int $pal_format = 0; /** C: u8 flinepal */ public static int $flinepal = 0; /** C: s16 firstpal[64] */ public static array $firstpal = []; /** C: s16 tlinepal[64] */ public static array $tlinepal = []; /** C: u8 palc */ public static int $palc = 0; /** C: u8 palt */ public static int $palt = 0; /** C: u8 palt0 */ public static int $palt0 = 0; /** C: u8 ftopal */ public static int $ftopal = 0; /** C: u8 thepalet */ public static int $thepalet = 0; /** C: u8 defpalet */ public static int $defpalet = 0; /** C: s16 tabfen[640] */ public static array $tabfen = []; /** C: s16 * ptabfen: address (int offset into Alis::$mem unless noted) */ public static int $ptabfen = 0; /** C: s32 bufrvb */ public static int $bufrvb = 0; /** C: s32 mousflag */ public static int $mousflag = 0; /** C: u8 * bufpack: address (int offset into Alis::$mem unless noted) */ public static int $bufpack = 0; /** C: u8 timing */ public static int $timing = 0; /** C: s8 fmouse */ public static int $fmouse = 0; /** C: s16 fonum */ public static int $fonum = 0; /** C: u32 newad */ public static int $newad = 0; /** C: s16 newx */ public static int $newx = 0; /** C: s16 newy */ public static int $newy = 0; /** C: s16 newd */ public static int $newd = 0; /** C: s16 newf */ public static int $newf = 0; /** C: s16 newh */ public static int $newh = 0; /** C: s16 newl */ public static int $newl = 0; /** C: s16 newzoomx */ public static int $newzoomx = 0; /** C: s16 newzoomy */ public static int $newzoomy = 0; /** C: s16 blocx1 */ public static int $blocx1 = 0; /** C: s16 blocy1 */ public static int $blocy1 = 0; /** C: s16 blocx2 */ public static int $blocx2 = 0; /** C: s16 blocy2 */ public static int $blocy2 = 0; /** C: u8 joints */ public static int $joints = 0; /** C: s16 fenx1 */ public static int $fenx1 = 0; /** C: s16 feny1 */ public static int $feny1 = 0; /** C: s16 fenx2 */ public static int $fenx2 = 0; /** C: s16 feny2 */ public static int $feny2 = 0; /** C: s16 fenlargw */ public static int $fenlargw = 0; /** C: s16 clipx1 */ public static int $clipx1 = 0; /** C: s16 clipy1 */ public static int $clipy1 = 0; /** C: s16 clipx2 */ public static int $clipx2 = 0; /** C: s16 clipy2 */ public static int $clipy2 = 0; /** C: s16 clipl */ public static int $clipl = 0; /** C: s16 cliph */ public static int $cliph = 0; /** C: u8 fclip */ public static int $fclip = 0; /** C: u8 fitroutine */ public static int $fitroutine = 0; /** C: u8 fphysic */ public static int $fphysic = 0; /** C: u8 fphytolog */ public static int $fphytolog = 0; /** C: u8 fremouse */ public static int $fremouse = 0; /** C: u8 fremap */ public static int $fremap = 0; /** C: u8 fremouse2 */ public static int $fremouse2 = 0; /** C: u8 vtiming */ public static int $vtiming = 0; /** C: s16 savmouse[2] */ public static array $savmouse = []; /** C: u32 savmouse2[8] */ public static array $savmouse2 = []; /** C: u8 switchgo */ public static int $switchgo = 0; /** C: u8 * wlogic: address (int offset into Alis::$mem unless noted) */ public static int $wlogic = 0; /** C: s16 wlogx1 */ public static int $wlogx1 = 0; /** C: s16 wlogx2 */ public static int $wlogx2 = 0; /** C: s16 wlogy1 */ public static int $wlogy1 = 0; /** C: s16 wlogy2 */ public static int $wlogy2 = 0; /** C: s16 wloglarg */ public static int $wloglarg = 0; /** C: s16 loglarg */ public static int $loglarg = 0; /** C: u8 insid */ public static int $insid = 0; /** C: s16 switchland */ public static int $switchland = 0; /** C: u8 fdoland */ public static int $fdoland = 0; /** C: s16 landfenx1 */ public static int $landfenx1 = 0; /** C: s16 landfeny1 */ public static int $landfeny1 = 0; /** C: s16 landfenx2 */ public static int $landfenx2 = 0; /** C: s16 landfeny2 */ public static int $landfeny2 = 0; /** C: s16 landclipx1 */ public static int $landclipx1 = 0; /** C: s16 landclipy1 */ public static int $landclipy1 = 0; /** C: s16 landclipx2 */ public static int $landclipx2 = 0; /** C: s16 landclipy2 */ public static int $landclipy2 = 0; /** C: s16 landclipl */ public static int $landclipl = 0; /** C: s16 landcliph */ public static int $landcliph = 0; /** C: s16 vbarclipx1 */ public static int $vbarclipx1 = 0; /** C: s16 vbarclipy1 */ public static int $vbarclipy1 = 0; /** C: s16 vbarclipx2 */ public static int $vbarclipx2 = 0; /** C: s16 vbarclipy2 */ public static int $vbarclipy2 = 0; /** C: s16 scdirect */ public static int $scdirect = 0; /** C: s16 vbarbot */ public static int $vbarbot = 0; /** C: s16 vbarlarg */ public static int $vbarlarg = 0; /** C: s16 vbarx */ public static int $vbarx = 0; /** C: s16 vbarmid */ public static int $vbarmid = 0; /** C: s16 skyposx */ public static int $skyposx = 0; /** C: s16 skyposy */ public static int $skyposy = 0; /** C: s16 skyleft */ public static int $skyleft = 0; /** C: u8 ftstpix */ public static int $ftstpix = 0; /** C: s16 xtstpix */ public static int $xtstpix = 0; /** C: s16 ytstpix */ public static int $ytstpix = 0; /** C: s32 antstpix */ public static int $antstpix = 0; /** C: s16 cxtstpix */ public static int $cxtstpix = 0; /** C: s16 cytstpix */ public static int $cytstpix = 0; /** C: s16 cztstpix */ public static int $cztstpix = 0; /** C: s16 dtstpix */ public static int $dtstpix = 0; /** C: s16 ntstpix */ public static int $ntstpix = 0; /** C: s16 etstpix */ public static int $etstpix = 0; /** C: s16 solpixy */ public static int $solpixy = 0; /** C: s16 solh */ public static int $solh = 0; /** C: s16 toppixy */ public static int $toppixy = 0; /** C: s16 toph */ public static int $toph = 0; /** C: s16 precx */ public static int $precx = 0; /** C: u32 tlpix */ public static int $tlpix = 0; /** C: u32 atalti */ public static int $atalti = 0; /** C: u32 atlpix */ public static int $atlpix = 0; /** C: u32 atalias */ public static int $atalias = 0; /** C: u32 tlland */ public static int $tlland = 0; /** C: u32 atlland */ public static int $atlland = 0; /** C: u8 landone */ public static int $landone = 0; /** C: s16 purey */ public static int $purey = 0; /** C: s16 purey2 */ public static int $purey2 = 0; /** C: s16 fhorizon */ public static int $fhorizon = 0; /** C: s16 vdarkw */ public static int $vdarkw = 0; /** C: u32 tex_persp_step */ public static int $tex_persp_step = 0; /** C: s16 tex_hbase */ public static int $tex_hbase = 0; /** C: u32 mapscreen */ public static int $mapscreen = 0; /** C: u32 zoombid */ public static int $zoombid = 0; /** C: u32 landnewad */ public static int $landnewad = 0; /** C: u32 landdata */ public static int $landdata = 0; /** C: s16 signedx */ public static int $signedx = 0; /** C: s16 signedy */ public static int $signedy = 0; /** C: s16 vgamodulo */ public static int $vgamodulo = 0; /** C: s16 bitmodulo */ public static int $bitmodulo = 0; /** C: s16 bitlarg */ public static int $bitlarg = 0; /** C: s32 spritprof */ public static int $spritprof = 0; /** C: s32 spritnext */ public static int $spritnext = 0; /** C: s32 ztflowx */ public static int $ztflowx = 0; /** C: s32 ztflowy */ public static int $ztflowy = 0; /** C: u8 ddrawdist */ public static int $ddrawdist = 0; /** C: u8 emode */ public static int $emode = 0; /** C: u8 stripdepth */ public static int $stripdepth = 0; /** C: u8 * depthbuf: address (int offset into Alis::$mem unless noted) */ public static int $depthbuf = 0; /** C: u8 ** depthrows: address (int offset into Alis::$mem unless noted) */ public static int $depthrows = 0; /** C: u8 * omask: address (int offset into Alis::$mem unless noted) */ public static int $omask = 0; /** C: u32 fogcol */ public static int $fogcol = 0; /** C: u8 fogbeg */ public static int $fogbeg = 0; /** C: u8 fogend */ public static int $fogend = 0; /** C: u32 * terrgba: address (int offset into Alis::$mem unless noted) */ public static int $terrgba = 0; /** C: u16 terrgbaw */ public static int $terrgbaw = 0; /** C: u16 terrgbah */ public static int $terrgbah = 0; /** C: u32 terrgbas */ public static int $terrgbas = 0; /** C: u32 ** terrgbarows: address (int offset into Alis::$mem unless noted) */ public static int $terrgbarows = 0; /** C: u32 darkrgba[256 * 256] */ public static array $darkrgba = []; public static function init(): void { self::$dkpalet = array_fill(0, 1024, 0); self::$svpalet = array_fill(0, 256, 0); self::$svpalet2 = array_fill(0, 256, 0); self::$tpalet = array_fill(0, 256, 0); self::$mpalet = array_fill(0, 256, 0); self::$dpalet = array_fill(0, 768, 0); self::$firstpal = array_fill(0, 64, 0); self::$tlinepal = array_fill(0, 64, 0); self::$tabfen = array_fill(0, 640, 0); self::$savmouse = array_fill(0, 2, 0); self::$savmouse2 = array_fill(0, 8, 0); self::$darkrgba = array_fill(0, 65536, 0); }}