Files
tp/include/d/d_debug_pad.h
TakaRikka 5867eaf68b general cleanup, d_menu_quit / d_a_obj_testcube mostly done, d_msg_scrn_explain debug (#3065)
* typedef for cPhs_Step

* make sdk includes consistent

* d_menu_quit / d_msg_scrn_explain debug

* d_a_obj_testcube mostly done

* d_debug_pad mostly done

* jstudio tool library headers

* some JStudioCameraEditor headers

* d_jcam_editor mostly done

* try fixing some shield regressions

* d_bg_parts mostly done

* fix merge errors

* debug fix
2026-01-24 23:36:23 -08:00

35 lines
609 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;
};
extern dDebugPad_c dDebugPad;
#endif