From a2a16b85572b1d28b0cd4901ea7348750732a740 Mon Sep 17 00:00:00 2001 From: xolatile Date: Tue, 5 Aug 2025 10:40:01 +0200 Subject: Few more changes, please do not compile... --- src/engine/octa.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/engine/octa.h') diff --git a/src/engine/octa.h b/src/engine/octa.h index 7312b7a..41e315e 100644 --- a/src/engine/octa.h +++ b/src/engine/octa.h @@ -11,7 +11,6 @@ enum { EMID_NONE = 0, EMID_CUSTOM, - EMID_SKY, EMID_RESERVED }; @@ -121,13 +120,12 @@ struct vtxarray vtxarray *next, *rnext; // linked list of visible VOBs vertex *vdata; // vertex data ushort voffset; // offset into vertex data - ushort *edata, *skydata; // vertex indices - GLuint vbuf, ebuf, skybuf; // VBOs + ushort *edata; // vertex indices + GLuint vbuf, ebuf; // VBOs ushort minvert, maxvert; // DRE info elementset *eslist; // List of element indices sets (range) per texture materialsurface *matbuf; // buffer of material surfaces - int verts, tris, texs, blendtris, blends, alphabacktris, alphaback, alphafronttris, alphafront, alphatris, texmask, sky, explicitsky, skyfaces, skyclip, matsurfs, distance; - double skyarea; + int verts, tris, texs, blendtris, blends, alphabacktris, alphaback, alphafronttris, alphafront, alphatris, texmask, matsurfs, distance; ivec o; int size; // location and size of cube. ivec geommin, geommax; // BB of geom @@ -289,11 +287,9 @@ enum { VFC_FULL_VISIBLE = 0, VFC_PART_VISIBLE, - VFC_FOGGED, VFC_NOT_VISIBLE, PVS_FULL_VISIBLE, - PVS_PART_VISIBLE, - PVS_FOGGED + PVS_PART_VISIBLE }; #define GENCUBEVERTS(x0,x1, y0,y1, z0,z1) \ -- cgit v1.2.3