ref: 94d0eb470742c70f790de8ffb92f83a7ba88afa0
dir: /d_zpoint.c/
#include "quakedef.h" /* ===================== D_DrawZPoint ===================== */ void D_DrawZPoint (void) { byte *pdest; uzint *pz; int izi; pz = d_pzbuffer + (d_zwidth * r_zpointdesc.v) + r_zpointdesc.u; pdest = d_viewbuffer + d_scantable[r_zpointdesc.v] + r_zpointdesc.u; izi = (int)(r_zpointdesc.zi * 0x8000); if (*pz <= izi) { *pz = izi; *pdest = r_zpointdesc.color; } }