diff options
Diffstat (limited to 'apps/plugins/sdl/progs/quake/r_local.h')
-rw-r--r-- | apps/plugins/sdl/progs/quake/r_local.h | 21 |
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 | ||
97 | typedef 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 | |||
107 | typedef 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 | |||
97 | extern clipplane_t view_clipplanes[4]; | 117 | extern clipplane_t view_clipplanes[4]; |
118 | extern clipplane_FPM_t view_clipplanesFPM[4]; | ||
98 | 119 | ||
99 | #ifdef USE_PQ_OPT2 | 120 | #ifdef USE_PQ_OPT2 |
100 | extern clipplane_fxp_t view_clipplanes_fxp[4]; | 121 | extern clipplane_fxp_t view_clipplanes_fxp[4]; |