ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan_Cheater.c
(Generate patch)

Comparing Daodan/src/Daodan_Cheater.c (file contents):
Revision 472 by gumby, Thu Oct 29 01:43:04 2009 UTC vs.
Revision 473 by gumby, Fri Oct 30 07:41:39 2009 UTC

# Line 39 | Line 39 | oniCheatCode DDr_CheatTable[] = {
39          { "shinobi",        "Ninja Mode Enabled (good luck!)", "Ninja Mode Disabled",        cheat_shinobi        },
40          { "x",              "Developer Access Enabled",        "Developer Access Disabled",  cheat_x              },
41          { "testcheat",      "Testing...",                      "",                           cheat_testcheat      },
42 <        { "tellmetheversion","Daodan Version ???",                         "",                                                   cheat_tellmetheversion},
42 >        { "tellmetheversion","Daodan v.3.0",                       "",                                                                  cheat_tellmetheversion},
43          {0}
44   };
45  
# Line 217 | Line 217 | uint8_t ONICALL DDrCheater(uint32_t chea
217                                  player->Health = cheat_oldhealth;
218                                  player->MaxHealth = cheat_oldmaxhealth;
219                                  player->Flags = player->Flags & ~(chr_bossshield | chr_weaponimmune);
220 +                                ai2_deaf = 0;
221                                  return 0;
222                          }
223                          else
# Line 226 | Line 227 | uint8_t ONICALL DDrCheater(uint32_t chea
227                                  player->Health = 1;
228                                  player->MaxHealth = 1;
229                                  player->Flags = player->Flags | chr_bossshield | chr_weaponimmune;
230 +                                ai2_deaf = 1;
231                                  return 1;
232                          }
233                          

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)