diff options
Diffstat (limited to 'src/engine/octa.h')
| -rw-r--r-- | src/engine/octa.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/engine/octa.h b/src/engine/octa.h index 6b7bfca..b14c440 100644 --- a/src/engine/octa.h +++ b/src/engine/octa.h @@ -52,7 +52,7 @@ enum LAYER_DUP = (1<<7), LAYER_BLEND = LAYER_TOP|LAYER_BOTTOM, - + MAXFACEVERTS = 15 }; @@ -73,18 +73,6 @@ static const surfaceinfo ambientsurface = {{LMID_AMBIENT, LMID_AMBIENT}, 0, LAYE static const surfaceinfo brightsurface = {{LMID_BRIGHT, LMID_AMBIENT}, 0, LAYER_TOP}; static const surfaceinfo brightbottomsurface = {{LMID_AMBIENT, LMID_BRIGHT}, 0, LAYER_BOTTOM}; -struct grasstri -{ - vec v[4]; - int numv; - vec4 tcu, tcv; - plane surface; - vec center; - float radius; - float minz, maxz; - ushort texture, lmid; -}; - struct occludequery { void *owner; @@ -149,7 +137,6 @@ struct vtxarray uchar curvfc, occluded; occludequery *query; vector<octaentities *> mapmodels; - vector<grasstri> grasstris; int hasmerges, mergelevel; uint dynlightmask; bool shadowed; @@ -190,7 +177,7 @@ struct cubeext uchar maxverts; // allocated space for verts vertinfo *verts() { return (vertinfo *)(this+1); } -}; +}; struct cube { |
