<?php/* * dmmotor — map structures (r_defs.h of linuxdoom-1.10). * Copyright (C) 1993-1996 by id Software, Inc.; PHP port for dmmotor. GPL v2 (see LICENSE). */namespace App\Dm;final class Line{ public const ML_BLOCKING = 1; public const ML_BLOCKMONSTERS = 2; public const ML_TWOSIDED = 4; public const ML_DONTPEGTOP = 8; public const ML_DONTPEGBOTTOM = 16; public const ML_SECRET = 32; public const ML_SOUNDBLOCK = 64; public const ML_DONTDRAW = 128; public const ML_MAPPED = 256; public const ST_HORIZONTAL = 0; public const ST_VERTICAL = 1; public const ST_POSITIVE = 2; public const ST_NEGATIVE = 3; public int $id = 0; public float $dx = 0; public float $dy = 0; public int $flags = 0; public int $special = 0; public int $tag = 0; /** @var array{0:int,1:int} side numbers, -1 = none */ public array $sidenum = [-1, -1]; /** @var list<float> top, bottom, left, right */ public array $bbox = [0, 0, 0, 0]; public int $slopeType = self::ST_HORIZONTAL; public ?Sector $frontSector = null; public ?Sector $backSector = null; public int $validCount = 0; public function __construct(public Vertex $v1, public Vertex $v2) { }}