summaryrefslogtreecommitdiff
path: root/src/am_map.c
diff options
context:
space:
mode:
authorSimon Howard2005-10-04 21:41:42 +0000
committerSimon Howard2005-10-04 21:41:42 +0000
commita077c664121f6368a117a2d26688361ce00606f7 (patch)
tree1968bfbf4713ce05ae3e5928d6055da2b4c9c1da /src/am_map.c
parente98e86a672d7f1548c57a1b3351b1aacb60d9e03 (diff)
downloadchocolate-doom-a077c664121f6368a117a2d26688361ce00606f7.tar.gz
chocolate-doom-a077c664121f6368a117a2d26688361ce00606f7.tar.bz2
chocolate-doom-a077c664121f6368a117a2d26688361ce00606f7.zip
Rewrite cheats code. Add dehacked cheat replacement.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 162
Diffstat (limited to 'src/am_map.c')
-rw-r--r--src/am_map.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/am_map.c b/src/am_map.c
index 9e6b1ab8..ead062ab 100644
--- a/src/am_map.c
+++ b/src/am_map.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: am_map.c 160 2005-10-03 21:39:39Z fraggle $
+// $Id: am_map.c 162 2005-10-04 21:41:42Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -23,6 +23,9 @@
//
//
// $Log$
+// Revision 1.7 2005/10/04 21:41:42 fraggle
+// Rewrite cheats code. Add dehacked cheat replacement.
+//
// Revision 1.6 2005/10/03 21:39:39 fraggle
// Dehacked text substitutions
//
@@ -46,7 +49,7 @@
//
//-----------------------------------------------------------------------------
-static const char rcsid[] = "$Id: am_map.c 160 2005-10-03 21:39:39Z fraggle $";
+static const char rcsid[] = "$Id: am_map.c 162 2005-10-04 21:41:42Z fraggle $";
#include <stdio.h>
@@ -310,8 +313,7 @@ static int markpointnum = 0; // next point to be assigned
static int followplayer = 1; // specifies whether to follow the player around
-static unsigned char cheat_amap_seq[] = { 0xb2, 0x26, 0x26, 0x2e, 0xff };
-static cheatseq_t cheat_amap = { cheat_amap_seq, 0 };
+cheatseq_t cheat_amap = CHEAT("iddt", 0);
static boolean stopped = true;