-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathr_state.h
41 lines (38 loc) · 966 Bytes
/
r_state.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef __R_STATE__
#define __R_STATE__
#include "d_player.h"
#include "r_data.h"
extern int *textureheight;
extern int firstflat, numflats;
extern int *flattranslation;
extern int *texturetranslation;
extern int firstspritelump;
extern int lastspritelump;
extern int numspritelumps;
extern spritedef_t *sprites;
extern int numsegs;
extern seg_t *segs;
extern int numsectors;
extern sector_t *sectors;
extern int numsubsectors;
extern subsector_t *subsectors;
extern int numnodes;
extern node_t *nodes;
extern int numlines;
extern line_t *lines;
extern int numsides;
extern side_t *sides;
extern int viewx;
extern int viewy;
extern int viewz;
extern angle_t viewangle;
extern player_t *viewplayer;
extern angle_t clipangle;
extern int viewangletox[FINEANGLES / 2];
extern angle_t xtoviewangle[MAX_SCREENWIDTH + 1];
extern int rw_distance;
extern angle_t rw_normalangle;
extern int rw_angle1;
extern visplane_t *floorplane;
extern visplane_t *ceilingplane;
#endif