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 473 by gumby, Fri Oct 30 07:41:39 2009 UTC vs.
Revision 474 by rossy, Fri Oct 30 08:52:50 2009 UTC

# Line 8 | Line 8
8   #include "Daodan_Cheater.h"
9  
10   oniCheatCode DDr_CheatTable[] = {
11 <        { "shapeshifter",   "Change Characters Enabled",       "Change Characters Disabled", cheat_shapeshifter   },
12 <        { "liveforever",    "Invincibility Enabled",           "Invincibility Disabled",     cheat_liveforever    },
13 <        { "touchofdeath",   "Omnipotence Enabled",             "Omnipotence Disabled",       cheat_touchofdeath   },
14 <        { "canttouchthis",  "Unstoppable Enabled",             "Unstoppable Disabled",       cheat_canttouchthis  },
15 <        { "fatloot",        "Fat Loot Received",               NULL,                         cheat_fatloot        },
16 <        { "glassworld",     "Glass Furniture Enabled",         "Glass Furniture Disabled",   cheat_glassworld     },
17 <        { "winlevel",       "Instantly Win Level",             NULL,                         cheat_winlevel       },
18 <        { "loselevel",      "Instantly Lose Level",            NULL,                         cheat_loselevel      },
19 <        { "bighead",        "Big Head Enabled",                "Big Head Disabled",          cheat_bighead        },
20 <        { "minime",         "Mini Mode Enabled",               "Mini Mode Disabled",         cheat_minime         },
21 <        { "superammo",      "Super Ammo Mode Enabled",         "Super Ammo Mode Disabled",   cheat_superammo      },
22 <        { "thedayismine",   "Developer Access Enabled",        "Developer Access Disabled",  cheat_thedayismine   },
23 <        { "reservoirdogs",  "Last Man Standing Enabled",       "Last Man Standing Disabled", cheat_reservoirdogs  },
24 <        { "roughjustice",   "Gatling Guns Enabled",            "Gatling Guns Disabled",      cheat_roughjustice   },
25 <        { "chenille",       "Daodan Power Enabled",            "Daodan Power Disabled",      cheat_chenille       },
26 <        { "behemoth",       "Godzilla Mode Enabled",           "Godzilla Mode Disabled",     cheat_behemoth       },
27 <        { "elderrune",      "Regeneration Enabled",            "Regeneration Disabled",      cheat_elderrune      },
28 <        { "moonshadow",     "Phase Cloak Enabled",             "Phase Cloak Disabled",       cheat_moonshadow     },
29 <        { "munitionfrenzy", "Weapons Locker Created",          NULL,                         cheat_munitionfrenzy },
30 <        { "fistsoflegend",  "Fists Of Legend Enabled",         "Fists Of Legend Disabled",   cheat_fistsoflegend  },
31 <        { "killmequick",    "Ultra Mode Enabled",              "Ultra Mode Disabled",        cheat_killmequick    },
32 <        { "carousel",       "Slow Motion Enabled",             "Slow Motion Disabled",       cheat_carousel       },
33 <        { "bigbadboss",     "Boss Shield Enabled",             "Boss Shield Disabled",       cheat_bigbadboss     },
34 <        { "bulletproof",    "Force Field Enabled",             "Force Field Disabled",       cheat_bulletproof    },
35 <        { "kangaroo",       "Alex Okita Mode Enabled",         "Alex Okita Mode Disabled",       cheat_kangaroo       },
36 <        { "himynameisalex", "Kangaroo Jump Enabled",               "Kangaroo Jump Disabled",     cheat_kangaroo           },
37 <        { "marypoppins",    "Jet Pack Mode Enabled",           "Jet Pack Mode Disabled",     cheat_marypoppins    },
38 <        { "buddha",         "Unkillable Enabled",              "Unkillable Disabled",        cheat_buddha         },
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 v.3.0",                       "",                                                                  cheat_tellmetheversion},
11 >        { "shapeshifter",     "Change Characters Enabled",       "Change Characters Disabled", cheat_shapeshifter     },
12 >        { "liveforever",      "Invincibility Enabled",           "Invincibility Disabled",     cheat_liveforever      },
13 >        { "touchofdeath",     "Omnipotence Enabled",             "Omnipotence Disabled",       cheat_touchofdeath     },
14 >        { "canttouchthis",    "Unstoppable Enabled",             "Unstoppable Disabled",       cheat_canttouchthis    },
15 >        { "fatloot",          "Fat Loot Received",               NULL,                         cheat_fatloot          },
16 >        { "glassworld",       "Glass Furniture Enabled",         "Glass Furniture Disabled",   cheat_glassworld       },
17 >        { "winlevel",         "Instantly Win Level",             NULL,                         cheat_winlevel         },
18 >        { "loselevel",        "Instantly Lose Level",            NULL,                         cheat_loselevel        },
19 >        { "bighead",          "Big Head Enabled",                "Big Head Disabled",          cheat_bighead          },
20 >        { "minime",           "Mini Mode Enabled",               "Mini Mode Disabled",         cheat_minime           },
21 >        { "superammo",        "Super Ammo Mode Enabled",         "Super Ammo Mode Disabled",   cheat_superammo        },
22 >        { "thedayismine",     "Developer Access Enabled",        "Developer Access Disabled",  cheat_thedayismine     },
23 >        { "reservoirdogs",    "Last Man Standing Enabled",       "Last Man Standing Disabled", cheat_reservoirdogs    },
24 >        { "roughjustice",     "Gatling Guns Enabled",            "Gatling Guns Disabled",      cheat_roughjustice     },
25 >        { "chenille",         "Daodan Power Enabled",            "Daodan Power Disabled",      cheat_chenille         },
26 >        { "behemoth",         "Godzilla Mode Enabled",           "Godzilla Mode Disabled",     cheat_behemoth         },
27 >        { "elderrune",        "Regeneration Enabled",            "Regeneration Disabled",      cheat_elderrune        },
28 >        { "moonshadow",       "Phase Cloak Enabled",             "Phase Cloak Disabled",       cheat_moonshadow       },
29 >        { "munitionfrenzy",   "Weapons Locker Created",          NULL,                         cheat_munitionfrenzy   },
30 >        { "fistsoflegend",    "Fists Of Legend Enabled",         "Fists Of Legend Disabled",   cheat_fistsoflegend    },
31 >        { "killmequick",      "Ultra Mode Enabled",              "Ultra Mode Disabled",        cheat_killmequick      },
32 >        { "carousel",         "Slow Motion Enabled",             "Slow Motion Disabled",       cheat_carousel         },
33 >        { "bigbadboss",       "Boss Shield Enabled",             "Boss Shield Disabled",       cheat_bigbadboss       },
34 >        { "bulletproof",      "Force Field Enabled",             "Force Field Disabled",       cheat_bulletproof      },
35 >        { "kangaroo",         "Alex Okita Mode Enabled",         "Alex Okita Mode Disabled",   cheat_kangaroo         },
36 >        { "himynameisalex",   "Kangaroo Jump Enabled",               "Kangaroo Jump Disabled",     cheat_kangaroo         },
37 >        { "marypoppins",      "Jet Pack Mode Enabled",           "Jet Pack Mode Disabled",     cheat_marypoppins      },
38 >        { "buddha",           "Unkillable Enabled",              "Unkillable Disabled",        cheat_buddha           },
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 v.3.0",                    "",                           cheat_tellmetheversion },
43          {0}
44   };
45  
# Line 239 | Line 239 | uint8_t ONICALL DDrCheater(uint32_t chea
239                          return 1;
240                  }
241                  case cheat_tellmetheversion:
242                {
242                          return 1;
244                }
243                  case cheat_x:
244                          return ONrCheater(cheat_thedayismine);
245                  default:
# Line 254 | Line 252 | void ONICALL DDrCheater_LevelLoad()
252          inc_fallingframes = true;
253   }
254  
255 + // Biggest hack in the entire thing ^_^
256   __stdcall void FallingFrames(void* Ebp)
257   {
258          if (inc_fallingframes)

Diff Legend

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