Open up your Version.h file in the editor of your choice, and you should see the following block of lines:
//#define SPEAR
//#define SPEARDEMO
//#define UPLOAD
#define GOODTIMES
#define CARMACIZED
//#define APOGEE_1_0
//#define APOGEE_1_1
//#define APOGEE_1_2
//#define JAPAN
These lines turn on/off various aspects of the code exclusive to particular versions or games. In Wolf4SDL, annotations have been added which help identify what lines need to be commented or uncommented to activate what version of the source code.
Wolf3d Full v1.1 Apogee (with ReadThis) |
CARMACIZED
APOGEE_1_1 |
Wolf3d Full v1.4 Apogee (with ReadThis) |
CARMACIZED |
Wolf3d Full v1.4 GT/ID/Activision |
CARMACIZED
GOODTIMES |
Wolf3d Full v1.4 Imagineer (Japanese) |
CARMACIZED
JAPAN |
Wolf3d Shareware v1.0 |
UPLOAD
APOGEE_1_0 |
Wolf3d Shareware v1.1 |
CARMACIZED
UPLOAD
APOGEE_1_1 |
Wolf3d Shareware v1.2 |
CARMACIZED
UPLOAD
APOGEE_1_2 |
Wolf3d Shareware v1.4 |
CARMACIZED
UPLOAD |
Spear of Destiny Full and Mission Disks |
CARMACIZED
SPEAR
GOODTIMES (Disable Quiz) |
Spear of Destiny Demo |
CARMACIZED
SPEAR
SPEARDEMO |
By default, CARMACIZED
and GOODTIMES
are uncommented, making the source build for the GT/ID/Activision full version of Wolfenstein 3D.
If we wanted to compile the code for the up to date shareware version, we need CARMACIZED
and UPLOAD instead
. Change the lines as follows to do so:
//#define SPEAR
//#define SPEARDEMO
#define UPLOAD
//#define GOODTIMES
#define CARMACIZED
//#define APOGEE_1_0
//#define APOGEE_1_1
//#define APOGEE_1_2
//#define JAPAN
With this change, if you compile the code, it will compile for the Shareware version of Wolfenstein 3D!