diff options
author | Fabian Greffrath | 2015-02-02 09:35:41 +0100 |
---|---|---|
committer | Fabian Greffrath | 2015-02-02 09:35:41 +0100 |
commit | 73c2a3bb31ceaad24ac11bbb8c93c2d76291d418 (patch) | |
tree | bbe2dc646168b19b8b7ff27074e8c3cc55818b14 /src/hexen | |
parent | be1a900c9fd873168e82da2efad9f2febc9edcc8 (diff) | |
download | chocolate-doom-73c2a3bb31ceaad24ac11bbb8c93c2d76291d418.tar.gz chocolate-doom-73c2a3bb31ceaad24ac11bbb8c93c2d76291d418.tar.bz2 chocolate-doom-73c2a3bb31ceaad24ac11bbb8c93c2d76291d418.zip |
adapt cheat codes for the demo version
Diffstat (limited to 'src/hexen')
-rw-r--r-- | src/hexen/sb_bar.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/hexen/sb_bar.c b/src/hexen/sb_bar.c index e75edd25..6ca8fec4 100644 --- a/src/hexen/sb_bar.c +++ b/src/hexen/sb_bar.c @@ -303,6 +303,34 @@ void SB_Init(void) PatchKILLS = W_CacheLumpName("KILLS", PU_STATIC); } SB_SetClassData(); + + if (gamemode == shareware) + { + CheatGodSeq = (cheatseq_t) CHEAT("bgokey", 0); + CheatNoClipSeq = (cheatseq_t) CHEAT("rjohnson", 0); + CheatWeaponsSeq = (cheatseq_t) CHEAT("crhinehart", 0); + CheatHealthSeq = (cheatseq_t) CHEAT("sgurno", 0); + CheatKeysSeq = (cheatseq_t) CHEAT("mraymondjudy", 0); + CheatSoundSeq = (cheatseq_t) CHEAT("kschilder", 0); + CheatTickerSeq = (cheatseq_t) CHEAT("rrettenmund", 0); + CheatArtifactAllSeq = (cheatseq_t) CHEAT("braffel", 0); + CheatPuzzleSeq = (cheatseq_t) CHEAT("tmoore", 0); + CheatWarpSeq = (cheatseq_t) CHEAT("bpelletier", 2); + CheatPigSeq = (cheatseq_t) CHEAT("ebiessman", 0); + CheatMassacreSeq = (cheatseq_t) CHEAT("cstika", 0); + CheatIDKFASeq = (cheatseq_t) CHEAT("rambo", 0); + CheatQuickenSeq1 = (cheatseq_t) CHEAT("quicken", 0); + CheatQuickenSeq2 = (cheatseq_t) CHEAT("quickenquicken", 0); + CheatQuickenSeq3 = (cheatseq_t) CHEAT("quickenquickenquicken", 0); + CheatClass1Seq = (cheatseq_t) CHEAT("plipo", 0); + CheatClass2Seq = (cheatseq_t) CHEAT("plipo", 1); + CheatVersionSeq = (cheatseq_t) CHEAT("pmacarther", 0); + CheatDebugSeq = (cheatseq_t) CHEAT("jsumwalt", 0); + CheatScriptSeq1 = (cheatseq_t) CHEAT("mwagabaza", 0); + CheatScriptSeq2 = (cheatseq_t) CHEAT("mwagabaza", 1); + CheatScriptSeq3 = (cheatseq_t) CHEAT("mwagabaza", 2); + CheatRevealSeq = (cheatseq_t) CHEAT("reveal", 0); + } } //========================================================================== |