<?phpnamespace App\Alis;/** * C sFLICData (video/video.h): the film being played (bfilm). * PORT: the byte pointers (addr1, addr2, endptr, delptr, sbuf, sfill) are offsets into FilmVars::$data (the film * file bytes, kept out of Alis::$mem), null = NULL. sfp is a PHP stream resource. */final class sFLICData{ /** C: s16 id */ public int $id = 0; /** C: u8 playing */ public int $playing = 0; public ?int $addr1 = null; public ?int $addr2 = null; public ?int $endptr = null; public ?int $delptr = null; /** C: s16 frame */ public int $frame = 0; /** C: s16 frames */ public int $frames = 0; /** C: u16 width */ public int $width = 0; /** C: u16 height */ public int $height = 0; /** C: s16 result */ public int $result = 0; /** C: s16 batchframes */ public int $batchframes = 0; /** C: s16 waitclock */ public int $waitclock = 0; /** C: u32 basemain */ public int $basemain = 0; /** C: eAlisVideo type */ public int $type = 0; /** C: u8 ham_pal[16][3]: raw RGB palette for HAM6 */ public array $ham_pal = []; // Film streaming (fli_stream_* of fli.c). null sfp = whole-film-in-RAM mode. /** @var resource|null */ public $sfp = null; public ?int $sbuf = null; public ?int $sfill = null; /** C: u32 sbuf_size */ public int $sbuf_size = 0; /** C: u32 sremain */ public int $sremain = 0; /** C: u32 sfile_size */ public int $sfile_size = 0; public function __construct() { $this->ham_pal = array_fill(0, 16, [0, 0, 0]); }}