mirror of
https://github.com/zeldaret/ss
synced 2026-05-24 23:21:41 -04:00
70 lines
1.3 KiB
C++
70 lines
1.3 KiB
C++
#ifndef D_DVD_UNK_H
|
|
#define D_DVD_UNK_H
|
|
|
|
#include "common.h"
|
|
#include "egg/core/eggHeap.h"
|
|
|
|
// This file is related to errors that are
|
|
// displayed on the screen, using a backup font
|
|
// included in the DOL.
|
|
|
|
namespace dDvdUnk {
|
|
|
|
class FontUnk {
|
|
public:
|
|
FontUnk() : field_0x2D(0) {}
|
|
|
|
static FontUnk *GetInstance() {
|
|
return sInstance;
|
|
}
|
|
|
|
static void create(EGG::Heap *heap);
|
|
void init();
|
|
|
|
void fn_800529B0();
|
|
void fn_800529E0();
|
|
void fn_80052A20();
|
|
void fn_80052D00(bool);
|
|
void fn_80052D50();
|
|
void fn_80052C90();
|
|
void fn_80052C60();
|
|
|
|
s32 getField_0x24() const {
|
|
return field_0x24;
|
|
}
|
|
|
|
bool getField_0x28() const {
|
|
return field_0x28;
|
|
}
|
|
|
|
u8 getField_0x29() const {
|
|
return field_0x29;
|
|
}
|
|
|
|
void setField_0x2C(u8 val) {
|
|
field_0x2C = val;
|
|
}
|
|
|
|
const nw4r::ut::ResFont &getFont() const {
|
|
return mFont;
|
|
}
|
|
|
|
private:
|
|
static FontUnk *sInstance;
|
|
|
|
/* 0x00 */ nw4r::ut::ResFont mFont;
|
|
/* 0x1C */ s32 field_0x1C;
|
|
/* 0x20 */ s32 field_0x20;
|
|
/* 0x24 */ s32 field_0x24;
|
|
/* 0x28 */ bool field_0x28;
|
|
/* 0x29 */ u8 field_0x29;
|
|
/* 0x2A */ u8 field_0x2A;
|
|
/* 0x2B */ u8 field_0x2B;
|
|
/* 0x2C */ u8 field_0x2C;
|
|
/* 0x2D */ u8 field_0x2D;
|
|
};
|
|
|
|
} // namespace dDvdUnk
|
|
|
|
#endif
|