-
Notifications
You must be signed in to change notification settings - Fork 2
/
version.h
101 lines (75 loc) · 1.87 KB
/
version.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#ifndef __VERSION_H__
#define __VERSION_H__
/*
Change WMODE to point to the executable you would like to build:
WL1 (Wolfenstein 3D Shareware): 0
WL6 (Wolfenstein 3D Retail): 1
SDM (Spear of Destiny Demo): 2
SOD (Spear of Destiny Retail): 3
WL3 not yet supported.
*/
/*
The default is 0 (WL1).
Change this to match the version you have (see above).
*/
#ifndef WMODE
#define WMODE 0
#endif
/* define WOLF92 if you have full version of Wolfenstein 3D dated 1992 */
#define WOLF92
#define EMBEDDED
/* Palette shifting. */
//#define ENABLE_FLASHES 1
//#define ENABLE_AUDIO 1
#define SKIPFADE 1
//#define ENABLE_JOYSTICK 1
//#define ENABLE_MOUSE 1
#if !defined(ENABLE_MOUSE) && !defined(ENABLE_JOYSTICK)
#define KBD_ONLY
#endif
//#define ENABLE_HIGHSCORES 1
//#define ENABLE_SAVENAME 1
/* Enable custom control menu. */
//#define ENABLE_CONTROLS 1
#define ENABLE_PRECOMPILE 1
//#define ENABLE_ENDTEXT 1
//#define ENABLE_QUITMSG 1
//#define ENABLE_COLOR
// FIXME: Remove the rest of the demo code.
//#define ENABLE_DEMO 1
/* --- End of User-Modifiable Variables --- */
#if WMODE == 0
/* #define SPEAR */
/* #define SPEARDEMO */
#define UPLOAD
#define GAMENAME "Wolfenstein 3D Shareware"
#define GAMEEXT "wl1"
#define GAMETYPE "WL1\0"
#elif WMODE == 1
/* #define SPEAR */
/* #define SPEARDEMO */
/* #define UPLOAD */
#define GAMENAME "Wolfenstein 3D"
#define GAMEEXT "wl6"
#define GAMETYPE "WL6\0"
#elif WMODE == 2
#define SPEAR
#define SPEARDEMO
/* #define UPLOAD */
#define GAMENAME "Spear of Destiny Demo"
#define GAMEEXT "sdm"
#define GAMETYPE "SDM\0"
#elif WMODE == 3
#define SPEAR
/* #define SPEARDEMO */
/* #define UPLOAD */
#define GAMENAME "Spear of Destiny"
#define GAMEEXT "sod"
#define GAMETYPE "SOD\0"
#else
#error "please edit version.h and fix WMODE"
#endif
#define GAMEHDR "WOLF3D\0\0"
#define SAVTYPE "SAV\0"
#define CFGTYPE "CFG\0"
#endif