mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-23 13:42:25 -04:00
eed14acdc6
The hope of auto-importing data via lld MinGW + pseudo_reloc is now dead thanks to ARM64, so I just wrote a script to go annotate every exported data symbol in the game instead.
35 lines
619 B
C++
35 lines
619 B
C++
#ifndef D_DEBUG_PAD_H
|
|
#define D_DEBUG_PAD_H
|
|
|
|
#include "JSystem/JUtility/TColor.h"
|
|
|
|
class dDebugPad_c {
|
|
public:
|
|
enum Mode_e {
|
|
MODE_CAMERA_e,
|
|
MODE_LIGHT_e,
|
|
MODE_WINDTEST_e,
|
|
MODE_SDCARD_e,
|
|
|
|
MODE_MAX_e,
|
|
};
|
|
|
|
dDebugPad_c();
|
|
|
|
bool Active() { return mIsActive; }
|
|
bool Update();
|
|
bool Report(int, int, JUtility::TColor, const char*, ...);
|
|
bool Enable(s32);
|
|
bool Trigger();
|
|
|
|
static const char mode_name[MODE_MAX_e][9];
|
|
|
|
/* 0x0 */ bool mIsActive;
|
|
/* 0x1 */ u8 mTrigger;
|
|
/* 0x4 */ s32 mMode;
|
|
};
|
|
|
|
DUSK_GAME_EXTERN dDebugPad_c dDebugPad;
|
|
|
|
#endif
|