summaryrefslogtreecommitdiff
path: root/src/engine/octa.h
diff options
context:
space:
mode:
authorxolatile2025-08-05 10:40:01 +0200
committerxolatile2025-08-05 10:40:01 +0200
commita2a16b85572b1d28b0cd4901ea7348750732a740 (patch)
tree6287cdf8331e821f9fe1e0adadc664a59634a812 /src/engine/octa.h
parent6762e292d02e37a69a807e01493d4e14319cca33 (diff)
downloadxolatile-badassbug-a2a16b85572b1d28b0cd4901ea7348750732a740.tar.xz
xolatile-badassbug-a2a16b85572b1d28b0cd4901ea7348750732a740.tar.zst
Few more changes, please do not compile...
Diffstat (limited to 'src/engine/octa.h')
-rw-r--r--src/engine/octa.h12
1 files changed, 4 insertions, 8 deletions
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) \