-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlevels.h
57 lines (47 loc) · 2.32 KB
/
levels.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
Doom Editor Utility, by Brendon Wyber and Rapha‰l Quinet.
You are allowed to use any parts of this code in another program, as
long as you give credits to the authors in the documentation and in
the program itself. Read the file README.1ST for more information.
This program comes with absolutely no warranty.
LEVELS.H - Level data definitions.
*/
/* the includes */
#include "wstructs.h"
#include "things.h"
/* the external variables from levels.c */
extern MDirPtr Level; /* master dictionary entry for the level */
extern int NumThings; /* number of things */
extern TPtr Things; /* things data */
extern int NumLineDefs; /* number of line defs */
extern LDPtr LineDefs; /* line defs data */
extern int NumSideDefs; /* number of side defs */
extern SDPtr SideDefs; /* side defs data */
extern int NumVertexes; /* number of vertexes */
extern VPtr Vertexes; /* vertex data */
extern int NumSegs; /* number of segments */
extern SEPtr Segs; /* list of segments */
extern SEPtr LastSeg; /* last segment in the list */
extern int NumSSectors; /* number of subsectors */
extern SSPtr SSectors; /* list of subsectors */
extern SSPtr LastSSector; /* last subsector in the list */
extern int NumSectors; /* number of sectors */
extern SPtr Sectors; /* sectors data */
extern int NumWTexture; /* number of wall textures */
extern char **WTexture; /* array of wall texture names */
extern int NumFTexture; /* number of floor/ceiling textures */
extern char **FTexture; /* array of texture names */
extern int MapMaxX; /* maximum X value of map */
extern int MapMaxY; /* maximum Y value of map */
extern int MapMinX; /* minimum X value of map */
extern int MapMinY; /* minimum Y value of map */
extern Bool MadeChanges; /* made changes? */
extern Bool MadeMapChanges; /* made changes that need rebuilding? */
/* from deu.c (config file options) */
extern char *DefaultWallTexture; /* default normal wall texture */
extern char *DefaultLowerTexture; /* default lower wall texture */
extern char *DefaultUpperTexture; /* default upper wall texture */
extern char *DefaultFloorTexture; /* default floor texture */
extern char *DefaultCeilingTexture; /* default ceiling texture */
extern int DefaultFloorHeight; /* default floor height */
extern int DefaultCeilingHeight; /* default ceiling height */