1 |
#include <string.h> |
2 |
|
3 |
#include "Oni.h" |
4 |
|
5 |
#include "Daodan.h" |
6 |
#include "Daodan_Cheater.h" |
7 |
|
8 |
oniCheatCode DDr_CheatTable[] = { |
9 |
{ "shapeshifter", "Change Characters Enabled", "Change Characters Disabled", cheat_shapeshifter }, |
10 |
{ "liveforever", "Invincibility Enabled", "Invincibility Disabled", cheat_liveforever }, |
11 |
{ "touchofdeath", "Omnipotence Enabled", "Omnipotence Disabled", cheat_touchofdeath }, |
12 |
{ "canttouchthis", "Unstoppable Enabled", "Unstoppable Disabled", cheat_canttouchthis }, |
13 |
{ "fatloot", "Fat Loot Received", NULL, cheat_fatloot }, |
14 |
{ "glassworld", "Glass Furniture Enabled", "Glass Furniture Disabled", 0x05 }, |
15 |
{ "winlevel", "Instantly Win Level", NULL, 0x06 }, |
16 |
{ "loselevel", "Instantly Lose Level", NULL, 0x07 }, |
17 |
{ "bighead", "Big Head Enabled", "Big Head Disabled", 0x08 }, |
18 |
{ "minime", "Mini Mode Enabled", "Mini Mode Disabled", 0x09 }, |
19 |
{ "superammo", "Super Ammo Mode Enabled", "Super Ammo Mode Disabled", 0x0a }, |
20 |
{ "thedayismine", "Developer Access Enabled", "Developer Access Disabled", cheat_thedayismine }, |
21 |
{ "reservoirdogs", "Last Man Standing Enabled", "Last Man Standing Disabled", 0x0c }, |
22 |
{ "roughjustice", "Gatling Guns Enabled", "Gatling Guns Disabled", 0x0d }, |
23 |
{ "chenille", "Daodan Power Enabled", "Daodan Power Disabled", 0x0e }, |
24 |
{ "behemoth", "Godzilla Mode Enabled", "Godzilla Mode Disabled", 0x0f }, |
25 |
{ "elderrune", "Regeneration Enabled", "Regeneration Disabled", 0x10 }, |
26 |
{ "moonshadow", "Phase Cloak Enabled", "Phase Cloak Disabled", 0x11 }, |
27 |
{ "munitionfrenzy", "Weapons Locker Created", NULL, 0x12 }, |
28 |
{ "fistsoflegend", "Fists Of Legend Enabled", "Fists Of Legend Disabled", 0x13 }, |
29 |
{ "killmequick", "Ultra Mode Enabled", "Ultra Mode Disabled", 0x14 }, |
30 |
{ "carousel", "Slow Motion Enabled", "Slow Motion Disabled", 0x15 }, |
31 |
{ "bigbadboss", "Boss Shield Enabled", "Boss Shield Disabled", cheat_bigbadboss }, |
32 |
{ "bulletproof", "Force Field Enabled", "Force Field Disabled", cheat_bulletproof }, |
33 |
{ "kangaroo", "Kangaroo Jump Enabled", "Kangaroo Jump Disabled", cheat_kangaroo }, |
34 |
{ "marypoppins", "Jet Pack Mode Enabled", "Jet Pack Mode Disabled", cheat_marypoppins }, |
35 |
{ "x", "Developer Access Enabled", "Developer Access Disabled", cheat_x }, |
36 |
{0} |
37 |
}; |
38 |
|
39 |
uint8_t ONICALL DDrCheater(uint32_t cheat) |
40 |
{ |
41 |
switch (cheat) |
42 |
{ |
43 |
case cheat_x: |
44 |
return ONrCheater(cheat_thedayismine); |
45 |
default: |
46 |
return ONrCheater(cheat); |
47 |
} |
48 |
} |