<?phpnamespace App\Alis;/** File-scope variables of opcodes.c, second half (cwmov() .. end), see fn/opcodes_b.php. */final class Opcodes2Vars{ /** C: s16 starbuff[8] */ public static array $starbuff = [0, 0, 0, 0, 0, 0, 0, 0]; /** C: s32 walkcx */ public static int $walkcx = 0; /** C: s32 walkcy */ public static int $walkcy = 0; /** C: s16 walkcz */ public static int $walkcz = 0; /** C: s16 walkocz */ public static int $walkocz = 0; /** C: s32 walkdx */ public static int $walkdx = 0; /** C: s32 walkdy */ public static int $walkdy = 0; /** C: s16 walkhaut */ public static int $walkhaut = 0; /** C: u8 walkmap3 */ public static int $walkmap3 = 0; /** C: u16 walkdim */ public static int $walkdim = 0; /** C: s16 walktete */ public static int $walktete = 0; /** C: static const u16 pow2m1[] (local of ctexmap) */ public const POW2M1 = [1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767]; /** ctexmap's y_mask snap table of the v3 DOS executable (0x1620d), as it is: 0 first, 3 at index 6, ends at 0x3fff. */ public const TEXMAP_SNAP_DOS_V3 = [0, 1, 3, 7, 15, 31, 3, 127, 255, 511, 1023, 2047, 4095, 8191, 16383]; /** C: static const char *const k_2d_only_scripts[] */ public const K_2D_ONLY_SCRIPTS = [ 'authors', 'baratin', 'baratind', 'baratine', 'baratinu', 'body', 'caporal', 'flags', 'lamort', 'logo', 'main', 'map', 'newpref', 'newprefd', 'newprefs', 'newprefu', 'objet', 'ordi', 'prefs', 'prefsd', 'prefsu', 'present', 'pupuce', 'setup', 'souris', 'srain', 'time', 'trouble', 'yoda', ]; /** C: static int s_conv_planar_ok */ public static int $s_conv_planar_ok = 0; /** C: static s32 s_conv_tmp_sz (the scratch buffer itself is a local PHP string) */ public static int $s_conv_tmp_sz = 0; /** C: static ConvItem *s_conv_items: list of ['addr', 'grow', 'old_total'] */ public static array $s_conv_items = []; /** C: static s32 s_conv_items_cap */ public static int $s_conv_items_cap = 0; /** C: static const sAlisOpcode *live (local of alis_tab_opcodes) */ public static ?array $live = null; /** PORT: non-blocking getval()/getstring(): characters typed so far at alis.sd7. */ public static int $input_len = 0; /** PORT: non-blocking io_getkey(): key pressed and waiting for its release (0 = none). */ public static int $input_key = 0;}