Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 102 lines (75 sloc) 1.915 kb
95189b3 Import
paul authored
1 #ifndef __VERSION_H__
2 #define __VERSION_H__
3
4 /*
5 Change WMODE to point to the executable you would like to build:
6 WL1 (Wolfenstein 3D Shareware): 0
7 WL6 (Wolfenstein 3D Retail): 1
8 SDM (Spear of Destiny Demo): 2
9 SOD (Spear of Destiny Retail): 3
10
11 WL3 not yet supported.
12 */
13
14 /*
15 The default is 0 (WL1).
16 Change this to match the version you have (see above).
17 */
18
19 #ifndef WMODE
de44c88 Hardcode GAMEEXT.
paul authored
20 #define WMODE 0
95189b3 Import
paul authored
21 #endif
22
23 /* define WOLF92 if you have full version of Wolfenstein 3D dated 1992 */
fc46bc9 Version hacks.
paul authored
24 #define WOLF92
95189b3 Import
paul authored
25
079a926 Add Embedded mode.
paul authored
26 #define EMBEDDED
27
9fe38eb Fix crash when dying.
paul authored
28 /* Palette shifting. */
29 //#define ENABLE_FLASHES 1
30
2bfbaaa Disable audio data.
paul authored
31 //#define ENABLE_AUDIO 1
bf5aa07 Disable fades.
paul authored
32
33 #define SKIPFADE 1
34
7e1b650 Disable highscores.
paul authored
35 //#define ENABLE_JOYSTICK 1
7b8550a Remove mouse code.
paul authored
36 //#define ENABLE_MOUSE 1
37 #if !defined(ENABLE_MOUSE) && !defined(ENABLE_JOYSTICK)
38 #define KBD_ONLY
39 #endif
7e1b650 Disable highscores.
paul authored
40
41 //#define ENABLE_HIGHSCORES 1
42
da21dd8 Disable named savegames.
paul authored
43 //#define ENABLE_SAVENAME 1
44
c766a55 Disable custom contol menu.
paul authored
45 /* Enable custom control menu. */
46 //#define ENABLE_CONTROLS 1
47
f17ece9 Precompile huffman tables.
paul authored
48 #define ENABLE_PRECOMPILE 1
49
164e6ef Disable EndText.
paul authored
50 //#define ENABLE_ENDTEXT 1
51
51805cf Localize grsegs.
paul authored
52 //#define ENABLE_QUITMSG 1
53
e2c2714 Precompile all sprites.
paul authored
54 //#define ENABLE_COLOR
55
51805cf Localize grsegs.
paul authored
56 // FIXME: Remove the rest of the demo code.
57 //#define ENABLE_DEMO 1
95189b3 Import
paul authored
58 /* --- End of User-Modifiable Variables --- */
59
60 #if WMODE == 0
61 /* #define SPEAR */
62 /* #define SPEARDEMO */
63 #define UPLOAD
64 #define GAMENAME "Wolfenstein 3D Shareware"
65 #define GAMEEXT "wl1"
66 #define GAMETYPE "WL1\0"
67
68 #elif WMODE == 1
69 /* #define SPEAR */
70 /* #define SPEARDEMO */
71 /* #define UPLOAD */
72 #define GAMENAME "Wolfenstein 3D"
73 #define GAMEEXT "wl6"
74 #define GAMETYPE "WL6\0"
75
76 #elif WMODE == 2
77 #define SPEAR
78 #define SPEARDEMO
79 /* #define UPLOAD */
80 #define GAMENAME "Spear of Destiny Demo"
81 #define GAMEEXT "sdm"
82 #define GAMETYPE "SDM\0"
83
84 #elif WMODE == 3
85 #define SPEAR
86 /* #define SPEARDEMO */
87 /* #define UPLOAD */
88 #define GAMENAME "Spear of Destiny"
89 #define GAMEEXT "sod"
90 #define GAMETYPE "SOD\0"
91
92 #else
93 #error "please edit version.h and fix WMODE"
94 #endif
95
96 #define GAMEHDR "WOLF3D\0\0"
97
98 #define SAVTYPE "SAV\0"
99 #define CFGTYPE "CFG\0"
100
101 #endif
Something went wrong with that request. Please try again.