summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/r_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/r_defs.h')
-rw-r--r--apps/plugins/doom/r_defs.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/apps/plugins/doom/r_defs.h b/apps/plugins/doom/r_defs.h
index a70d8a306c..251f515a07 100644
--- a/apps/plugins/doom/r_defs.h
+++ b/apps/plugins/doom/r_defs.h
@@ -177,13 +177,22 @@ side_t;
177// 177//
178// Move clipping aid for LineDefs. 178// Move clipping aid for LineDefs.
179// 179//
180typedef enum 180enum
181{ 181{
182 ST_HORIZONTAL, 182 ST_HORIZONTAL,
183 ST_VERTICAL, 183 ST_VERTICAL,
184 ST_POSITIVE, 184 ST_POSITIVE,
185 ST_NEGATIVE 185 ST_NEGATIVE
186} slopetype_t; 186};
187typedef int slopetype_t;
188
189enum { // cph:
190 RF_TOP_TILE = 1, // Upper texture needs tiling
191 RF_MID_TILE = 2, // Mid texture needs tiling
192 RF_BOT_TILE = 4, // Lower texture needs tiling
193 RF_IGNORE = 8, // Renderer can skip this line
194 RF_CLOSED =16, // Line blocks view
195};
187 196
188typedef struct line_s 197typedef struct line_s
189{ 198{
@@ -202,13 +211,7 @@ typedef struct line_s
202 int tranlump; // killough 4/11/98: translucency filter, -1 == none 211 int tranlump; // killough 4/11/98: translucency filter, -1 == none
203 int firsttag,nexttag; // killough 4/17/98: improves searches for tags. 212 int firsttag,nexttag; // killough 4/17/98: improves searches for tags.
204 int r_validcount; // cph: if == gametic, r_flags already done 213 int r_validcount; // cph: if == gametic, r_flags already done
205 enum { // cph: 214 int r_flags;
206 RF_TOP_TILE = 1, // Upper texture needs tiling
207 RF_MID_TILE = 2, // Mid texture needs tiling
208 RF_BOT_TILE = 4, // Lower texture needs tiling
209 RF_IGNORE = 8, // Renderer can skip this line
210 RF_CLOSED =16, // Line blocks view
211 } r_flags;
212} 215}
213line_t; 216line_t;
214 217