| Revision: | 1017 | 
| Committed: | Mon Mar 23 23:29:19 2015 UTC (10 years, 7 months ago) by alloc | 
| Content type: | text/x-chdr | 
| File size: | 1058 byte(s) | 
| Log Message: | Daodan 4.0: Added Input module, cheats bindable to keys | 
| # | Content | 
|---|---|
| 1 | #ifndef CHEATER_H | 
| 2 | #define CHEATER_H | 
| 3 | |
| 4 | #include "../Daodan.h" | 
| 5 | |
| 6 | typedef struct { | 
| 7 | const char* name; | 
| 8 | const char* message_on; | 
| 9 | const char* message_off; | 
| 10 | int func; | 
| 11 | } oniCheatCode; | 
| 12 | |
| 13 | enum { | 
| 14 | cheat_shapeshifter, | 
| 15 | cheat_liveforever, | 
| 16 | cheat_touchofdeath, | 
| 17 | cheat_canttouchthis, | 
| 18 | cheat_fatloot, | 
| 19 | cheat_glassworld, | 
| 20 | cheat_winlevel, | 
| 21 | cheat_loselevel, | 
| 22 | cheat_bighead, | 
| 23 | cheat_minime, | 
| 24 | cheat_superammo, | 
| 25 | cheat_thedayismine, | 
| 26 | cheat_reservoirdogs, | 
| 27 | cheat_roughjustice, | 
| 28 | cheat_chenille, | 
| 29 | cheat_behemoth, | 
| 30 | cheat_elderrune, | 
| 31 | cheat_moonshadow, | 
| 32 | cheat_munitionfrenzy, | 
| 33 | cheat_fistsoflegend, | 
| 34 | cheat_killmequick, | 
| 35 | cheat_carousel, | 
| 36 | cheat_bigbadboss, | 
| 37 | cheat_bulletproof, | 
| 38 | cheat_kangaroo, | 
| 39 | cheat_marypoppins, | 
| 40 | cheat_buddha, | 
| 41 | cheat_shinobi, | 
| 42 | cheat_x, | 
| 43 | cheat_testcheat, | 
| 44 | cheat_tellmetheversion, | 
| 45 | }; | 
| 46 | |
| 47 | extern oniCheatCode DDr_CheatTable[]; | 
| 48 | uint8_t ONICALL DDrCheater(uint32_t cheat); | 
| 49 | void __stdcall FallingFrames(void* Ebp); | 
| 50 | void ONICALL DDrCheater_LevelLoad(); | 
| 51 | void InitBindableCheats(); | 
| 52 | |
| 53 | #endif |