mirror of
https://github.com/zeldaret/ss
synced 2026-06-04 10:48:38 -04:00
d_dvd_drive_error OK
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
namespace d2d {
|
||||
|
||||
void defaultSet();
|
||||
void draw();
|
||||
|
||||
} // namespace d2d
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
#ifndef D_DVD_DRIVE_ERROR_H
|
||||
#define D_DVD_DRIVE_ERROR_H
|
||||
|
||||
#include "common.h"
|
||||
#include "egg/core/eggHeap.h"
|
||||
|
||||
class dDvdDriveError_c {
|
||||
public:
|
||||
static void create(EGG::Heap *heap);
|
||||
void draw();
|
||||
void execute();
|
||||
void init();
|
||||
bool isError() const;
|
||||
|
||||
static dDvdDriveError_c *GetInstance() {
|
||||
return sInstance;
|
||||
}
|
||||
|
||||
private:
|
||||
static dDvdDriveError_c *sInstance;
|
||||
|
||||
/* 0x00 */ s32 mDvdDriveStatus;
|
||||
/* 0x04 */ bool mIsError;
|
||||
};
|
||||
|
||||
#endif
|
||||
+9
-16
@@ -10,32 +10,21 @@
|
||||
|
||||
namespace dDvdUnk {
|
||||
|
||||
class unkstruct_c {
|
||||
public:
|
||||
static unkstruct_c *create(EGG::Heap *heap);
|
||||
void draw();
|
||||
void execute();
|
||||
void init();
|
||||
char getUnk();
|
||||
|
||||
static void createFont(EGG::Heap *heap);
|
||||
|
||||
private:
|
||||
UNKWORD field_0x0;
|
||||
char field_0x4;
|
||||
};
|
||||
|
||||
class FontUnk {
|
||||
public:
|
||||
FontUnk() {}
|
||||
FontUnk() : field_0x2D(0) {}
|
||||
|
||||
static FontUnk *GetInstance() {
|
||||
return sInstance;
|
||||
}
|
||||
|
||||
static void create(EGG::Heap *heap);
|
||||
void init();
|
||||
|
||||
void fn_80052D00(bool);
|
||||
void fn_80052D50();
|
||||
void fn_80052C90();
|
||||
void fn_80052C60();
|
||||
|
||||
s32 getField_0x24() const {
|
||||
return field_0x24;
|
||||
@@ -53,6 +42,10 @@ public:
|
||||
field_0x2C = val;
|
||||
}
|
||||
|
||||
const nw4r::ut::ResFont &getFont() const {
|
||||
return mFont;
|
||||
}
|
||||
|
||||
private:
|
||||
static FontUnk *sInstance;
|
||||
|
||||
|
||||
+4
-4
@@ -6,10 +6,10 @@
|
||||
// Made up name
|
||||
class dGfx_c {
|
||||
public:
|
||||
typedef void (*PreDrawCallback)(void);
|
||||
typedef void (*DrawCallback)(void);
|
||||
|
||||
void setDrawCallback(PreDrawCallback cb) {
|
||||
mPreDrawCb = cb;
|
||||
void setDrawCallback(DrawCallback cb) {
|
||||
mDrawCallback = cb;
|
||||
}
|
||||
|
||||
void setField0x09(u8 val) {
|
||||
@@ -24,7 +24,7 @@ private:
|
||||
static dGfx_c *sInstance;
|
||||
|
||||
/* 0x00 */ u8 _0x00[0x04 - 0x00];
|
||||
/* 0x04 */ PreDrawCallback mPreDrawCb;
|
||||
/* 0x04 */ DrawCallback mDrawCallback;
|
||||
/* 0x08 */ u8 field_0x08;
|
||||
/* 0x09 */ u8 field_0x09;
|
||||
};
|
||||
|
||||
@@ -38,8 +38,8 @@ private:
|
||||
|
||||
private:
|
||||
/* 0x000 */ SizedString<64> mArcName;
|
||||
/* 0x040 */ SizedString<64> mStr2;
|
||||
/* 0x080 */ SizedString<64> mStr3;
|
||||
/* 0x040 */ SizedString<64> mLytFileName;
|
||||
/* 0x080 */ SizedString<64> mAnimFileName;
|
||||
/* 0x0C0 */ d2d::ResAccIf_c mResAcc;
|
||||
/* 0x430 */ m2d::Simple_c mLyt;
|
||||
/* 0x4C8 */ m2d::Anm_c mAnm;
|
||||
@@ -58,6 +58,8 @@ private:
|
||||
|
||||
bool checkDone();
|
||||
|
||||
static void drawCallback();
|
||||
|
||||
sFPhaseBase::sFPhaseState cb1();
|
||||
sFPhaseBase::sFPhaseState cb2();
|
||||
sFPhaseBase::sFPhaseState cb3();
|
||||
@@ -77,7 +79,7 @@ private:
|
||||
/* 0x570 */ mDvd_callback_c *mpDvdCallback;
|
||||
/* 0x574 */ STATE_MGR_DECLARE(dScBoot_c);
|
||||
/* 0x5B4 */ dFader_c mFader;
|
||||
/* 0x5D4 */ s32 field_0x5D4;
|
||||
/* 0x5D4 */ s32 mProgressStage;
|
||||
/* 0x5D8 */ u32 field_0x5D8;
|
||||
/* 0x5DC */ u8 field_0x5DC;
|
||||
/* 0x5DD */ u8 field_0x5DD;
|
||||
|
||||
@@ -11,6 +11,8 @@ public:
|
||||
return sInstance;
|
||||
}
|
||||
|
||||
static bool create();
|
||||
|
||||
bool setProperties(const char *label, bool, const wchar_t *);
|
||||
void showMaybe();
|
||||
void showMaybe(s32 arg);
|
||||
|
||||
Reference in New Issue
Block a user