Last change
on this file since 1087 was 1017, checked in by alloc, 10 years ago |
Daodan 4.0: Added Input module, cheats bindable to keys
|
File size:
1.0 KB
|
Rev | Line | |
---|
[994] | 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();
|
---|
[1017] | 51 | void InitBindableCheats();
|
---|
[994] | 52 |
|
---|
| 53 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.