summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/progs/quake/r_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sdl/progs/quake/r_local.h')
-rw-r--r--apps/plugins/sdl/progs/quake/r_local.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/plugins/sdl/progs/quake/r_local.h b/apps/plugins/sdl/progs/quake/r_local.h
index ae3416ba2f..adb9565b8b 100644
--- a/apps/plugins/sdl/progs/quake/r_local.h
+++ b/apps/plugins/sdl/progs/quake/r_local.h
@@ -94,7 +94,28 @@ typedef struct clipplane_s
94 byte reserved[2]; 94 byte reserved[2];
95} clipplane_t; 95} clipplane_t;
96 96
97typedef struct clipplane_fxp_s
98{
99 int normal[3];
100 int dist;
101 struct clipplane_fxp_s *next;
102 byte leftedge;
103 byte rightedge;
104 byte reserved[2];
105} clipplane_fxp_t;
106
107typedef struct clipplane_FPM_s
108{
109 vec3_FPM_t normal;
110 fixedpoint_t dist;
111 struct clipplane_FPM_s *next;
112 byte leftedge;
113 byte rightedge;
114 byte reserved[2];
115} clipplane_FPM_t;
116
97extern clipplane_t view_clipplanes[4]; 117extern clipplane_t view_clipplanes[4];
118extern clipplane_FPM_t view_clipplanesFPM[4];
98 119
99#ifdef USE_PQ_OPT2 120#ifdef USE_PQ_OPT2
100extern clipplane_fxp_t view_clipplanes_fxp[4]; 121extern clipplane_fxp_t view_clipplanes_fxp[4];