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 458 by rossy, Tue Aug 18 09:29:11 2009 UTC vs.
Revision 471 by gumby, Thu Oct 29 01:38:27 2009 UTC

# Line 38 | Line 38 | oniCheatCode DDr_CheatTable[] = {
38          { "shinobi",        "Ninja Mode Enabled (good luck!)", "Ninja Mode Disabled",        cheat_shinobi        },
39          { "x",              "Developer Access Enabled",        "Developer Access Disabled",  cheat_x              },
40          { "testcheat",      "Testing...",                      "",                           cheat_testcheat      },
41 +        { "tellmetheversion","Daodan Version ???",                         "",                                                   cheat_tellmetheversion},
42          {0}
43   };
44  
# Line 76 | Line 77 | oniCheatCode DDr_CheatTable[] = {
77   #define marypoppins_jp (0.14)
78  
79   uint16_t cheat_oldshield = 0;
80 < int32_t cheat_oldhealth = 0;
81 < int32_t cheat_oldmaxhealth = 0;
80 > int32_t cheat_oldhealth = 1;
81 > int32_t cheat_oldmaxhealth = 1;
82   float cheat_oldjet_accel = 0.03f;
83   uint16_t cheat_oldjet_timer = 20;
84   float cheat_oldheight1 = 45;
# Line 234 | Line 235 | uint8_t ONICALL DDrCheater(uint32_t chea
235                          *(unsigned int*)(player + CHR_flags) = *(unsigned int*)(player + CHR_flags) | chr_noncombatant;
236                          return 1;
237                  }
238 +                case cheat_tellmetheversion:
239 +                {
240 +                        return 1;
241 +                }
242                  case cheat_x:
243                          return ONrCheater(cheat_thedayismine);
244                  default:

Diff Legend

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