Files
ss/include/d/d_gfx.h
T
2025-05-14 21:20:12 +02:00

33 lines
538 B
C++

#ifndef D_GFX_H
#define D_GFX_H
#include "common.h"
// Made up name
class dGfx_c {
public:
typedef void (*DrawCallback)(void);
void setDrawCallback(DrawCallback cb) {
mDrawCallback = cb;
}
void setField0x09(u8 val) {
field_0x09 = val;
}
static dGfx_c *GetInstance() {
return sInstance;
}
private:
static dGfx_c *sInstance;
/* 0x00 */ u8 _0x00[0x04 - 0x00];
/* 0x04 */ DrawCallback mDrawCallback;
/* 0x08 */ u8 field_0x08;
/* 0x09 */ u8 field_0x09;
};
#endif