ZH
games/alis / src / Alis / Rrq3dVars.php · commit 9c722cf
<?phpnamespace App\Alis;/** File-scope variables of alis/src/render/rrq3d.c (shared with rrq3d_dos.c, see docs/porting.md). */final class Rrq3dVars{    /** C: u8 fprectop (overhang: current column has top surface) */    public static int $fprectop = 0;    /** C: u8 fprectopa (overhang: previous column had top surface) */    public static int $fprectopa = 0;    /** C: u8 fbottom (overhang: has bottom surface) */    public static int $fbottom = 0;    /** C: u8 notopa (overhang: skip top clipping) */    public static int $notopa = 0;    /** C: u16 prectopa (overhang top screen Y, column A) */    public static int $prectopa = 0;    /** C: u16 precbota */    public static int $precbota = 0;    /** C: u16 prectopb */    public static int $prectopb = 0;    /** C: u16 precbotb */    public static int $precbotb = 0;    /** C: u16 prectopc */    public static int $prectopc = 0;    /** C: u16 precbotc */    public static int $precbotc = 0;    /** C: u16 prectopi (overhang top screen Y, interpolated) */    public static int $prectopi = 0;    /** C: u16 precboti */    public static int $precboti = 0;    /** C: u16 botalt (overhang bottom altitude) */    public static int $botalt = 0;    /** C: u16 bothigh (overhang bottom high bound) */    public static int $bothigh = 0;    /** C: u16 solha (previous column ground height) */    public static int $solha = 0;    /** C: u32 adresa (previous column terrain cell address in Alis::$mem) */    public static int $adresa = 0;    /** C: u8 terrain_fill_color (DOS: solid fill color for barlands gap fill) */    public static int $terrain_fill_color = 0;    /** C: s16 bartra_saved_si (terrain-type extra height from doland altitude lookup) */    public static int $bartra_saved_si = 0;    /** C: s16 bottom_type_index (type index for bottom section texture, set by tbarland) */    public static int $bottom_type_index = 0;    /** C function pointers set by render3d_init(): first-class callables (calclan0_dos(...), ...) */    public static ?\Closure $calclan0 = null;    public static ?\Closure $doland = null;    public static ?\Closure $landtofi = null;    public static ?\Closure $clrvga = null;    public static ?\Closure $vgatofen = null;}