| 1 |
– |
#pragma once |
| 1 |
|
#ifndef DAODAN_CHEATER_H |
| 2 |
|
#define DAODAN_CHEATER_H |
| 3 |
|
|
| 4 |
< |
//#include <stdint.h> |
| 4 |
> |
#include "Daodan.h" |
| 5 |
|
|
| 6 |
|
typedef struct { |
| 7 |
|
const char* name; |
| 10 |
|
int func; |
| 11 |
|
} oniCheatCode; |
| 12 |
|
|
| 13 |
< |
enum { cheat_shapeshifter, |
| 13 |
> |
enum { |
| 14 |
> |
cheat_shapeshifter, |
| 15 |
|
cheat_liveforever, |
| 16 |
|
cheat_touchofdeath, |
| 17 |
|
cheat_canttouchthis, |
| 45 |
|
}; |
| 46 |
|
|
| 47 |
|
extern oniCheatCode DDr_CheatTable[]; |
| 48 |
– |
extern int turn_dev_mode_on; |
| 48 |
|
uint8_t ONICALL DDrCheater(uint32_t cheat); |
| 49 |
|
void __stdcall FallingFrames(void* Ebp); |
| 50 |
|
void ONICALL DDrCheater_LevelLoad(); |