ES
games/dmmotor / src / Dm / Render / VisSprite.php · commit 9d248a4
<?php/* * dmmotor — renderer 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\Render;use App\Dm\Patch;/** A sprite to draw this frame. */final class VisSprite{    public int $x1 = 0;    public int $x2 = 0;    public float $gx = 0;    public float $gy = 0;    public float $gz = 0;    public float $gzt = 0;    public float $startFrac = 0;    public float $scale = 0;    public float $xiScale = 0;    public float $textureMid = 0;    public Patch $patch;    /** light map, -1 = fuzz */    public int $colormap = 0;    public int $mobjFlags = 0;}