Skip to content
Snippets Groups Projects
Commit c1bfde00 authored by Yukita Mayako's avatar Yukita Mayako Committed by Alam Ed Arias
Browse files

Fixed WGL code "device mode" breaking.

The devil is in the details.

git-svn-id: https://code.orospakr.ca/svn/srb2/trunk@9001 6de4a73c-47e2-0310-b8c1-93d6ecd3f8cd
parent 8d7b5941
No related branches found
No related tags found
No related merge requests found
......@@ -1118,7 +1118,7 @@ void D_SRB2Main(void)
#endif
D_CleanFile();
#ifndef DEVMODE // md5s last updated 12/14/14
#ifndef DEVELOP // md5s last updated 12/14/14
// Check MD5s of autoloaded files
W_VerifyFileMD5(0, ASSET_HASH_SRB2_SRB); // srb2.srb/srb2.wad
......
......@@ -138,8 +138,8 @@
extern FILE *logstream;
#endif
//#define DEVMODE // Disable this for release builds to remove excessive cheat commands and enable MD5 checking and stuff, all in one go. :3
#ifdef DEVMODE
//#define DEVELOP // Disable this for release builds to remove excessive cheat commands and enable MD5 checking and stuff, all in one go. :3
#ifdef DEVELOP
#define VERSION 0 // Game version
#define SUBVERSION 0 // more precise version number
#define VERSIONSTRING "Trunk"
......
......@@ -91,7 +91,7 @@ static UINT8 cheatf_warp(void)
return 1;
}
#ifdef DEVMODE
#ifdef DEVELOP
static UINT8 cheatf_devmode(void)
{
UINT8 i;
......@@ -143,7 +143,7 @@ static cheatseq_t cheat_warp_joy = {
SCRAMBLE(KEY_ENTER), 0xff }
};
#ifdef DEVMODE
#ifdef DEVELOP
static cheatseq_t cheat_devmode = {
0, cheatf_devmode,
{ SCRAMBLE('d'), SCRAMBLE('e'), SCRAMBLE('v'), SCRAMBLE('m'), SCRAMBLE('o'), SCRAMBLE('d'), SCRAMBLE('e'), 0xff }
......@@ -256,7 +256,7 @@ boolean cht_Responder(event_t *ev)
ret += cht_CheckCheat(&cheat_ultimate_joy, (char)ch);
ret += cht_CheckCheat(&cheat_warp, (char)ch);
ret += cht_CheckCheat(&cheat_warp_joy, (char)ch);
#ifdef DEVMODE
#ifdef DEVELOP
ret += cht_CheckCheat(&cheat_devmode, (char)ch);
#endif
return (ret != 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment