mirror of
https://github.com/zeldaret/tp
synced 2026-07-11 15:28:38 -04:00
Merge remote-tracking branch 'Upstream/master'
This commit is contained in:
@@ -1,6 +1,115 @@
|
||||
#ifndef JFWDISPLAY_H
|
||||
#define JFWDISPLAY_H
|
||||
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include "JSystem/JUtility/JUTDirectPrint.h"
|
||||
#include "JSystem/JUtility/JUTFader.h"
|
||||
#include "JSystem/JUtility/JUTProcBar.h"
|
||||
#include "JSystem/JUtility/JUTXfb.h"
|
||||
#include "JSystem/JUtility/TColor.h"
|
||||
#include "dolphin/gx/GX.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
typedef void (*JFWDisplayUnkFunc)(void);
|
||||
|
||||
class JFWAlarm : public OSAlarm {
|
||||
public:
|
||||
JFWAlarm() : mLink(this) {}
|
||||
~JFWAlarm() {}
|
||||
void createAlarm() { OSCreateAlarm(this); }
|
||||
void cancelAlarm() { OSCancelAlarm(this); }
|
||||
void removeLink() { sList.remove(&mLink); }
|
||||
void appendLink() { sList.append(&mLink); }
|
||||
OSThread* getThread() const { return mThread; }
|
||||
void setThread(OSThread* thread) { mThread = thread; }
|
||||
|
||||
static JSUList<JFWAlarm> sList;
|
||||
|
||||
public:
|
||||
/* 0x28 */ OSThread* mThread;
|
||||
/* 0x2C */ JSULink<JFWAlarm> mLink;
|
||||
};
|
||||
|
||||
class JFWDisplay {
|
||||
public:
|
||||
enum EDrawDone {
|
||||
/* 0x0 */ UNK_METHOD_0 = 0,
|
||||
/* 0x1 */ UNK_METHOD_1 = 1
|
||||
};
|
||||
|
||||
/* 80272040 */ void ctor_subroutine(bool);
|
||||
/* 802720F8 */ JFWDisplay(JKRHeap*, JUTXfb::EXfbNumber, bool);
|
||||
/* 802721DC */ static JFWDisplay* createManager(_GXRenderModeObj const*, JKRHeap*,
|
||||
JUTXfb::EXfbNumber, bool);
|
||||
/* 802722B8 */ void prepareCopyDisp();
|
||||
/* 802723AC */ void drawendXfb_single();
|
||||
/* 802723F4 */ void exchangeXfb_double();
|
||||
/* 802724FC */ void exchangeXfb_triple();
|
||||
/* 80272574 */ void copyXfb_triple();
|
||||
/* 802725F8 */ void preGX();
|
||||
/* 8027268C */ void endGX();
|
||||
/* 80272C60 */ void waitBlanking(int);
|
||||
/* 80272E10 */ void threadSleep(s64);
|
||||
/* 80272EB8 */ void clearEfb_init();
|
||||
/* 80272F9C */ void clearEfb(int, int, int, int, _GXColor);
|
||||
/* 80272F2C */ void clearEfb();
|
||||
/* 80272F58 */ void clearEfb(_GXColor);
|
||||
/* 8027331C */ void calcCombinationRatio();
|
||||
|
||||
/* 80272798 */ virtual void beginRender();
|
||||
/* 80272A04 */ virtual void endRender();
|
||||
/* 80272AB0 */ virtual void endFrame();
|
||||
/* 80272160 */ virtual ~JFWDisplay();
|
||||
|
||||
static JFWDisplay* getManager() { return sManager; }
|
||||
|
||||
int startFadeOut(int param_0) {
|
||||
if (mFader != NULL) {
|
||||
return mFader->startFadeOut(param_0);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
int startFadeIn(int param_0) {
|
||||
if (mFader != NULL) {
|
||||
return mFader->startFadeIn(param_0);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
static JFWDisplay* sManager;
|
||||
|
||||
private:
|
||||
/* 0x04 */ JUTFader* mFader;
|
||||
/* 0x08 */ JUtility::TColor mClearColor;
|
||||
/* 0x0C */ u32 mZClear;
|
||||
/* 0x10 */ JUTXfb* mXfbManager;
|
||||
/* 0x14 */ u16 mGamma;
|
||||
/* 0x18 */ EDrawDone mDrawDoneMethod;
|
||||
/* 0x1C */ u16 mFrameRate;
|
||||
/* 0x20 */ u32 mTickRate;
|
||||
/* 0x24 */ bool mEnableAlpha;
|
||||
/* 0x26 */ u16 mClamp;
|
||||
/* 0x28 */ f32 mCombinationRatio;
|
||||
/* 0x2C */ u32 field_0x2c;
|
||||
/* 0x30 */ u32 field_0x30;
|
||||
/* 0x34 */ u32 field_0x34;
|
||||
/* 0x38 */ int field_0x38;
|
||||
/* 0x3C */ int field_0x3c;
|
||||
/* 0x40 */ bool field_0x40;
|
||||
/* 0x44 */ JFWDisplayUnkFunc field_0x44;
|
||||
/* 0x48 */ s16 field_0x48;
|
||||
/* 0x4A */ u8 field_0x4a;
|
||||
};
|
||||
|
||||
inline void JUTChangeFrameBuffer(void* buffer, u16 height, u16 width) {
|
||||
JUTDirectPrint::getManager()->changeFrameBuffer(buffer, width, height);
|
||||
}
|
||||
|
||||
static void JFWDrawDoneAlarm();
|
||||
static void JFWThreadAlarmHandler(OSAlarm*, OSContext*);
|
||||
static void JFWGXAbortAlarmHandler(OSAlarm*, OSContext*);
|
||||
static void waitForTick(u32, u16);
|
||||
static void diagnoseGpHang();
|
||||
|
||||
#endif /* JFWDISPLAY_H */
|
||||
|
||||
@@ -1,12 +1,16 @@
|
||||
#ifndef JFWSYSTEM_H
|
||||
#define JFWSYSTEM_H
|
||||
|
||||
#include "JSystem/JKernel/JKRExpHeap.h"
|
||||
#include "JSystem/JKernel/JKRThread.h"
|
||||
#include "JSystem/JUtility/JUTConsole.h"
|
||||
#include "JSystem/JUtility/JUTDbPrint.h"
|
||||
#include "JSystem/JUtility/JUTResFont.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
struct JFWSystem {
|
||||
struct CSetUpParam {
|
||||
static u32 maxStdHeaps;
|
||||
static s32 maxStdHeaps;
|
||||
static u32 sysHeapSize;
|
||||
static u32 fifoBufSize;
|
||||
static u32 aramAudioBufSize;
|
||||
@@ -14,22 +18,22 @@ struct JFWSystem {
|
||||
static u32 streamPriority;
|
||||
static u32 decompPriority;
|
||||
static u32 aPiecePriority;
|
||||
static void* systemFontRes;
|
||||
static void* renderMode;
|
||||
static u32 exConsoleBufferSize[1 + 1 /* padding */];
|
||||
static ResFONT* systemFontRes;
|
||||
static GXRenderModeObj* renderMode;
|
||||
static u32 exConsoleBufferSize;
|
||||
};
|
||||
|
||||
/* 80271CD0 */ void firstInit();
|
||||
/* 80271D18 */ void init();
|
||||
/* 80271CD0 */ static void firstInit();
|
||||
/* 80271D18 */ static void init();
|
||||
|
||||
static JUTConsole* getSystemConsole() { return systemConsole; }
|
||||
|
||||
static u8 rootHeap[4];
|
||||
static u8 systemHeap[4];
|
||||
static u8 mainThread[4];
|
||||
static u8 debugPrint[4];
|
||||
static u8 systemFont[4];
|
||||
static u8 systemConsoleManager[4];
|
||||
static JKRExpHeap* rootHeap;
|
||||
static JKRExpHeap* systemHeap;
|
||||
static JKRThread* mainThread;
|
||||
static JUTDbPrint* debugPrint;
|
||||
static JUTResFont* systemFont;
|
||||
static JUTConsoleManager* systemConsoleManager;
|
||||
static JUTConsole* systemConsole;
|
||||
};
|
||||
|
||||
|
||||
@@ -40,9 +40,7 @@ struct TVec3<f32> {
|
||||
z = z_;
|
||||
}
|
||||
|
||||
void zero() {
|
||||
x = y = z = 0.0f;
|
||||
}
|
||||
void zero() { x = y = z = 0.0f; }
|
||||
|
||||
void mul(const TVec3<f32>& a, const TVec3<f32>& b) {
|
||||
x = a.x * b.x;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#ifndef JPABASESHAPE_H
|
||||
#define JPABASESHAPE_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "dolphin/gx/GX.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class JPAEmitterWorkData;
|
||||
class JKRHeap;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#ifndef JPACHILDSHAPE_H
|
||||
#define JPACHILDSHAPE_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "dolphin/gx/GX.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
struct JPAChildShapeData {
|
||||
// Common header.
|
||||
|
||||
@@ -26,11 +26,13 @@
|
||||
// TODO: make it a namespace
|
||||
struct JUTAssertion {
|
||||
/* 802E495C */ static void create();
|
||||
/* 802E4960 */ static void flush_subroutine();
|
||||
/* 802E4960 */ static u32 flush_subroutine();
|
||||
/* 802E499C */ static void flushMessage();
|
||||
/* 802E4A54 */ static void flushMessage_dbPrint();
|
||||
/* 802E4C34 */ static void setVisible(bool);
|
||||
/* 802E4C3C */ static void setMessageCount(int);
|
||||
};
|
||||
|
||||
extern bool sAssertVisible;
|
||||
|
||||
#endif /* JUTASSERT_H */
|
||||
|
||||
@@ -14,6 +14,12 @@ public:
|
||||
UNK_TYPE2 = 2,
|
||||
};
|
||||
|
||||
enum OutputFlag {
|
||||
/* 0x0 */ OUTPUT_NONE,
|
||||
/* 0x1 */ OUTPUT_OSREPORT,
|
||||
/* 0x2 */ OUTPUT_CONSOLE
|
||||
};
|
||||
|
||||
/* 802E73E4 */ static JUTConsole* create(unsigned int, void*, u32);
|
||||
/* 802E7354 */ static JUTConsole* create(unsigned int, unsigned int, JKRHeap*);
|
||||
/* 802E746C */ JUTConsole(unsigned int, unsigned int, bool);
|
||||
@@ -46,6 +52,11 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void setFont(JUTFont* p_font) {
|
||||
mFont = p_font;
|
||||
setFontSize(p_font->getWidth(), p_font->getHeight());
|
||||
}
|
||||
|
||||
u32 getOutput() const { return mOutput; }
|
||||
int getPositionY() const { return mPositionY; }
|
||||
int getPositionX() const { return mPositionX; }
|
||||
|
||||
@@ -26,7 +26,9 @@ public:
|
||||
/* 802E0440 */ void drawString(int, int, int, u8 const*);
|
||||
|
||||
static JUTDbPrint* getManager() { return sDebugPrint; }
|
||||
|
||||
void setVisible(bool visible) { mVisible = visible; }
|
||||
JUTFont* getFont() const { return mFont; }
|
||||
|
||||
static JUTDbPrint* sDebugPrint;
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ public:
|
||||
/* 802E4240 */ static JUTDirectPrint* start();
|
||||
|
||||
bool isActive() const { return field_0x00 != 0; }
|
||||
JUtility::TColor getCharColor() const { return mCharColor; }
|
||||
|
||||
static JUTDirectPrint* getManager() { return sDirectPrint; }
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ class JUTFader {
|
||||
public:
|
||||
enum EStatus {
|
||||
UNKSTATUS_M1 = -1,
|
||||
UNKSTATUS_0 = 0,
|
||||
};
|
||||
|
||||
/* 802E5530 */ JUTFader(int, int, int, int, JUtility::TColor);
|
||||
@@ -20,6 +21,9 @@ public:
|
||||
/* 802E579C */ virtual bool startFadeOut(int);
|
||||
/* 802E56DC */ virtual void draw();
|
||||
|
||||
s32 getStatus() const { return mStatus; }
|
||||
void setColor(JUtility::TColor color) { mColor.set(color); }
|
||||
|
||||
private:
|
||||
/* 0x04 */ s32 mStatus;
|
||||
/* 0x08 */ u16 field_0x8;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define JUTFONT_H
|
||||
|
||||
#include "JSystem/JUtility/TColor.h"
|
||||
#include "MSL_C.PPCEABI.bare.H/MSL_Common/Src/string.h"
|
||||
#include "dolphin/gx/GX.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
@@ -88,6 +89,14 @@ public:
|
||||
void setGradColor(JUtility::TColor col1, JUtility::TColor col2);
|
||||
f32 drawString_size_scale(f32 a1, f32 a2, f32 a3, f32 a4, const char* a5, u32 usz, bool a7);
|
||||
|
||||
void drawString(int param_0, int param_1, const char* str, bool param_3) {
|
||||
drawString_size(param_0, param_1, str, strlen(str), param_3);
|
||||
}
|
||||
|
||||
void drawString_size(int param_0, int param_1, const char* str, u32 len, bool param_4) {
|
||||
drawString_size_scale(param_0, param_1, getWidth(), getHeight(), str, len, param_4);
|
||||
}
|
||||
|
||||
/* 0x04 */ bool mValid;
|
||||
/* 0x05 */ bool mFixed;
|
||||
/* 0x08 */ int mFixedWidth;
|
||||
|
||||
@@ -1,6 +1,35 @@
|
||||
#ifndef JUTGRAPHFIFO_H
|
||||
#define JUTGRAPHFIFO_H
|
||||
|
||||
#include "dolphin/gx/GX.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class JUTGraphFifo {
|
||||
public:
|
||||
/* 802DEB58 */ JUTGraphFifo(u32);
|
||||
|
||||
/* 802DEC34 */ virtual ~JUTGraphFifo();
|
||||
|
||||
void getGpStatus() {
|
||||
GXGetGPStatus((GXBool*)&mGpStatus[0], (GXBool*)&mGpStatus[1], (GXBool*)&mGpStatus[2],
|
||||
(GXBool*)&mGpStatus[3], (GXBool*)&mGpStatus[4]);
|
||||
}
|
||||
|
||||
bool isGPActive() {
|
||||
getGpStatus();
|
||||
return mGpStatus[2] == false;
|
||||
}
|
||||
|
||||
void save() { GXSaveCPUFifo(this->mFifo); }
|
||||
|
||||
static JUTGraphFifo* sCurrentFifo;
|
||||
static bool mGpStatus[5];
|
||||
|
||||
private:
|
||||
/* 0x04 */ GXFifoObj* mFifo;
|
||||
/* 0x08 */ void* mBase;
|
||||
/* 0x0C */ u32 mSize;
|
||||
/* 0x10 */ u8 field_0x10[0xC];
|
||||
};
|
||||
|
||||
#endif /* JUTGRAPHFIFO_H */
|
||||
|
||||
@@ -1,6 +1,91 @@
|
||||
#ifndef JUTPROCBAR_H
|
||||
#define JUTPROCBAR_H
|
||||
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include "JSystem/JUtility/TColor.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class JUTProcBar {
|
||||
public:
|
||||
class CTime {
|
||||
public:
|
||||
/* 802E7340 */ CTime();
|
||||
|
||||
void start(u8 param_0, u8 param_1, u8 param_2) {
|
||||
field_0x10 = param_0;
|
||||
field_0x11 = param_1;
|
||||
field_0x12 = param_2;
|
||||
mTick = OSGetTick();
|
||||
}
|
||||
|
||||
void end() {
|
||||
field_0x4 = ((OSGetTick() - mTick) * 8) / ((*(u32*)0x800000F8 / 4) / 125000);
|
||||
if (field_0x4 == 0) {
|
||||
field_0x4 = 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* 0x00 */ u32 mTick;
|
||||
/* 0x04 */ u32 field_0x4;
|
||||
/* 0x08 */ u32 field_0x8;
|
||||
/* 0x0C */ u32 field_0xc;
|
||||
/* 0x10 */ u8 field_0x10;
|
||||
/* 0x11 */ u8 field_0x11;
|
||||
/* 0x12 */ u8 field_0x12;
|
||||
};
|
||||
|
||||
class CParamSet {
|
||||
public:
|
||||
/* 0x00 */ int mBarWidth;
|
||||
/* 0x04 */ int mPosX;
|
||||
/* 0x08 */ int mPosY;
|
||||
/* 0x0C */ int mWidth;
|
||||
/* 0x10 */ int mUserPosition;
|
||||
};
|
||||
|
||||
/* 802E5888 */ JUTProcBar();
|
||||
/* 802E599C */ ~JUTProcBar();
|
||||
/* 802E59E0 */ static void create();
|
||||
/* 802E5A28 */ static void destroy();
|
||||
/* 802E5A60 */ static void clear();
|
||||
/* 802E5B30 */ void bar_subroutine(int, int, int, int, int, int, int, JUtility::TColor,
|
||||
JUtility::TColor);
|
||||
/* 802E5CC4 */ void adjustMeterLength(u32, f32*, f32, f32, int*);
|
||||
/* 802E5E08 */ void draw();
|
||||
/* 802E5E3C */ void drawProcessBar();
|
||||
/* 802E6FA0 */ void drawHeapBar();
|
||||
|
||||
void cpuStart() { mCpu.start(255, 129, 30); }
|
||||
void cpuEnd() { mCpu.end(); }
|
||||
void gpWaitStart() { mGpWait.start(255, 129, 30); }
|
||||
void gpWaitEnd() { mGpWait.end(); }
|
||||
void gpStart() { mGp.start(255, 129, 30); }
|
||||
void gpEnd() { mGp.end(); }
|
||||
void wholeLoopStart() { mWholeLoop.start(255, 129, 30); }
|
||||
void wholeLoopEnd() { mWholeLoop.end(); }
|
||||
void idleStart() { mIdle.start(255, 129, 30); }
|
||||
void idleEnd() { mIdle.end(); }
|
||||
void setCostFrame(int frame) { mCostFrame = frame; }
|
||||
|
||||
static JUTProcBar* getManager() { return sManager; }
|
||||
|
||||
static JUTProcBar* sManager;
|
||||
|
||||
private:
|
||||
/* 0x000 */ CTime mIdle;
|
||||
/* 0x014 */ CTime mGp;
|
||||
/* 0x028 */ CTime mCpu;
|
||||
/* 0x03C */ CTime mGpWait;
|
||||
/* 0x050 */ CTime mWholeLoop;
|
||||
/* 0x064 */ CTime field_0x64[8];
|
||||
/* 0x104 */ int mCostFrame;
|
||||
/* 0x108 */ int field_0x108;
|
||||
/* 0x10C */ bool mVisible;
|
||||
/* 0x110 */ int field_0x110;
|
||||
/* 0x114 */ CParamSet field_0x114;
|
||||
/* 0x128 */ int field_0x128;
|
||||
/* 0x12C */ JKRHeap* mWatchHeap;
|
||||
/* 0x130 */ bool mHeapBarVisible;
|
||||
};
|
||||
|
||||
#endif /* JUTPROCBAR_H */
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
#include "dolphin/types.h"
|
||||
#include "dolphin/vi/vi.h"
|
||||
|
||||
typedef u8 (*Pattern)[2];
|
||||
|
||||
class JUTVideo {
|
||||
public:
|
||||
typedef void (*Callback)(u32);
|
||||
@@ -16,8 +18,8 @@ public:
|
||||
// TODO: return types not confirmed
|
||||
/* 802E4C54 */ static JUTVideo* createManager(GXRenderModeObj const*);
|
||||
/* 802E4CAC */ static void destroyManager();
|
||||
/* 802E5088 */ void drawDoneStart();
|
||||
/* 802E50B0 */ void dummyNoDrawWait();
|
||||
/* 802E5088 */ static void drawDoneStart();
|
||||
/* 802E50B0 */ static void dummyNoDrawWait();
|
||||
/* 802E5198 */ void setRenderMode(GXRenderModeObj const*);
|
||||
/* 802E5210 */ void waitRetraceIfNeed();
|
||||
|
||||
@@ -25,10 +27,22 @@ public:
|
||||
/* 802E5144 */ static void postRetraceProc(u32);
|
||||
/* 802E50BC */ static void drawDoneCallback();
|
||||
|
||||
u32 getFbWidth() const { return mRenderObj->fb_width; }
|
||||
u32 getEfbHeight() const { return mRenderObj->efb_height; }
|
||||
u16 getFbWidth() const { return mRenderObj->fb_width; }
|
||||
u16 getEfbHeight() const { return mRenderObj->efb_height; }
|
||||
void getBounds(u16& width, u16& height) const {
|
||||
width = (u16)getFbWidth();
|
||||
height = (u16)getEfbHeight();
|
||||
}
|
||||
u16 getXfbHeight() const { return mRenderObj->xfb_height; }
|
||||
u32 isAntiAliasing() const { return mRenderObj->antialiasing; }
|
||||
Pattern getSamplePattern() const { return mRenderObj->sample_pattern; }
|
||||
u8* getVFilter() const { return mRenderObj->vfilter; }
|
||||
OSMessageQueue* getMessageQueue() { return &mMessageQueue; }
|
||||
|
||||
static JUTVideo* getManager() { return sManager; }
|
||||
static OSTick getVideoInterval() { return sVideoInterval; }
|
||||
static OSTick getVideoLastTick() { return sVideoLastTick; }
|
||||
|
||||
GXRenderModeObj* getRenderMode() const { return mRenderObj; }
|
||||
|
||||
private:
|
||||
|
||||
@@ -25,7 +25,7 @@ public:
|
||||
|
||||
s32 getBufferNum() const { return mBufferNum; }
|
||||
s16 getDrawnXfbIndex() const { return mDrawnXfbIndex; }
|
||||
s16 getDrawningXfbIndex() const { return mDrawingXfbIndex; }
|
||||
s16 getDrawingXfbIndex() const { return mDrawingXfbIndex; }
|
||||
s16 getDisplayingXfbIndex() const { return mDisplayingXfbIndex; }
|
||||
s32 getSDrawingFlag() const { return mSDrawingFlag; }
|
||||
|
||||
@@ -35,7 +35,7 @@ public:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void* getDrawningXfb() const {
|
||||
void* getDrawingXfb() const {
|
||||
if (mDrawingXfbIndex >= 0)
|
||||
return mBuffer[mDrawingXfbIndex];
|
||||
return NULL;
|
||||
@@ -49,6 +49,8 @@ public:
|
||||
|
||||
void setDisplayingXfbIndex(s16 index) { mDisplayingXfbIndex = index; }
|
||||
void setSDrawingFlag(s32 flag) { mSDrawingFlag = flag; }
|
||||
void setDrawnXfbIndex(s16 index) { mDrawnXfbIndex = index; }
|
||||
void setDrawingXfbIndex(s16 index) { mDrawingXfbIndex = index; }
|
||||
|
||||
static JUTXfb* getManager() { return sManager; }
|
||||
|
||||
|
||||
@@ -229,7 +229,7 @@ public:
|
||||
JKRExpHeap* getSubExpHeap2D(int idx) { return mSubExpHeap2D[idx]; }
|
||||
void setSubExpHeap2D(int idx, void* heap) { mSubExpHeap2D[idx] = (JKRExpHeap*)heap; }
|
||||
void offEnableNextStage() { mNextStage.offEnable(); }
|
||||
JKRHeap* getExpHeap2D() { return mExpHeap2D; }
|
||||
JKRExpHeap* getExpHeap2D() { return mExpHeap2D; }
|
||||
dEvent_manager_c& getEvtManager() { return mEvtManager; }
|
||||
dAttention_c& getAttention() { return mAttention; }
|
||||
JKRArchive* getMsgDtArchive(int idx) { return mMsgDtArchive[idx]; }
|
||||
@@ -240,6 +240,7 @@ public:
|
||||
void* getPlayer(int idx) { return mPlayer[idx]; }
|
||||
JKRArchive* getMain2DArchive() { return mMain2DArchive; }
|
||||
JKRArchive* getAnmArchive() { return mAnmArchive; }
|
||||
JKRArchive* getCollectResArchive() { return mCollectResArchive; }
|
||||
J2DGrafContext* getCurrentGrafPort() { return mCurrentGrafPort; }
|
||||
dVibration_c& getVibration() { return mVibration; }
|
||||
void setPlayerStatus(int param_0, int i, u32 flag) { mPlayerStatus[i] |= flag; }
|
||||
@@ -255,6 +256,7 @@ public:
|
||||
m3DDirection = direction;
|
||||
m3DSetFlag = flag;
|
||||
}
|
||||
void offPauseFlag() { mPauseFlag = false; }
|
||||
|
||||
public:
|
||||
/* 0x00000 */ dBgS mDBgS;
|
||||
@@ -506,6 +508,8 @@ STATIC_ASSERT(122384 == sizeof(dComIfG_inf_c));
|
||||
|
||||
extern dComIfG_inf_c g_dComIfG_gameInfo;
|
||||
|
||||
extern GXColor g_blackColor;
|
||||
|
||||
void dComIfGp_setItemLifeCount(float, u8);
|
||||
void dComIfGp_setItemRupeeCount(long);
|
||||
int dComIfGs_isItemFirstBit(u8);
|
||||
@@ -547,6 +551,7 @@ int dComIfGp_getSelectItemMaxNum(int);
|
||||
void dComIfGp_mapShow();
|
||||
void dComIfGp_mapHide();
|
||||
bool dComIfGp_checkMapShow();
|
||||
s32 dComIfGp_setHeapLockFlag(u8);
|
||||
|
||||
inline void dComIfGp_setRStatus(u8 status, u8 flag) {
|
||||
g_dComIfG_gameInfo.play.setRStatus(status, flag);
|
||||
@@ -967,7 +972,7 @@ inline int dComIfG_syncObjectRes(const char* name) {
|
||||
return g_dComIfG_gameInfo.mResControl.syncObjectRes(name);
|
||||
}
|
||||
|
||||
inline JKRHeap* dComIfGp_getExpHeap2D() {
|
||||
inline JKRExpHeap* dComIfGp_getExpHeap2D() {
|
||||
return g_dComIfG_gameInfo.play.getExpHeap2D();
|
||||
}
|
||||
|
||||
@@ -1119,6 +1124,10 @@ inline daPy_py_c* dComIfGp_getLinkPlayer() {
|
||||
return (daPy_py_c*)g_dComIfG_gameInfo.play.getPlayerPtr(LINK_PTR);
|
||||
}
|
||||
|
||||
inline daPy_py_c* daPy_getLinkPlayerActorClass() {
|
||||
return dComIfGp_getLinkPlayer();
|
||||
}
|
||||
|
||||
inline daAlink_c* daAlink_getAlinkActorClass() {
|
||||
return (daAlink_c*)g_dComIfG_gameInfo.play.getPlayerPtr(LINK_PTR);
|
||||
}
|
||||
@@ -1131,6 +1140,10 @@ inline JKRArchive* dComIfGp_getAnmArchive() {
|
||||
return g_dComIfG_gameInfo.play.getAnmArchive();
|
||||
}
|
||||
|
||||
inline JKRArchive* dComIfGp_getCollectResArchive() {
|
||||
return g_dComIfG_gameInfo.play.getCollectResArchive();
|
||||
}
|
||||
|
||||
inline J2DGrafContext* dComIfGp_getCurrentGrafPort() {
|
||||
return g_dComIfG_gameInfo.play.getCurrentGrafPort();
|
||||
}
|
||||
@@ -1419,8 +1432,16 @@ inline void dComIfGd_set2DOpa(dDlst_base_c* dlst) {
|
||||
g_dComIfG_gameInfo.drawlist.set2DOpa(dlst);
|
||||
}
|
||||
|
||||
inline void dComIfGd_set2DOpaTop(dDlst_base_c* dlst) {
|
||||
g_dComIfG_gameInfo.drawlist.set2DOpaTop(dlst);
|
||||
}
|
||||
|
||||
inline dMsgObject_c* dComIfGp_getMsgObjectClass() {
|
||||
return g_dComIfG_gameInfo.play.getMsgObjectClass();
|
||||
}
|
||||
|
||||
inline void dComIfGp_offPauseFlag() {
|
||||
g_dComIfG_gameInfo.play.offPauseFlag();
|
||||
}
|
||||
|
||||
#endif /* D_COM_D_COM_INF_GAME_H */
|
||||
|
||||
@@ -192,6 +192,7 @@ public:
|
||||
/* 80056900 */ void calcWipe();
|
||||
|
||||
void set2DOpa(dDlst_base_c* dlst) { set(field_0x1b4, field_0x1b8, dlst); }
|
||||
void set2DOpaTop(dDlst_base_c* dlst) { set(field_0xac, field_0xb0, dlst); }
|
||||
|
||||
static u8 mWipeDlst[72];
|
||||
static u8 mWipeColor[4];
|
||||
@@ -226,8 +227,8 @@ private:
|
||||
/* 0x00068 */ dDlst_list_c** field_0x68;
|
||||
/* 0x0006C */ dDlst_list_c** field_0x6c; // array?
|
||||
/* 0x00070 */ u8 field_0x70[0x3C];
|
||||
/* 0x000AC */ dDlst_list_c* field_0xac;
|
||||
/* 0x000B0 */ dDlst_list_c** field_0xb0;
|
||||
/* 0x000AC */ dDlst_base_c** field_0xac;
|
||||
/* 0x000B0 */ dDlst_base_c** field_0xb0;
|
||||
/* 0x000B4 */ dDlst_list_c** field_0xb4; // array?
|
||||
/* 0x000B8 */ u8 field_0xb8[0xFC];
|
||||
/* 0x001B4 */ dDlst_base_c** field_0x1b4;
|
||||
|
||||
@@ -17,6 +17,8 @@ struct STControl {
|
||||
/* 80032524 */ bool checkUpTrigger();
|
||||
/* 800325A0 */ bool checkDownTrigger();
|
||||
|
||||
void setFirstWaitTime(s16 time) { mFirstWaitTime = time; }
|
||||
|
||||
/* 0x04 */ f32 field_0x04;
|
||||
/* 0x08 */ f32 field_0x08;
|
||||
/* 0x0C */ u8 field_0x0c;
|
||||
@@ -40,6 +42,10 @@ struct STControl {
|
||||
}; // Size = 0x30
|
||||
|
||||
struct CSTControl : public STControl {
|
||||
CSTControl(s16 param_0, s16 param_1, s16 param_2, s16 param_3, f32 param_4, f32 param_5,
|
||||
s16 param_6, s16 param_7)
|
||||
: STControl(param_0, param_1, param_2, param_3, param_4, param_5, param_6, param_7) {}
|
||||
|
||||
virtual f32 getValueStick();
|
||||
virtual s16 getAngleStick();
|
||||
};
|
||||
|
||||
@@ -1,6 +1,48 @@
|
||||
#ifndef D_D_SELECT_CURSOR_H
|
||||
#define D_D_SELECT_CURSOR_H
|
||||
|
||||
#include "d/d_drawlist.h"
|
||||
#include "d/d_select_icon.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class dSelect_cursorHIO_c {
|
||||
public:
|
||||
/* 801941E4 */ dSelect_cursorHIO_c();
|
||||
|
||||
/* 80195978 */ virtual ~dSelect_cursorHIO_c();
|
||||
|
||||
private:
|
||||
/* 0x04 */ u8 field_0x4;
|
||||
/* 0x08 */ f32 field_0x8;
|
||||
/* 0x0C */ f32 mXAxisExpansion;
|
||||
/* 0x10 */ f32 mYAxisExpansion;
|
||||
/* 0x14 */ f32 mOscillation;
|
||||
/* 0x18 */ f32 field_0x18;
|
||||
/* 0x1C */ f32 mRatioX;
|
||||
/* 0x20 */ f32 mRatioY;
|
||||
/* 0x24 */ bool mDebugON;
|
||||
};
|
||||
|
||||
class dSelect_cursor_c : public dDlst_base_c {
|
||||
public:
|
||||
/* 80194220 */ dSelect_cursor_c(u8, f32, JKRArchive*);
|
||||
/* 80194CC0 */ void update();
|
||||
/* 801950F4 */ void setPos(f32, f32, J2DPane*, bool);
|
||||
/* 801951B0 */ void setParam(f32, f32, f32, f32, f32);
|
||||
/* 801951C8 */ void setScale(f32);
|
||||
/* 801952A0 */ void setAlphaRate(f32);
|
||||
/* 80195330 */ void addAlpha();
|
||||
/* 801953CC */ void decAlpha();
|
||||
/* 80195460 */ void setBpkAnimation(J2DAnmColor*);
|
||||
/* 801955F0 */ void setBtk0Animation(J2DAnmTextureSRTKey*);
|
||||
/* 80195724 */ void setCursorAnimation();
|
||||
/* 801958E0 */ void setBckAnimation(J2DAnmTransformKey*);
|
||||
/* 80195940 */ void moveCenter(J2DPane*, f32, f32);
|
||||
|
||||
/* 80194C30 */ virtual void draw();
|
||||
/* 801949EC */ virtual ~dSelect_cursor_c();
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
#endif /* D_D_SELECT_CURSOR_H */
|
||||
|
||||
@@ -84,6 +84,7 @@ public:
|
||||
u16 chkEventFlag(u16 flag) { return flag & mEventFlag; }
|
||||
u8 getMode() const { return mMode; }
|
||||
u16 checkHind(u16 flag) { return flag & mHindFlag; }
|
||||
u8 checkCompulsory() { return mCompulsory; }
|
||||
|
||||
bool i_isOrderOK() { return field_0xe5 == 0 || field_0xe5 == 2; }
|
||||
|
||||
|
||||
@@ -1,6 +1,362 @@
|
||||
#ifndef D_MENU_D_MENU_COLLECT_H
|
||||
#define D_MENU_D_MENU_COLLECT_H
|
||||
|
||||
#include "JSystem/J2DGraph/J2DPicture.h"
|
||||
#include "d/d_lib.h"
|
||||
#include "d/d_select_cursor.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class dMsgString_c;
|
||||
class dMenu_save_c;
|
||||
class dMenu_Option_c;
|
||||
class dMenu_Letter_c;
|
||||
class dMenu_Fishing_c;
|
||||
class dMenu_Skill_c;
|
||||
class dMenu_Insect_c;
|
||||
|
||||
class dMenu_Collect2D_c;
|
||||
class dMenu_Collect2DTop_c : public dDlst_base_c {
|
||||
public:
|
||||
/* 801B77A4 */ virtual void draw();
|
||||
/* 801B7EB8 */ virtual ~dMenu_Collect2DTop_c();
|
||||
|
||||
/* 0x4 */ dMenu_Collect2D_c* mpCollect2D;
|
||||
};
|
||||
|
||||
class dMenu_Collect2D_c : public dDlst_base_c {
|
||||
public:
|
||||
/* 801AFD48 */ dMenu_Collect2D_c(JKRExpHeap*, STControl*, CSTControl*);
|
||||
/* 801AFEA4 */ void _create();
|
||||
/* 801B0100 */ void _delete();
|
||||
/* 801B0570 */ void initialize();
|
||||
/* 801B05A8 */ void isFishIconVisible();
|
||||
/* 801B061C */ void isSkillIconVisible();
|
||||
/* 801B071C */ void isInsectIconVisible();
|
||||
/* 801B074C */ void screenSet();
|
||||
/* 801B1C3C */ void animationSet();
|
||||
/* 801B1CE0 */ void btkAnimeLoop0(J2DAnmTextureSRTKey*);
|
||||
/* 801B1EDC */ void setBackAlpha();
|
||||
/* 801B1FAC */ void cursorMove();
|
||||
/* 801B27EC */ void cursorPosSet();
|
||||
/* 801B2A74 */ void changeSword();
|
||||
/* 801B2D00 */ void changeShield();
|
||||
/* 801B2EE4 */ void changeClothe();
|
||||
/* 801B30C8 */ void setArrowMaxNum(u8);
|
||||
/* 801B3340 */ void setWalletMaxNum(u16);
|
||||
/* 801B3524 */ void setSmellType();
|
||||
/* 801B3640 */ void setHeartPiece();
|
||||
/* 801B370C */ void setPohMaxNum(u8);
|
||||
/* 801B39D0 */ void setEquipItemFrameColorSword(int);
|
||||
/* 801B3CF4 */ void setEquipItemFrameColorShield(int);
|
||||
/* 801B3FDC */ void setEquipItemFrameColorClothes(int);
|
||||
/* 801B42D8 */ void setHIO(bool);
|
||||
/* 801B46FC */ void getItemTag(int, int, bool);
|
||||
/* 801B473C */ void wait_init();
|
||||
/* 801B48D0 */ void wait_proc();
|
||||
/* 801B4E14 */ void save_open_init();
|
||||
/* 801B4EC0 */ void save_open_proc();
|
||||
/* 801B4F30 */ void save_move_init();
|
||||
/* 801B4F6C */ void save_move_proc();
|
||||
/* 801B4FDC */ void save_close_init();
|
||||
/* 801B5018 */ void save_close_proc();
|
||||
/* 801B5094 */ void option_open_init();
|
||||
/* 801B513C */ void option_open_proc();
|
||||
/* 801B51AC */ void option_move_init();
|
||||
/* 801B51E8 */ void option_move_proc();
|
||||
/* 801B5258 */ void option_close_init();
|
||||
/* 801B5294 */ void option_close_proc();
|
||||
/* 801B5310 */ void letter_open_init();
|
||||
/* 801B53AC */ void letter_open_proc();
|
||||
/* 801B541C */ void letter_move_init();
|
||||
/* 801B5458 */ void letter_move_proc();
|
||||
/* 801B54C8 */ void letter_close_init();
|
||||
/* 801B5504 */ void letter_close_proc();
|
||||
/* 801B5580 */ void fishing_open_init();
|
||||
/* 801B561C */ void fishing_open_proc();
|
||||
/* 801B568C */ void fishing_move_init();
|
||||
/* 801B56C8 */ void fishing_move_proc();
|
||||
/* 801B5738 */ void fishing_close_init();
|
||||
/* 801B5774 */ void fishing_close_proc();
|
||||
/* 801B57F0 */ void skill_open_init();
|
||||
/* 801B588C */ void skill_open_proc();
|
||||
/* 801B58FC */ void skill_move_init();
|
||||
/* 801B5938 */ void skill_move_proc();
|
||||
/* 801B59A8 */ void skill_close_init();
|
||||
/* 801B59E4 */ void skill_close_proc();
|
||||
/* 801B5A60 */ void insect_open_init();
|
||||
/* 801B5B00 */ void insect_open_proc();
|
||||
/* 801B5B70 */ void insect_move_init();
|
||||
/* 801B5BAC */ void insect_move_proc();
|
||||
/* 801B5C1C */ void insect_close_init();
|
||||
/* 801B5C58 */ void insect_close_proc();
|
||||
/* 801B5CD4 */ void _move();
|
||||
/* 801B5D70 */ void _draw();
|
||||
/* 801B5F48 */ void drawTop();
|
||||
/* 801B5F84 */ bool isKeyCheck();
|
||||
/* 801B5FAC */ bool isOutCheck();
|
||||
/* 801B5FB4 */ void setAButtonString(u16);
|
||||
/* 801B60B8 */ void setBButtonString(u16);
|
||||
/* 801B61BC */ void setItemNameString(u8, u8);
|
||||
/* 801B6344 */ void setItemNameStringNull();
|
||||
|
||||
/* 801B7F00 */ virtual void draw();
|
||||
/* 801AFE34 */ virtual ~dMenu_Collect2D_c();
|
||||
|
||||
u8 getSubWindowOpenCheck() { return mSubWindowOpenCheck; }
|
||||
|
||||
private:
|
||||
/* 0x004 */ JKRExpHeap* mpHeap;
|
||||
/* 0x008 */ JKRExpHeap* mpSubHeap;
|
||||
/* 0x00C */ void* field_0xc;
|
||||
/* 0x010 */ STControl* field_0x10;
|
||||
/* 0x014 */ CSTControl* field_0x14;
|
||||
/* 0x018 */ J2DScreen* mpScreen;
|
||||
/* 0x01C */ J2DScreen* mpScreenIcon;
|
||||
/* 0x020 */ dSelect_cursor_c* mpDrawCursor;
|
||||
/* 0x024 */ dMsgString_c* mpString;
|
||||
/* 0x028 */ u8 field_0x28[4];
|
||||
/* 0x02C */ J2DAnmTextureSRTKey* field_0x2c;
|
||||
/* 0x030 */ u8 field_0x30[4];
|
||||
/* 0x034 */ f32 field_0x34;
|
||||
/* 0x038 */ f32 field_0x38;
|
||||
/* 0x03C */ f32 field_0x3c;
|
||||
/* 0x040 */ s32 field_0x40;
|
||||
/* 0x044 */ f32 field_0x44[2];
|
||||
/* 0x04C */ f32 field_0x4c[2];
|
||||
/* 0x054 */ f32 field_0x54;
|
||||
/* 0x058 */ f32 field_0x58;
|
||||
/* 0x05C */ f32 field_0x5c;
|
||||
/* 0x060 */ f32 field_0x60;
|
||||
/* 0x064 */ f32 field_0x64;
|
||||
/* 0x068 */ f32 field_0x68;
|
||||
/* 0x06C */ f32 field_0x6c;
|
||||
/* 0x070 */ f32 field_0x70;
|
||||
/* 0x074 */ f32 field_0x74;
|
||||
/* 0x078 */ f32 field_0x78;
|
||||
/* 0x07C */ cXyz field_0x7c;
|
||||
/* 0x088 */ dMenu_Collect2DTop_c* mpDraw2DTop;
|
||||
/* 0x08C */ J2DPicture* mpBlackTex;
|
||||
/* 0x090 */ dMenu_save_c* mpSaveScrn;
|
||||
/* 0x094 */ dMenu_Option_c* mpOptionScrn;
|
||||
/* 0x098 */ dMenu_Letter_c* mpLetterScrn;
|
||||
/* 0x09C */ dMenu_Fishing_c* mpFishingScrn;
|
||||
/* 0x0A0 */ dMenu_Skill_c* mpSkillScrn;
|
||||
/* 0x0A4 */ dMenu_Insect_c* mpInsectScrn;
|
||||
/* 0x0A8 */ CPaneMgr* mpLinkPm;
|
||||
/* 0x0AC */ CPaneMgr* mpMaskPm;
|
||||
/* 0x0B0 */ CPaneMgr* mpSelPm[7][6];
|
||||
/* 0x158 */ u8 field_0x158[0x8];
|
||||
/* 0x160 */ CPaneMgr* mpModelBg;
|
||||
/* 0x164 */ CPaneMgr* mpHeartParent;
|
||||
/* 0x168 */ CPaneMgr* mpHeartPiece;
|
||||
/* 0x16C */ CPaneMgr* mpButtonAB[2];
|
||||
/* 0x174 */ CPaneMgr* mpButtonText[2];
|
||||
/* 0x17C */ u16 field_0x17c;
|
||||
/* 0x17E */ u16 field_0x17e;
|
||||
/* 0x180 */ u16 field_0x180;
|
||||
/* 0x182 */ u16 field_0x182;
|
||||
/* 0x184 */ u16 field_0x184;
|
||||
/* 0x186 */ u16 field_0x186;
|
||||
/* 0x188 */ u16 field_0x188;
|
||||
/* 0x18A */ u16 field_0x18a;
|
||||
/* 0x18C */ u16 field_0x18c;
|
||||
/* 0x18E */ u16 field_0x18e;
|
||||
/* 0x190 */ u16 field_0x190;
|
||||
/* 0x192 */ u16 field_0x192;
|
||||
/* 0x194 */ u16 field_0x194;
|
||||
/* 0x196 */ u16 field_0x196;
|
||||
/* 0x198 */ u16 field_0x198;
|
||||
/* 0x19A */ u16 field_0x19a;
|
||||
/* 0x19C */ u16 field_0x19c;
|
||||
/* 0x19E */ u16 field_0x19e;
|
||||
/* 0x1A0 */ u16 field_0x1a0;
|
||||
/* 0x1A2 */ u16 field_0x1a2;
|
||||
/* 0x1A4 */ u16 field_0x1a4;
|
||||
/* 0x1A6 */ u16 field_0x1a6;
|
||||
/* 0x1A8 */ u16 field_0x1a8;
|
||||
/* 0x1AA */ u16 field_0x1aa;
|
||||
/* 0x1AC */ u16 field_0x1ac;
|
||||
/* 0x1AE */ u16 field_0x1ae;
|
||||
/* 0x1B0 */ u16 field_0x1b0;
|
||||
/* 0x1B2 */ u16 field_0x1b2;
|
||||
/* 0x1B4 */ u16 field_0x1b4;
|
||||
/* 0x1B6 */ u16 field_0x1b6;
|
||||
/* 0x1B8 */ u16 field_0x1b8;
|
||||
/* 0x1BA */ u16 field_0x1ba;
|
||||
/* 0x1BC */ u16 field_0x1bc;
|
||||
/* 0x1BE */ u16 field_0x1be;
|
||||
/* 0x1C0 */ u16 field_0x1c0;
|
||||
/* 0x1C2 */ u16 field_0x1c2;
|
||||
/* 0x1C4 */ u16 field_0x1c4;
|
||||
/* 0x1C6 */ u16 field_0x1c6;
|
||||
/* 0x1C8 */ u16 field_0x1c8;
|
||||
/* 0x1CA */ u16 field_0x1ca;
|
||||
/* 0x1CC */ u16 field_0x1cc;
|
||||
/* 0x1CE */ u16 field_0x1ce;
|
||||
/* 0x1D0 */ u16 field_0x1d0;
|
||||
/* 0x1D2 */ u16 field_0x1d2;
|
||||
/* 0x1D4 */ u16 field_0x1d4;
|
||||
/* 0x1D6 */ u16 field_0x1d6;
|
||||
/* 0x1D8 */ u16 field_0x1d8;
|
||||
/* 0x1DA */ u16 field_0x1da;
|
||||
/* 0x1DC */ u16 field_0x1dc;
|
||||
/* 0x1DE */ u16 field_0x1de;
|
||||
/* 0x1E0 */ u16 field_0x1e0;
|
||||
/* 0x1E2 */ u16 field_0x1e2;
|
||||
/* 0x1E4 */ u16 field_0x1e4;
|
||||
/* 0x1E6 */ u16 field_0x1e6;
|
||||
/* 0x1E8 */ u16 field_0x1e8;
|
||||
/* 0x1EA */ u16 field_0x1ea;
|
||||
/* 0x1EC */ u16 field_0x1ec;
|
||||
/* 0x1EE */ u16 field_0x1ee;
|
||||
/* 0x1F0 */ u16 field_0x1f0;
|
||||
/* 0x1F2 */ u16 field_0x1f2;
|
||||
/* 0x1F4 */ u16 field_0x1f4;
|
||||
/* 0x1F6 */ u16 field_0x1f6;
|
||||
/* 0x1F8 */ u16 field_0x1f8;
|
||||
/* 0x1FA */ u16 field_0x1fa;
|
||||
/* 0x1FC */ u16 field_0x1fc;
|
||||
/* 0x1FE */ u16 field_0x1fe;
|
||||
/* 0x200 */ u16 field_0x200;
|
||||
/* 0x202 */ u16 field_0x202;
|
||||
/* 0x204 */ u16 field_0x204;
|
||||
/* 0x206 */ u16 field_0x206;
|
||||
/* 0x208 */ u16 field_0x208;
|
||||
/* 0x20A */ u16 field_0x20a;
|
||||
/* 0x20C */ u16 field_0x20c;
|
||||
/* 0x20E */ u16 field_0x20e;
|
||||
/* 0x210 */ u16 field_0x210;
|
||||
/* 0x212 */ u16 field_0x212;
|
||||
/* 0x214 */ u16 field_0x214;
|
||||
/* 0x216 */ u16 field_0x216;
|
||||
/* 0x218 */ u16 field_0x218;
|
||||
/* 0x21A */ u16 field_0x21a;
|
||||
/* 0x21C */ u16 field_0x21c;
|
||||
/* 0x21E */ u16 field_0x21e;
|
||||
/* 0x220 */ u16 field_0x220;
|
||||
/* 0x222 */ u16 field_0x222;
|
||||
/* 0x224 */ u16 field_0x224;
|
||||
/* 0x226 */ u16 field_0x226;
|
||||
/* 0x228 */ u16 field_0x228;
|
||||
/* 0x22A */ u16 field_0x22a;
|
||||
/* 0x22C */ u8 field_0x22c;
|
||||
/* 0x22D */ u8 field_0x22d;
|
||||
/* 0x22E */ u8 field_0x22e;
|
||||
/* 0x22F */ u8 field_0x22f;
|
||||
/* 0x230 */ u8 field_0x230;
|
||||
/* 0x231 */ u8 field_0x231;
|
||||
/* 0x232 */ u8 field_0x232;
|
||||
/* 0x233 */ u8 field_0x233;
|
||||
/* 0x234 */ u8 field_0x234;
|
||||
/* 0x235 */ u8 field_0x235;
|
||||
/* 0x236 */ u8 field_0x236;
|
||||
/* 0x237 */ u8 field_0x237;
|
||||
/* 0x238 */ u8 field_0x238;
|
||||
/* 0x239 */ u8 field_0x239;
|
||||
/* 0x23A */ u8 field_0x23a;
|
||||
/* 0x23B */ u8 field_0x23b;
|
||||
/* 0x23C */ u8 field_0x23c;
|
||||
/* 0x23D */ u8 field_0x23d;
|
||||
/* 0x23E */ u8 field_0x23e;
|
||||
/* 0x23F */ u8 field_0x23f;
|
||||
/* 0x240 */ u8 field_0x240;
|
||||
/* 0x241 */ u8 field_0x241;
|
||||
/* 0x242 */ u8 field_0x242;
|
||||
/* 0x243 */ u8 field_0x243;
|
||||
/* 0x244 */ u8 field_0x244;
|
||||
/* 0x245 */ u8 field_0x245;
|
||||
/* 0x246 */ u8 field_0x246;
|
||||
/* 0x247 */ u8 field_0x247;
|
||||
/* 0x248 */ u8 field_0x248;
|
||||
/* 0x249 */ u8 field_0x249;
|
||||
/* 0x24A */ u8 field_0x24a;
|
||||
/* 0x24B */ u8 field_0x24b;
|
||||
/* 0x24C */ u8 field_0x24c;
|
||||
/* 0x24D */ u8 field_0x24d;
|
||||
/* 0x24E */ u8 field_0x24e;
|
||||
/* 0x24F */ u8 field_0x24f;
|
||||
/* 0x250 */ u8 field_0x250;
|
||||
/* 0x251 */ u8 field_0x251;
|
||||
/* 0x252 */ u8 field_0x252;
|
||||
/* 0x253 */ u8 field_0x253;
|
||||
/* 0x254 */ u8 field_0x254;
|
||||
/* 0x255 */ u8 field_0x255;
|
||||
/* 0x256 */ u8 field_0x256;
|
||||
/* 0x257 */ u8 mCursorX;
|
||||
/* 0x258 */ u8 mCursorY;
|
||||
/* 0x259 */ u8 field_0x259;
|
||||
/* 0x25A */ u8 field_0x25a;
|
||||
/* 0x25B */ u8 field_0x25b;
|
||||
/* 0x25C */ u8 field_0x25c;
|
||||
/* 0x25D */ u8 field_0x25d;
|
||||
/* 0x25E */ u8 mSubWindowOpenCheck;
|
||||
/* 0x25F */ u8 field_0x25f;
|
||||
/* 0x260 */ u8 field_0x260;
|
||||
/* 0x261 */ u8 field_0x261;
|
||||
};
|
||||
|
||||
class dMenu_Collect3D_c {
|
||||
public:
|
||||
/* 801B6454 */ dMenu_Collect3D_c(JKRExpHeap*, dMenu_Collect2D_c*, CSTControl*);
|
||||
/* 801B65A8 */ void _create();
|
||||
/* 801B6694 */ void _delete();
|
||||
/* 801B66C8 */ void _move(u8, u8);
|
||||
/* 801B696C */ void draw();
|
||||
/* 801B6A30 */ void setJ3D(char const*, char const*, char const*);
|
||||
/* 801B6D30 */ void set_mtx();
|
||||
/* 801B6E70 */ void animePlay();
|
||||
/* 801B6FB0 */ void animeEntry();
|
||||
/* 801B7014 */ void createMaskModel();
|
||||
/* 801B71C4 */ void createMirrorModel();
|
||||
/* 801B7434 */ void getCrystalNum();
|
||||
/* 801B749C */ void getMirrorNum();
|
||||
/* 801B7504 */ void getMaskMdlVisible();
|
||||
/* 801B75E8 */ void setupItem3D(f32 (*)[4]);
|
||||
/* 801B7660 */ void toItem3Dpos(f32, f32, f32, cXyz*);
|
||||
/* 801B774C */ void calcViewMtx(f32 (*)[4]);
|
||||
|
||||
/* 801B6538 */ virtual ~dMenu_Collect3D_c();
|
||||
|
||||
static f32 mViewOffsetY;
|
||||
|
||||
private:
|
||||
/* 0x004 */ JKRExpHeap* mpHeap;
|
||||
/* 0x008 */ JKRSolidHeap* mpSolidHeap;
|
||||
/* 0x00C */ dMenu_Collect2D_c* mpCollect2D;
|
||||
/* 0x010 */ void* field_0x10;
|
||||
/* 0x014 */ CSTControl* field_0x14;
|
||||
/* 0x018 */ J3DModel* mpModel;
|
||||
/* 0x01C */ mDoExt_bckAnm* field_0x1c;
|
||||
/* 0x020 */ mDoExt_brkAnm* field_0x20;
|
||||
/* 0x024 */ u8 field_0x24[4];
|
||||
/* 0x028 */ dKy_tevstr_c field_0x28;
|
||||
/* 0x3B0 */ cXyz field_0x3b0;
|
||||
/* 0x3BC */ csXyz field_0x3bc;
|
||||
/* 0x3C4 */ f32 field_0x3c4;
|
||||
/* 0x3C8 */ f32 field_0x3c8;
|
||||
/* 0x3CC */ f32 field_0x3cc;
|
||||
/* 0x3D0 */ f32 field_0x3d0;
|
||||
/* 0x3D4 */ f32 field_0x3d4;
|
||||
/* 0x3D8 */ s16 field_0x3d8;
|
||||
};
|
||||
|
||||
class dMenu_Collect_c {
|
||||
public:
|
||||
/* 801B78C0 */ dMenu_Collect_c(JKRExpHeap*, STControl*, CSTControl*);
|
||||
/* 801B7A0C */ void _create();
|
||||
/* 801B7A44 */ void _delete();
|
||||
/* 801B7A7C */ void _move();
|
||||
/* 801B7AC0 */ void draw();
|
||||
|
||||
/* 801B795C */ virtual ~dMenu_Collect_c();
|
||||
|
||||
u8 getSubWindowOpenCheck() { return mpCollect2D->getSubWindowOpenCheck(); }
|
||||
bool isKeyCheck() { return mpCollect2D->isKeyCheck(); }
|
||||
bool isOutCheck() { return mpCollect2D->isOutCheck(); }
|
||||
|
||||
private:
|
||||
/* 0x4 */ dMenu_Collect2D_c* mpCollect2D;
|
||||
/* 0x8 */ dMenu_Collect3D_c* mpCollect3D;
|
||||
};
|
||||
|
||||
#endif /* D_MENU_D_MENU_COLLECT_H */
|
||||
|
||||
@@ -1,6 +1,139 @@
|
||||
#ifndef D_MENU_D_MENU_DMAP_H
|
||||
#define D_MENU_D_MENU_DMAP_H
|
||||
|
||||
#include "JSystem/J2DGraph/J2DOrthoGraph.h"
|
||||
#include "d/d_lib.h"
|
||||
#include "d/d_select_cursor.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class dMenu_DmapMapCtrl_c;
|
||||
class dMenu_DmapBg_c;
|
||||
class mDoDvdThd_mountArchive_c;
|
||||
|
||||
class dMenu_Dmap_c {
|
||||
public:
|
||||
/* 801BB498 */ dMenu_Dmap_c(JKRExpHeap*, STControl*, CSTControl*, u8, u8);
|
||||
/* 801BB634 */ void screenInit();
|
||||
/* 801BC788 */ void getPlayerIconPos(s8, f32);
|
||||
/* 801BC848 */ void getIconPos(s8, f32);
|
||||
/* 801BD1D4 */ void getCurFloorPos();
|
||||
/* 801BD1E8 */ void getDefaultCurFloorPos();
|
||||
/* 801BD208 */ void iconMoveCalc();
|
||||
/* 801BD3B8 */ void drawFloorScreenBack(J2DScreen*, f32, f32, J2DOrthoGraph*);
|
||||
/* 801BD524 */ void drawFloorScreenTop(J2DScreen*, f32, f32, J2DOrthoGraph*);
|
||||
/* 801BD690 */ void isMapMoveState();
|
||||
/* 801BD6C4 */ void floorChangeMode();
|
||||
/* 801BD7C0 */ void _create();
|
||||
/* 801BDDA4 */ void _move();
|
||||
/* 801BDEF8 */ void setMapTexture();
|
||||
/* 801BDF48 */ void mapBgAnime();
|
||||
/* 801BDF6C */ void mapControl();
|
||||
/* 801BE328 */ bool isOpen();
|
||||
/* 801BE670 */ bool isClose();
|
||||
/* 801BE7E0 */ void _draw();
|
||||
/* 801BEAFC */ void itemInfo_init_proc();
|
||||
/* 801BEB0C */ void itemInfo_proc();
|
||||
/* 801BEB44 */ void itemSelect();
|
||||
/* 801BEF28 */ void getNextItem(int);
|
||||
/* 801BEFCC */ void itemSelectAnmInit();
|
||||
/* 801BF030 */ void itemSelectAnm();
|
||||
/* 801BF180 */ void itemInfoOpenAnm();
|
||||
/* 801BF18C */ void itemInfoWait();
|
||||
/* 801BF278 */ void itemInfoCloseAnm();
|
||||
/* 801BF334 */ u8 getNextStatus();
|
||||
/* 801BF410 */ bool isSync();
|
||||
/* 801BF464 */ void isKeyCheck();
|
||||
/* 801BF4A4 */ void infoModeChange_init_proc();
|
||||
/* 801BF528 */ void infoModeChange_proc();
|
||||
/* 801BF688 */ void mapModeChange_init_proc();
|
||||
/* 801BF70C */ void mapModeChange_proc();
|
||||
/* 801BF8A0 */ void lv5_talk_init_proc();
|
||||
/* 801BF8F8 */ void lv5_talk_proc();
|
||||
/* 801BF9D4 */ void mapMode_init_proc();
|
||||
/* 801BF9E0 */ void mapMode_proc();
|
||||
/* 801BFA84 */ void floorSelect_init_proc();
|
||||
/* 801BFA88 */ void floorSelect_proc();
|
||||
/* 801BFC78 */ void itemCarryCheck();
|
||||
/* 801BFCAC */ void floorChange_init_proc();
|
||||
/* 801BFD5C */ void floorChange_proc();
|
||||
/* 801BFF84 */ void zoomWait_init_proc();
|
||||
/* 801BFF88 */ void zoomWait_proc();
|
||||
/* 801C008C */ void zoomIn_init_proc();
|
||||
/* 801C01A0 */ void zoomIn_proc();
|
||||
/* 801C023C */ void zoomOut_init_proc();
|
||||
/* 801C02F0 */ void zoomOut_proc();
|
||||
|
||||
/* 801BCDF4 */ virtual ~dMenu_Dmap_c();
|
||||
|
||||
void setInOutDir(u8 dir) { mInOutDir = dir; }
|
||||
u8 getZoomState() { return mZoomState; }
|
||||
|
||||
static u8 myclass[4 + 4 /* padding */];
|
||||
|
||||
private:
|
||||
/* 0x004 */ dMenu_DmapMapCtrl_c* mMapCtrl;
|
||||
/* 0x008 */ dMenu_DmapBg_c* mpDrawBg[2];
|
||||
/* 0x010 */ CPaneMgr* field_0x10;
|
||||
/* 0x014 */ CPaneMgr* mSelFloor[8];
|
||||
/* 0x034 */ CPaneMgr* mIconLinkPos[8];
|
||||
/* 0x054 */ CPaneMgr* mIconBossPos[8];
|
||||
/* 0x074 */ CPaneMgr* mStayIcon[2];
|
||||
/* 0x07C */ CPaneMgr* field_0x7c;
|
||||
/* 0x080 */ CPaneMgr* field_0x80;
|
||||
/* 0x084 */ CPaneMgr* field_0x84;
|
||||
/* 0x088 */ CPaneMgr* field_0x88[3];
|
||||
/* 0x094 */ CPaneMgr* field_0x94;
|
||||
/* 0x098 */ CPaneMgr* field_0x98;
|
||||
/* 0x09C */ u8 field_0x9c[0x44];
|
||||
/* 0x0E0 */ mDoDvdThd_mountArchive_c* field_0xe0;
|
||||
/* 0x0E4 */ JKRArchive* field_0xe4;
|
||||
/* 0x0E8 */ JKRExpHeap* field_0xe8;
|
||||
/* 0x0EC */ JKRExpHeap* mDmapHeap;
|
||||
/* 0x0F0 */ STControl* mSelStick;
|
||||
/* 0x0F4 */ STControl* mpStick;
|
||||
/* 0x0F8 */ CSTControl* mpCStick;
|
||||
/* 0x0FC */ u8* mItemTexBuf;
|
||||
/* 0x100 */ void* mpBinData;
|
||||
/* 0x104 */ f32 field_0x104;
|
||||
/* 0x108 */ f32 field_0x108;
|
||||
/* 0x10C */ f32 field_0x10c;
|
||||
/* 0x110 */ f32 field_0x110;
|
||||
/* 0x114 */ f32 field_0x114[8];
|
||||
/* 0x134 */ f32 field_0x134;
|
||||
/* 0x138 */ f32 field_0x138;
|
||||
/* 0x13C */ f32 field_0x13c;
|
||||
/* 0x140 */ f32 field_0x140;
|
||||
/* 0x144 */ f32 field_0x144;
|
||||
/* 0x148 */ f32 field_0x148;
|
||||
/* 0x14C */ Vec field_0x14c[2];
|
||||
/* 0x164 */ s16 field_0x164;
|
||||
/* 0x166 */ u16 mCMessageNum;
|
||||
/* 0x168 */ u16 mJMessageNum;
|
||||
/* 0x16A */ u16 field_0x16a;
|
||||
/* 0x16C */ u8 field_0x16c;
|
||||
/* 0x16D */ u8 field_0x16d;
|
||||
/* 0x16E */ u8 field_0x16e;
|
||||
/* 0x16F */ u8 field_0x16f;
|
||||
/* 0x170 */ u8 field_0x170;
|
||||
/* 0x171 */ u8 mBottomFloor;
|
||||
/* 0x172 */ u8 field_0x172;
|
||||
/* 0x173 */ u8 field_0x173;
|
||||
/* 0x174 */ u8 field_0x174[3];
|
||||
/* 0x177 */ u8 field_0x177;
|
||||
/* 0x178 */ u8 field_0x178;
|
||||
/* 0x179 */ u8 field_0x179;
|
||||
/* 0x17A */ u8 mInOutDir;
|
||||
/* 0x17B */ u8 field_0x17b;
|
||||
/* 0x17C */ u8 field_0x17c;
|
||||
/* 0x17D */ u8 field_0x17d;
|
||||
/* 0x17E */ u8 field_0x17e;
|
||||
/* 0x17F */ u8 mZoomState;
|
||||
/* 0x180 */ u8 field_0x180;
|
||||
/* 0x181 */ u8 field_0x181;
|
||||
/* 0x182 */ u8 field_0x182;
|
||||
/* 0x183 */ u8 field_0x183;
|
||||
/* 0x184 */ u8 field_0x184;
|
||||
/* 0x185 */ u8 field_0x185;
|
||||
};
|
||||
|
||||
#endif /* D_MENU_D_MENU_DMAP_H */
|
||||
|
||||
@@ -1,6 +1,72 @@
|
||||
#ifndef D_MENU_D_MENU_FISHING_H
|
||||
#define D_MENU_D_MENU_FISHING_H
|
||||
|
||||
#include "JSystem/J2DGraph/J2DPicture.h"
|
||||
#include "d/d_lib.h"
|
||||
#include "d/d_select_cursor.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class mDoDvdThd_mountArchive_c;
|
||||
class dMsgString_c;
|
||||
|
||||
class dMenu_Fishing_c : public dDlst_base_c {
|
||||
public:
|
||||
/* 801C4D54 */ dMenu_Fishing_c(JKRExpHeap*, STControl*, CSTControl*);
|
||||
/* 801C504C */ void _create();
|
||||
/* 801C50B4 */ void _move();
|
||||
/* 801C514C */ void _draw();
|
||||
/* 801C5204 */ bool isSync();
|
||||
/* 801C522C */ void init();
|
||||
/* 801C52E4 */ void _open();
|
||||
/* 801C5470 */ void _close();
|
||||
/* 801C556C */ void wait_init();
|
||||
/* 801C55A8 */ void wait_move();
|
||||
/* 801C55D8 */ void screenSetBase();
|
||||
/* 801C5D3C */ void screenSetDoIcon();
|
||||
/* 801C5EB8 */ void setAButtonString(u16);
|
||||
/* 801C5F68 */ void setBButtonString(u16);
|
||||
/* 801C6018 */ void getFigure(int);
|
||||
/* 801C605C */ void setFishParam(int, u16, u8);
|
||||
/* 801C6210 */ void setHIO(bool);
|
||||
|
||||
/* 801C659C */ virtual void draw();
|
||||
/* 801C4D98 */ virtual ~dMenu_Fishing_c();
|
||||
|
||||
u8 getStatus() { return mStatus; }
|
||||
|
||||
private:
|
||||
/* 0x004 */ JKRExpHeap* mpHeap;
|
||||
/* 0x008 */ JKRArchive* field_0x8;
|
||||
/* 0x00C */ STControl* mpStick;
|
||||
/* 0x010 */ CSTControl* mpCStick;
|
||||
/* 0x014 */ mDoDvdThd_mountArchive_c* field_0x14;
|
||||
/* 0x018 */ J2DScreen* mpScreen;
|
||||
/* 0x01C */ J2DScreen* mpIconScreen;
|
||||
/* 0x020 */ J2DTextBox* field_0x20[5];
|
||||
/* 0x034 */ J2DTextBox* field_0x34[5];
|
||||
/* 0x048 */ CPaneMgr* mpParent;
|
||||
/* 0x04C */ CPaneMgr* mpFishParent[6];
|
||||
/* 0x064 */ CPaneMgr* mpFishParts[6][6];
|
||||
/* 0x0F4 */ CPaneMgr* mpFishInfoParent[2];
|
||||
/* 0x0FC */ CPaneMgr* mpButtonAB[2];
|
||||
/* 0x104 */ CPaneMgr* mpButtonText[2];
|
||||
/* 0x10C */ J2DTextBox* field_0x10c[1][6];
|
||||
/* 0x124 */ J2DTextBox* field_0x124[6];
|
||||
/* 0x13C */ J2DTextBox* field_0x13c[1][6];
|
||||
/* 0x154 */ J2DTextBox* field_0x154[6];
|
||||
/* 0x16C */ J2DTextBox* field_0x16c[1][6];
|
||||
/* 0x184 */ J2DTextBox* field_0x184[6];
|
||||
/* 0x19C */ J2DTextBox* field_0x19c[1][6];
|
||||
/* 0x1B4 */ J2DTextBox* field_0x1b4[6];
|
||||
/* 0x1CC */ J2DTextBox* field_0x1cc[6];
|
||||
/* 0x1E4 */ J2DTextBox* field_0x1e4;
|
||||
/* 0x1E8 */ J2DTextBox* field_0x1e8;
|
||||
/* 0x1EC */ J2DTextBox* field_0x1ec;
|
||||
/* 0x1F0 */ J2DPicture* mpBlackTex;
|
||||
/* 0x1F4 */ dMsgString_c* mpString;
|
||||
/* 0x1F8 */ u16 field_0x1f8;
|
||||
/* 0x1FA */ u8 mStatus;
|
||||
/* 0x1FB */ u8 field_0x1fb;
|
||||
};
|
||||
|
||||
#endif /* D_MENU_D_MENU_FISHING_H */
|
||||
|
||||
@@ -1,6 +1,217 @@
|
||||
#ifndef D_MENU_D_MENU_FMAP_H
|
||||
#define D_MENU_D_MENU_FMAP_H
|
||||
|
||||
#include "d/d_drawlist.h"
|
||||
#include "d/d_lib.h"
|
||||
#include "d/msg/d_msg_flow.h"
|
||||
#include "d/pane/d_pane_class.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class dMenu_Fmap_stage_data_c;
|
||||
class dMenu_Fmap_world_data_c;
|
||||
class dMenu_Fmap_region_data_c;
|
||||
class dMenu_Fmap2DBack_c;
|
||||
class dMenu_Fmap2DTop_c;
|
||||
class dMenu_FmapMap_c;
|
||||
class mDoDvdThd_mountArchive_c;
|
||||
struct RoomData_c;
|
||||
|
||||
class dMenu_Fmap_c {
|
||||
public:
|
||||
/* 801C66E4 */ dMenu_Fmap_c(JKRExpHeap*, STControl*, CSTControl*, u8, u8, u8, f32, f32, u8);
|
||||
/* 801C6D64 */ void _create();
|
||||
/* 801C74A4 */ void _delete();
|
||||
/* 801C74A8 */ void _move();
|
||||
/* 801C7650 */ void _draw();
|
||||
/* 801C77F0 */ u8 getNextStatus(u8*);
|
||||
/* 801C7AFC */ bool isSync();
|
||||
/* 801C7B24 */ void all_map_init();
|
||||
/* 801C7C2C */ void all_map_proc();
|
||||
/* 801C8230 */ void zoom_all_to_region_init();
|
||||
/* 801C8308 */ void zoom_all_to_region_proc();
|
||||
/* 801C83E0 */ void zoom_region_to_all_init();
|
||||
/* 801C8438 */ void zoom_region_to_all_proc();
|
||||
/* 801C8518 */ void region_map_init();
|
||||
/* 801C8600 */ void region_map_proc();
|
||||
/* 801C8B00 */ void to_portal_warp_map_init();
|
||||
/* 801C8B0C */ void to_portal_warp_map_proc();
|
||||
/* 801C8B48 */ void portal_warp_map_init();
|
||||
/* 801C8C0C */ void portal_warp_map_proc();
|
||||
/* 801C90A4 */ void portal_warp_select_init();
|
||||
/* 801C90A8 */ void portal_warp_select_proc();
|
||||
/* 801C91D8 */ void portal_warp_forbid_init();
|
||||
/* 801C9238 */ void portal_warp_forbid_proc();
|
||||
/* 801C92A4 */ void zoom_region_to_spot_init();
|
||||
/* 801C9304 */ void zoom_region_to_spot_proc();
|
||||
/* 801C93CC */ void zoom_spot_to_region_init();
|
||||
/* 801C9428 */ void zoom_spot_to_region_proc();
|
||||
/* 801C950C */ void spot_map_init();
|
||||
/* 801C9618 */ void spot_map_proc();
|
||||
/* 801C9A4C */ void portal_demo1_init();
|
||||
/* 801C9B64 */ void portal_demo1_move();
|
||||
/* 801C9C7C */ void portal_demo2_init();
|
||||
/* 801C9CC8 */ void portal_demo2_move();
|
||||
/* 801C9D60 */ void portal_demo3_init();
|
||||
/* 801C9DB4 */ void portal_demo3_move();
|
||||
/* 801C9EB8 */ void portal_demo4_init();
|
||||
/* 801C9F14 */ void portal_demo4_move();
|
||||
/* 801C9F7C */ void portal_demo5_init();
|
||||
/* 801C9FBC */ void portal_demo5_move();
|
||||
/* 801CA158 */ void portal_demo6_init();
|
||||
/* 801CA15C */ void portal_demo6_move();
|
||||
/* 801CA1E8 */ void yamiboss_demo1_init();
|
||||
/* 801CA2F4 */ void yamiboss_demo1_move();
|
||||
/* 801CA34C */ void yamiboss_demo2_init();
|
||||
/* 801CA35C */ void yamiboss_demo2_move();
|
||||
/* 801CA40C */ void yamiboss_demo3_init();
|
||||
/* 801CA410 */ void yamiboss_demo3_move();
|
||||
/* 801CA468 */ void yamiboss_demo4_init();
|
||||
/* 801CA4C0 */ void yamiboss_demo4_move();
|
||||
/* 801CA544 */ void yamiboss_demo5_init();
|
||||
/* 801CA548 */ void yamiboss_demo5_move();
|
||||
/* 801CA5CC */ void light_demo1_init();
|
||||
/* 801CA7A4 */ void light_demo1_move();
|
||||
/* 801CA7E0 */ void light_demo2_init();
|
||||
/* 801CA814 */ void light_demo2_move();
|
||||
/* 801CA874 */ void table_demo1_init();
|
||||
/* 801CA9B4 */ void table_demo1_move();
|
||||
/* 801CAA78 */ void table_demo2_init();
|
||||
/* 801CAABC */ void table_demo2_move();
|
||||
/* 801CAB88 */ void table_demo3_init();
|
||||
/* 801CABD0 */ void table_demo3_move();
|
||||
/* 801CAC30 */ void howl_demo1_init();
|
||||
/* 801CAC7C */ void howl_demo1_move();
|
||||
/* 801CAD48 */ void howl_demo2_init();
|
||||
/* 801CAD54 */ void howl_demo2_move();
|
||||
/* 801CAD9C */ void howl_demo3_init();
|
||||
/* 801CADA0 */ void howl_demo3_move();
|
||||
/* 801CADC4 */ bool isOpen();
|
||||
/* 801CB038 */ bool isClose();
|
||||
/* 801CB1DC */ u8 getProcess();
|
||||
/* 801CB200 */ u8 getRegionCursor();
|
||||
/* 801CB230 */ u8 getStageCursor();
|
||||
/* 801CB260 */ f32 getStageTransX();
|
||||
/* 801CB290 */ f32 getStageTransZ();
|
||||
/* 801CB2C0 */ void isRoomCheck(int, int);
|
||||
/* 801CB570 */ void checkStRoomData();
|
||||
/* 801CB664 */ void talkButton();
|
||||
/* 801CB6D0 */ void setProcess(u8);
|
||||
/* 801CB6E0 */ void setFlash(u8, bool);
|
||||
/* 801CB770 */ void readWorldData(u8);
|
||||
/* 801CB938 */ void readAreaData(u8, bool);
|
||||
/* 801CBF04 */ void readRoomData(char const*, dMenu_Fmap_stage_data_c*, void*, int, u8);
|
||||
/* 801CC094 */ void readFieldMapData(void**, char const*, bool, bool);
|
||||
/* 801CC2B0 */ void decodeFieldMapData();
|
||||
/* 801CC4EC */ void decodePortalData();
|
||||
/* 801CC51C */ void readRoomDzsData(void**, u32, char const*);
|
||||
/* 801CC61C */ void removeAreaData();
|
||||
/* 801CC7A8 */ void removeRoomData(dMenu_Fmap_stage_data_c*);
|
||||
/* 801CC85C */ void setTitleName(u32);
|
||||
/* 801CC880 */ void setAreaName(u32);
|
||||
/* 801CC8AC */ void setAreaNameZero();
|
||||
/* 801CC8DC */ void portalWarpMapMove(STControl*);
|
||||
/* 801CCA70 */ void onRoomDataBit(int);
|
||||
/* 801CCA98 */ void isRoomDataBit(int);
|
||||
/* 801CCAC4 */ void resetRoomDataBit();
|
||||
/* 801CCB08 */ void drawIcon(f32, bool);
|
||||
/* 801CD10C */ void drawIcon(u8, int);
|
||||
/* 801CCD98 */ void drawLightDropIcon();
|
||||
/* 801CCDDC */ void drawBatsumarkIcon();
|
||||
/* 801CCE04 */ void drawSnowmanIcon();
|
||||
/* 801CCE48 */ void drawGoldWolfIcon();
|
||||
/* 801CCE70 */ void drawCoachIcon();
|
||||
/* 801CCE98 */ void drawPlayEnterIcon();
|
||||
/* 801CCFB0 */ void checkDrawPortalIcon(int, int);
|
||||
/* 801CD000 */ void searchIcon(u8, int, f32*, f32*);
|
||||
/* 801CD210 */ void drawEnterIcon();
|
||||
/* 801CD254 */ void drawPortalIcon();
|
||||
/* 801CD2FC */ void getRegionStageNum(int);
|
||||
/* 801CD350 */ void getNowFmapRegionData();
|
||||
/* 801CD368 */ void getNowFmapStageData();
|
||||
/* 801CD380 */ void searchPortalStageID(char*);
|
||||
/* 801CD3F0 */ void drawDebugStage();
|
||||
/* 801CD460 */ void arrowPosInit();
|
||||
/* 801CD5CC */ void tableArrowPosInit(bool);
|
||||
/* 801CD770 */ void yamibossArrowPosInit();
|
||||
/* 801CD814 */ void howlArrowPosInit();
|
||||
/* 801CD8B4 */ void getHowlRegionID();
|
||||
/* 801CD92C */ void isLightVesselGet();
|
||||
/* 801CD95C */ void getPlayerPos2D();
|
||||
|
||||
/* 801C6AC8 */ virtual ~dMenu_Fmap_c();
|
||||
|
||||
static u8 MyClass[4];
|
||||
|
||||
private:
|
||||
/* 0x004 */ JKRHeap* mpHeap;
|
||||
/* 0x008 */ JKRExpHeap* mpTalkHeap;
|
||||
/* 0x00C */ STControl* mpStick;
|
||||
/* 0x010 */ CSTControl* mpCStick;
|
||||
/* 0x014 */ dMenu_Fmap2DBack_c* mpDraw2DBack;
|
||||
/* 0x018 */ dMenu_Fmap2DTop_c* mpDraw2DTop;
|
||||
/* 0x01C */ mDoDvdThd_mountArchive_c* field_0x1c;
|
||||
/* 0x020 */ dMenu_Fmap_world_data_c* mpWorldData;
|
||||
/* 0x024 */ dMenu_Fmap_region_data_c* field_0x24[8];
|
||||
/* 0x044 */ dMenu_Fmap_stage_data_c* field_0x44[8];
|
||||
/* 0x064 */ JKRArchive* field_0x64;
|
||||
/* 0x068 */ int field_0x68;
|
||||
/* 0x06C */ RoomData_c* field_0x6c[8];
|
||||
/* 0x08C */ void* field_0x8c;
|
||||
/* 0x090 */ void* field_0x90;
|
||||
/* 0x094 */ int field_0x94[8];
|
||||
/* 0x0B4 */ int field_0xb4;
|
||||
/* 0x0B8 */ dMenu_FmapMap_c* mpMenuFmapMap;
|
||||
/* 0x0BC */ int field_0xbc;
|
||||
/* 0x0C0 */ u8* field_0xc0;
|
||||
/* 0x0C4 */ dMsgFlow_c field_0xc4;
|
||||
/* 0x110 */ cXyz field_0x110;
|
||||
/* 0x11C */ f32 field_0x11c;
|
||||
/* 0x120 */ f32 field_0x120;
|
||||
/* 0x124 */ f32 field_0x124;
|
||||
/* 0x128 */ f32 field_0x128[8];
|
||||
/* 0x148 */ f32 field_0x148[8];
|
||||
/* 0x168 */ f32 field_0x168[8];
|
||||
/* 0x188 */ f32 field_0x188[8];
|
||||
/* 0x1A8 */ f32 field_0x1a8;
|
||||
/* 0x1AC */ f32 field_0x1ac[8];
|
||||
/* 0x1CC */ f32 field_0x1cc[8];
|
||||
/* 0x1EC */ f32 field_0x1ec;
|
||||
/* 0x1F0 */ f32 field_0x1f0;
|
||||
/* 0x1F4 */ f32 field_0x1f4;
|
||||
/* 0x1F8 */ int field_0x1f8[2];
|
||||
/* 0x200 */ int field_0x200;
|
||||
/* 0x204 */ int field_0x204;
|
||||
/* 0x208 */ int field_0x208;
|
||||
/* 0x20C */ int field_0x20c;
|
||||
/* 0x210 */ u16 field_0x210;
|
||||
/* 0x212 */ u16 field_0x212;
|
||||
/* 0x214 */ u16 field_0x214;
|
||||
/* 0x216 */ u16 field_0x216;
|
||||
/* 0x218 */ u16 field_0x218[8];
|
||||
/* 0x228 */ u16 field_0x228[20];
|
||||
/* 0x250 */ char field_0x250[8];
|
||||
/* 0x258 */ char field_0x258[8];
|
||||
/* 0x260 */ char field_0x260[20][8];
|
||||
/* 0x300 */ u8 mProcess;
|
||||
/* 0x301 */ u8 field_0x301;
|
||||
/* 0x302 */ u8 field_0x302;
|
||||
/* 0x303 */ u8 mDataNumMax;
|
||||
/* 0x304 */ u8 field_0x304;
|
||||
/* 0x305 */ u8 field_0x305;
|
||||
/* 0x306 */ u8 mSpotNum;
|
||||
/* 0x307 */ u8 field_0x307;
|
||||
/* 0x308 */ u8 field_0x308;
|
||||
/* 0x309 */ u8 field_0x309;
|
||||
/* 0x30A */ u8 field_0x30a;
|
||||
/* 0x30B */ u8 field_0x31b;
|
||||
/* 0x30C */ u8 field_0x31c;
|
||||
/* 0x30D */ u8 field_0x31d;
|
||||
/* 0x30E */ u8 field_0x30e;
|
||||
/* 0x30F */ u8 field_0x30f;
|
||||
/* 0x310 */ u8 field_0x310;
|
||||
/* 0x311 */ u8 field_0x311;
|
||||
/* 0x312 */ u8 field_0x312;
|
||||
/* 0x313 */ u8 field_0x313;
|
||||
};
|
||||
|
||||
#endif /* D_MENU_D_MENU_FMAP_H */
|
||||
|
||||
@@ -1,6 +1,95 @@
|
||||
#ifndef D_MENU_D_MENU_INSECT_H
|
||||
#define D_MENU_D_MENU_INSECT_H
|
||||
|
||||
#include "JSystem/J2DGraph/J2DPicture.h"
|
||||
#include "d/d_lib.h"
|
||||
#include "d/d_select_cursor.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class dMsgScrn3Select_c;
|
||||
class dMsgString_c;
|
||||
|
||||
class dMenu_Insect_c : public dDlst_base_c {
|
||||
public:
|
||||
/* 801D8114 */ dMenu_Insect_c(JKRExpHeap*, STControl*, CSTControl*, u8);
|
||||
/* 801D8658 */ void _create();
|
||||
/* 801D86C8 */ void _move();
|
||||
/* 801D8760 */ void _draw();
|
||||
/* 801D88EC */ bool isSync();
|
||||
/* 801D8914 */ void init();
|
||||
/* 801D894C */ void _open();
|
||||
/* 801D8B2C */ void _close();
|
||||
/* 801D8C68 */ void wait_init();
|
||||
/* 801D8CCC */ void wait_move();
|
||||
/* 801D8E00 */ void explain_open_init();
|
||||
/* 801D91E4 */ void explain_open_move();
|
||||
/* 801D9264 */ void explain_move_init();
|
||||
/* 801D9268 */ void explain_move_move();
|
||||
/* 801D9290 */ void select_move_init();
|
||||
/* 801D92DC */ void select_move_move();
|
||||
/* 801D9504 */ void explain_close_init();
|
||||
/* 801D95AC */ void explain_close_move();
|
||||
/* 801D9644 */ void screenSetBase();
|
||||
/* 801D98F0 */ void screenSetExplain();
|
||||
/* 801D9BD0 */ void screenSetDoIcon();
|
||||
/* 801D9D4C */ void getGetInsectNum();
|
||||
/* 801D9DCC */ void getInsectItemID(int, int);
|
||||
/* 801D9DE4 */ void isGetInsect(int, int);
|
||||
/* 801D9E20 */ void isGiveInsect(int, int);
|
||||
/* 801D9ED4 */ void isGiveInsect(u8);
|
||||
/* 801D9E7C */ void isCatchInsect(u8);
|
||||
/* 801D9F3C */ void isCatchNotGiveInsect(u8);
|
||||
/* 801D9F8C */ void cursorMove();
|
||||
/* 801DA1EC */ void setCursorPos();
|
||||
/* 801DA2FC */ bool dpdMove();
|
||||
/* 801DA304 */ void setAButtonString(u16);
|
||||
/* 801DA3B4 */ void setBButtonString(u16);
|
||||
/* 801DA464 */ void setHIO(bool);
|
||||
|
||||
/* 801DA630 */ virtual void draw();
|
||||
/* 801D82F4 */ virtual ~dMenu_Insect_c();
|
||||
|
||||
u8 getStatus() { return mStatus; }
|
||||
|
||||
private:
|
||||
/* 0x04 */ JKRExpHeap* mpHeap;
|
||||
/* 0x08 */ void* field_0x8;
|
||||
/* 0x0C */ STControl* mpStick;
|
||||
/* 0x10 */ CSTControl* mpCStick;
|
||||
/* 0x14 */ void* field_0x14;
|
||||
/* 0x18 */ dSelect_cursor_c* mpDrawCursor;
|
||||
/* 0x1C */ dMsgScrn3Select_c* mpSelect_c;
|
||||
/* 0x20 */ J2DScreen* mpScreen;
|
||||
/* 0x24 */ J2DScreen* mpExpScreen;
|
||||
/* 0x28 */ J2DScreen* mpIconScreen;
|
||||
/* 0x2C */ J2DTextBox* field_0x2c[5];
|
||||
/* 0x40 */ J2DTextBox* field_0x40[5];
|
||||
/* 0x54 */ J2DTextBox* field_0x54;
|
||||
/* 0x58 */ J2DTextBox* field_0x58;
|
||||
/* 0x5C */ J2DTextBox* field_0x5c;
|
||||
/* 0x60 */ J2DPicture* mpBlackTex;
|
||||
/* 0x64 */ CPaneMgr* mpParent;
|
||||
/* 0x68 */ CPaneMgr* mpExpParent;
|
||||
/* 0x6C */ CPaneMgr* mpINSParent[24];
|
||||
/* 0xCC */ CPaneMgr* mpInfoText;
|
||||
/* 0xD0 */ CPaneMgr* mpExpSubWin[2];
|
||||
/* 0xD8 */ CPaneMgr* mpButtonAB[2];
|
||||
/* 0xE0 */ CPaneMgr* mpButtonText[2];
|
||||
/* 0xE8 */ dMsgString_c* mpString;
|
||||
/* 0xEC */ void* mpExpItemTex;
|
||||
/* 0xF0 */ u8 field_0xf0;
|
||||
/* 0xF1 */ u8 field_0xf1;
|
||||
/* 0xF2 */ u8 mStatus;
|
||||
/* 0xF3 */ u8 field_0xf3;
|
||||
/* 0xF4 */ u8 field_0xf4;
|
||||
/* 0xF5 */ u8 field_0xf5;
|
||||
/* 0xF6 */ u8 field_0xf6;
|
||||
/* 0xF7 */ u8 field_0xf7;
|
||||
/* 0xF8 */ u8 field_0xf8;
|
||||
/* 0xF9 */ u8 field_0xf9;
|
||||
/* 0xFA */ u8 field_0xfa;
|
||||
/* 0xFB */ u8 field_0xfb;
|
||||
/* 0xFC */ u8 field_0xfc;
|
||||
};
|
||||
|
||||
#endif /* D_MENU_D_MENU_INSECT_H */
|
||||
|
||||
@@ -1,6 +1,126 @@
|
||||
#ifndef D_MENU_D_MENU_LETTER_H
|
||||
#define D_MENU_D_MENU_LETTER_H
|
||||
|
||||
#include "JSystem/J2DGraph/J2DPicture.h"
|
||||
#include "d/d_lib.h"
|
||||
#include "d/d_select_cursor.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class mDoDvdThd_mountArchive_c;
|
||||
class dMsgString_c;
|
||||
class dMsgScrnArrow_c;
|
||||
|
||||
class dMenu_Letter_c : public dDlst_base_c {
|
||||
public:
|
||||
/* 801DCDC0 */ dMenu_Letter_c(JKRExpHeap*, STControl*, CSTControl*);
|
||||
/* 801DD36C */ void _create();
|
||||
/* 801DD474 */ void _move();
|
||||
/* 801DD50C */ void _draw();
|
||||
/* 801DD934 */ bool isSync();
|
||||
/* 801DD95C */ void letter_init_calc();
|
||||
/* 801DDA20 */ void init();
|
||||
/* 801DDA74 */ void _open();
|
||||
/* 801DDC98 */ void _close();
|
||||
/* 801DDE18 */ void wait_init();
|
||||
/* 801DDE54 */ void wait_move();
|
||||
/* 801DE164 */ void slide_right_init();
|
||||
/* 801DE1E8 */ void slide_right_move();
|
||||
/* 801DE24C */ void slide_left_init();
|
||||
/* 801DE2D0 */ void slide_left_move();
|
||||
/* 801DE334 */ void read_open_init();
|
||||
/* 801DE564 */ void read_open_move();
|
||||
/* 801DE70C */ void read_move_init();
|
||||
/* 801DE824 */ void read_move_move();
|
||||
/* 801DEA48 */ void read_next_fadeout_init();
|
||||
/* 801DEA94 */ void read_next_fadeout_move();
|
||||
/* 801DEBD8 */ void read_next_fadein_init();
|
||||
/* 801DED04 */ void read_next_fadein_move();
|
||||
/* 801DEE20 */ void read_close_init();
|
||||
/* 801DEE6C */ void read_close_move();
|
||||
/* 801DF010 */ void screenSetMenu();
|
||||
/* 801DFA58 */ void screenSetBase();
|
||||
/* 801E0330 */ void screenSetShadow();
|
||||
/* 801E03D8 */ void screenSetLetter();
|
||||
/* 801E09A8 */ void screenSetDoIcon();
|
||||
/* 801E0B24 */ void setCursorPos();
|
||||
/* 801E0BB0 */ void changeActiveColor();
|
||||
/* 801E0E34 */ void changePageLight();
|
||||
/* 801E0E84 */ void setPageText();
|
||||
/* 801E1038 */ void setDMYPageText();
|
||||
/* 801E11EC */ void copyDMYMenu();
|
||||
/* 801E1518 */ void setAButtonString(u16);
|
||||
/* 801E15C8 */ void setBButtonString(u16);
|
||||
/* 801E1678 */ void getLetterNum();
|
||||
/* 801E1748 */ void setHIO(bool);
|
||||
|
||||
/* 801E1D5C */ virtual void draw();
|
||||
/* 801DCF34 */ virtual ~dMenu_Letter_c();
|
||||
|
||||
u8 getStatus() { return mStatus; }
|
||||
|
||||
private:
|
||||
/* 0x004 */ JKRExpHeap* mpHeap;
|
||||
/* 0x008 */ JKRArchive* field_0x8;
|
||||
/* 0x00C */ STControl* mpStick;
|
||||
/* 0x010 */ CSTControl* mpCStick;
|
||||
/* 0x014 */ mDoDvdThd_mountArchive_c* field_0x14;
|
||||
/* 0x018 */ J2DScreen* mpMenuScreen;
|
||||
/* 0x01C */ J2DScreen* mpMenuDMYScreen;
|
||||
/* 0x020 */ J2DScreen* mpMenuBaseScreen;
|
||||
/* 0x024 */ J2DScreen* mpSdwScreen;
|
||||
/* 0x028 */ J2DScreen* mpLetterScreen[2];
|
||||
/* 0x030 */ J2DScreen* mpIconScreen;
|
||||
/* 0x034 */ J2DTextBox* field_0x40[6][5];
|
||||
/* 0x0AC */ J2DTextBox* field_0xac[6][5];
|
||||
/* 0x124 */ J2DTextBox* field_0x124[6][4];
|
||||
/* 0x184 */ J2DTextBox* field_0x184[6][4];
|
||||
/* 0x1E4 */ J2DTextBox* field_0x1e4[2];
|
||||
/* 0x1EC */ J2DTextBox* field_0x1ec;
|
||||
/* 0x1F0 */ J2DTextBox* field_0x1f0[9];
|
||||
/* 0x214 */ u8 field_0x214[0x24];
|
||||
/* 0x238 */ J2DTextBox* field_0x238[9];
|
||||
/* 0x25C */ J2DTextBox* field_0x25c[12];
|
||||
/* 0x28C */ J2DTextBox* field_0x28c[5];
|
||||
/* 0x2A0 */ J2DTextBox* field_0x2a0[5];
|
||||
/* 0x2B4 */ J2DPicture* mpBlackTex;
|
||||
/* 0x2B8 */ CPaneMgr* mpParent[3];
|
||||
/* 0x2C4 */ CPaneMgr* mpDMYParent;
|
||||
/* 0x2C8 */ CPaneMgr* mpLetterParent[6];
|
||||
/* 0x2E0 */ CPaneMgr* mpTextParent[2];
|
||||
/* 0x2E8 */ CPaneMgr* mpLineParent;
|
||||
/* 0x2EC */ CPaneMgr* field_0x2ec;
|
||||
/* 0x2F0 */ CPaneMgr* field_0x2f0;
|
||||
/* 0x2F4 */ CPaneMgr* field_0x2f4[2];
|
||||
/* 0x2FC */ CPaneMgr* mpButtonAB[2];
|
||||
/* 0x304 */ CPaneMgr* mpButtonText[2];
|
||||
/* 0x30C */ dSelect_cursor_c* mpDrawCursor;
|
||||
/* 0x310 */ dMsgString_c* mpString;
|
||||
/* 0x314 */ dMsgScrnArrow_c* mpArrow;
|
||||
/* 0x318 */ JUtility::TColor field_0x318[4];
|
||||
/* 0x328 */ JUtility::TColor field_0x328[4];
|
||||
/* 0x338 */ JUtility::TColor field_0x338[4];
|
||||
/* 0x348 */ JUtility::TColor field_0x348[4];
|
||||
/* 0x358 */ f32 field_0x358;
|
||||
/* 0x35C */ f32 field_0x35c;
|
||||
/* 0x360 */ f32 field_0x360;
|
||||
/* 0x364 */ f32 field_0x364;
|
||||
/* 0x368 */ u16 field_0x368;
|
||||
/* 0x36A */ u16 field_0x36a;
|
||||
/* 0x36C */ u8 mStatus;
|
||||
/* 0x36D */ u8 field_0x36d;
|
||||
/* 0x36E */ u8 field_0x36e;
|
||||
/* 0x36F */ u8 field_0x36f;
|
||||
/* 0x370 */ u8 field_0x370;
|
||||
/* 0x371 */ u8 field_0x371;
|
||||
/* 0x372 */ u8 field_0x372;
|
||||
/* 0x373 */ u8 field_0x373;
|
||||
/* 0x374 */ u8 field_0x374;
|
||||
/* 0x375 */ u8 m_letter_num;
|
||||
/* 0x376 */ u8 field_0x376[9][6];
|
||||
/* 0x3AC */ u8 field_0x3ac[54];
|
||||
/* 0x3E2 */ u8 field_0x3e2;
|
||||
/* 0x3E3 */ u8 field_0x3e3;
|
||||
/* 0x3E4 */ u8 field_0x3e4;
|
||||
};
|
||||
|
||||
#endif /* D_MENU_D_MENU_LETTER_H */
|
||||
|
||||
@@ -1,6 +1,212 @@
|
||||
#ifndef D_MENU_D_MENU_OPTION_H
|
||||
#define D_MENU_D_MENU_OPTION_H
|
||||
|
||||
#include "JSystem/J2DGraph/J2DPicture.h"
|
||||
#include "d/d_lib.h"
|
||||
#include "d/d_select_cursor.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class dFile_warning_c;
|
||||
class dMenu_Calibration_c;
|
||||
class mDoDvdThd_mountArchive_c;
|
||||
class dMsgString_c;
|
||||
class dMeterHaihai_c;
|
||||
|
||||
class dMenu_Option_c : public dDlst_base_c {
|
||||
public:
|
||||
/* 801E1F10 */ dMenu_Option_c(JKRArchive*, STControl*);
|
||||
/* 801E205C */ void _create();
|
||||
/* 801E2C1C */ void _delete();
|
||||
/* 801E3408 */ void _move();
|
||||
/* 801E36CC */ void _draw();
|
||||
/* 801E38CC */ void drawHaihai();
|
||||
/* 801E3A7C */ bool isSync();
|
||||
/* 801E3AA4 */ void checkLeftTrigger();
|
||||
/* 801E3AC8 */ void checkRightTrigger();
|
||||
/* 801E3AEC */ void setAnimation();
|
||||
/* 801E3B98 */ bool _open();
|
||||
/* 801E3DE0 */ void _close();
|
||||
/* 801E3F6C */ void atten_init();
|
||||
/* 801E3FC4 */ void atten_move();
|
||||
/* 801E41A0 */ void vib_init();
|
||||
/* 801E41F8 */ void vib_move();
|
||||
/* 801E4488 */ void sound_init();
|
||||
/* 801E44E0 */ void sound_move();
|
||||
/* 801E48AC */ void change_init();
|
||||
/* 801E48E8 */ void change_move();
|
||||
/* 801E4B34 */ void confirm_open_init();
|
||||
/* 801E4C10 */ void confirm_open_move();
|
||||
/* 801E4CE4 */ void confirm_move_init();
|
||||
/* 801E4D20 */ void confirm_move_move();
|
||||
/* 801E4E98 */ void confirm_select_init();
|
||||
/* 801E4E9C */ void confirm_select_move();
|
||||
/* 801E4F18 */ void confirm_close_init();
|
||||
/* 801E4FB0 */ void confirm_close_move();
|
||||
/* 801E51CC */ void tv_open1_move();
|
||||
/* 801E5244 */ void tv_open2_move();
|
||||
/* 801E5260 */ void tv_move_move();
|
||||
/* 801E5300 */ void tv_close1_move();
|
||||
/* 801E5364 */ void tv_close2_move();
|
||||
/* 801E5380 */ void calibration_open1_move();
|
||||
/* 801E53C4 */ void calibration_open2_move();
|
||||
/* 801E53E0 */ void calibration_move_move();
|
||||
/* 801E5434 */ void calibration_close1_move();
|
||||
/* 801E5478 */ void calibration_close2_move();
|
||||
/* 801E5494 */ void menuVisible();
|
||||
/* 801E54F8 */ void menuShow(int);
|
||||
/* 801E55B8 */ void menuHide(int);
|
||||
/* 801E5678 */ void screenSet();
|
||||
/* 801E6FBC */ void setSoundMode(u32);
|
||||
/* 801E7004 */ void setAttenString();
|
||||
/* 801E70E8 */ void setVibString();
|
||||
/* 801E71CC */ void setSoundString();
|
||||
/* 801E7314 */ void setCursorPos(u8);
|
||||
/* 801E73D8 */ void setSelectColor(u8, bool);
|
||||
/* 801E76EC */ void getSelectType();
|
||||
/* 801E7718 */ void changeBarColor(bool);
|
||||
/* 801E78B8 */ void setHIO(bool);
|
||||
/* 801E7D18 */ void cursorAnime(f32);
|
||||
/* 801E7D60 */ void setZButtonString(u16);
|
||||
/* 801E7DF4 */ void changeTVCheck();
|
||||
/* 801E7E98 */ void setAButtonString(u16);
|
||||
/* 801E7F9C */ void setBButtonString(u16);
|
||||
/* 801E80A0 */ void isRumbleSupported();
|
||||
/* 801E80AC */ bool dpdMenuMove();
|
||||
/* 801E80B4 */ void paneResize(u64);
|
||||
/* 801E8210 */ void initialize();
|
||||
/* 801E82C4 */ void yesnoMenuMoveAnmInitSet(int, int);
|
||||
/* 801E8438 */ void yesnoMenuMoveAnm();
|
||||
/* 801E85D4 */ void yesnoSelectMoveAnm();
|
||||
/* 801E8888 */ void yesnoCursorShow();
|
||||
/* 801E89F8 */ void yesNoSelectStart();
|
||||
/* 801E8AC8 */ void yesnoSelectAnmSet();
|
||||
/* 801E8C38 */ void yesnoCancelAnmSet();
|
||||
/* 801E8CB0 */ void yesnoWakuAlpahAnmInit(u8, u8, u8, u8);
|
||||
/* 801E8CFC */ void yesnoWakuAlpahAnm(u8);
|
||||
|
||||
/* 801E8E6C */ virtual void draw();
|
||||
/* 801E2014 */ virtual ~dMenu_Option_c();
|
||||
|
||||
u8 getQuitStatus() { return mQuitStatus; }
|
||||
|
||||
private:
|
||||
/* 0x004 */ J2DScreen* mpBackScreen;
|
||||
/* 0x008 */ J2DScreen* mpScreen;
|
||||
/* 0x00C */ J2DScreen* mpClipScreen;
|
||||
/* 0x010 */ J2DScreen* mpShadowScreen;
|
||||
/* 0x014 */ J2DScreen* mpTVScreen;
|
||||
/* 0x018 */ J2DScreen* mpScreenIcon;
|
||||
/* 0x01C */ J2DScreen* mpSelectScreen;
|
||||
/* 0x020 */ void* field_0x20;
|
||||
/* 0x024 */ void* field_0x24;
|
||||
/* 0x028 */ void* field_0x28;
|
||||
/* 0x02C */ void* field_0x2c;
|
||||
/* 0x030 */ void* field_0x30;
|
||||
/* 0x034 */ dFile_warning_c* mpWarning;
|
||||
/* 0x038 */ J2DPicture* mpBlackTex;
|
||||
/* 0x03C */ dMenu_Calibration_c* field_0x3c;
|
||||
/* 0x040 */ mDoDvdThd_mountArchive_c* field_0x40;
|
||||
/* 0x044 */ dSelect_cursor_c* mpDrawCursor;
|
||||
/* 0x048 */ dMsgString_c* mpString;
|
||||
/* 0x04C */ dMeterHaihai_c* mpMeterHaihai;
|
||||
/* 0x050 */ JKRArchive* field_0x50;
|
||||
/* 0x054 */ JUTFont* field_0x54;
|
||||
/* 0x058 */ STControl* field_0x58;
|
||||
/* 0x05C */ CPaneMgr* mpParent[5];
|
||||
/* 0x070 */ CPaneMgr* mpTitle;
|
||||
/* 0x074 */ CPaneMgr* mpMenuNull[6];
|
||||
/* 0x08C */ CPaneMgr* mpMenuPane[6];
|
||||
/* 0x0A4 */ CPaneMgr* mpMenuPaneC[6];
|
||||
/* 0x0BC */ CPaneMgr* mpMenuPane2[6];
|
||||
/* 0x0D4 */ CPaneMgr* mpMenuPane3[6];
|
||||
/* 0x0EC */ CPaneMgr* mpMenuPane32[6];
|
||||
/* 0x104 */ CPaneMgr* mpMenuText[5][6];
|
||||
/* 0x17C */ int field_0x17c[6];
|
||||
/* 0x194 */ CPaneMgr* mpHaihaiPosL[5];
|
||||
/* 0x1A8 */ CPaneMgr* mpHaihaiPosR[5];
|
||||
/* 0x1BC */ u8 field_0x1bc[4];
|
||||
/* 0x1C0 */ int field_0x1c0[4];
|
||||
/* 0x1D0 */ CPaneMgr* mpZButtonText[3];
|
||||
/* 0x1DC */ CPaneMgr* mpYesNoSelBase_c[2];
|
||||
/* 0x1E4 */ CPaneMgr* mpYesNoTxt_c[2];
|
||||
/* 0x1EC */ CPaneMgr* mpYesNoCurWaku_c[2];
|
||||
/* 0x1F4 */ CPaneMgr* mpYesNoCurWakuG0_c[2];
|
||||
/* 0x1FC */ CPaneMgr* mpYesNoCurWakuG1_c[2];
|
||||
/* 0x204 */ CPaneMgr* mpButtonAB[2];
|
||||
/* 0x20C */ CPaneMgr* mpButtonText[2];
|
||||
/* 0x214 */ CPaneMgr* mpTVButtonAB;
|
||||
/* 0x218 */ CPaneMgr* mpTVButtonText;
|
||||
/* 0x21C */ J2DTextBox* field_0x21c[12];
|
||||
/* 0x24C */ u8 field_0x24c[0x8];
|
||||
/* 0x254 */ int field_0x254;
|
||||
/* 0x258 */ int field_0x258;
|
||||
/* 0x25C */ J2DTextBox* field_0x25c[5];
|
||||
/* 0x270 */ J2DTextBox* field_0x270[3];
|
||||
/* 0x27C */ int field_0x27c;
|
||||
/* 0x280 */ int field_0x280[6];
|
||||
/* 0x298 */ int field_0x298[6];
|
||||
/* 0x2B0 */ JUtility::TColor field_0x2b0[2];
|
||||
/* 0x2B8 */ JUtility::TColor field_0x2b8[2];
|
||||
/* 0x2C0 */ JUtility::TColor field_0x2c0[2];
|
||||
/* 0x2C8 */ JUtility::TColor field_0x2c8[2];
|
||||
/* 0x2D0 */ int field_0x2d0[3][8];
|
||||
/* 0x330 */ f32 field_0x330;
|
||||
/* 0x334 */ f32 field_0x334;
|
||||
/* 0x338 */ f32 field_0x338;
|
||||
/* 0x33C */ f32 field_0x33c[2];
|
||||
/* 0x344 */ f32 field_0x344[6];
|
||||
/* 0x35C */ f32 field_0x35c[6];
|
||||
/* 0x374 */ f32 field_0x374;
|
||||
/* 0x378 */ f32 field_0x378;
|
||||
/* 0x37C */ f32 field_0x37c;
|
||||
/* 0x380 */ f32 field_0x380;
|
||||
/* 0x384 */ f32 field_0x384[6];
|
||||
/* 0x39C */ f32 field_0x39c[6];
|
||||
/* 0x3B4 */ f32 field_0x3b4;
|
||||
/* 0x3B8 */ JUtility::TColor field_0x3b8;
|
||||
/* 0x3BC */ JUtility::TColor field_0x3bc;
|
||||
/* 0x3C0 */ int field_0x3c0;
|
||||
/* 0x3C4 */ int field_0x3c4;
|
||||
/* 0x3C8 */ int field_0x3c8[4];
|
||||
/* 0x3D8 */ u16 field_0x3d8;
|
||||
/* 0x3DA */ u16 field_0x3da;
|
||||
/* 0x3DC */ u16 field_0x3dc;
|
||||
/* 0x3DE */ u16 field_0x3de;
|
||||
/* 0x3E0 */ u8 field_0x3e0;
|
||||
/* 0x3E1 */ u8 field_0x3e1;
|
||||
/* 0x3E2 */ u8 field_0x3e2;
|
||||
/* 0x3E3 */ u8 field_0x3e3;
|
||||
/* 0x3E4 */ u8 field_0x3e4;
|
||||
/* 0x3E5 */ u8 field_0x3e5;
|
||||
/* 0x3E6 */ u8 field_0x3e6;
|
||||
/* 0x3E7 */ u8 field_0x3e7;
|
||||
/* 0x3E8 */ u8 field_0x3e8;
|
||||
/* 0x3E9 */ u8 field_0x3e9;
|
||||
/* 0x3EA */ u8 field_0x3ea;
|
||||
/* 0x3EB */ u8 field_0x3eb;
|
||||
/* 0x3EC */ u8 mQuitStatus;
|
||||
/* 0x3ED */ u8 field_0x3ed;
|
||||
/* 0x3EE */ u8 mUseFlag;
|
||||
/* 0x3EF */ u8 field_0x3ef;
|
||||
/* 0x3F0 */ u8 field_0x3f0;
|
||||
/* 0x3F1 */ u8 field_0x3f1;
|
||||
/* 0x3F2 */ u8 field_0x3f2;
|
||||
/* 0x3F3 */ u8 field_0x3f3;
|
||||
/* 0x3F4 */ u8 field_0x3f4;
|
||||
/* 0x3F5 */ u8 field_0x3f5;
|
||||
/* 0x3F6 */ u8 field_0x3f6;
|
||||
/* 0x3F7 */ u8 field_0x3f7;
|
||||
/* 0x3F8 */ u8 field_0x3f8;
|
||||
/* 0x3F9 */ u8 field_0x3f9;
|
||||
/* 0x3FA */ u8 field_0x3fa;
|
||||
/* 0x3FB */ u8 field_0x3fb[2];
|
||||
/* 0x3FD */ u8 field_0x3fd[2];
|
||||
/* 0x3FF */ u8 field_0x3ff[2];
|
||||
/* 0x401 */ u8 field_0x401;
|
||||
/* 0x402 */ u8 field_0x402;
|
||||
/* 0x403 */ u8 field_0x403;
|
||||
/* 0x404 */ u8 field_0x404[4];
|
||||
/* 0x408 */ u8 field_0x408[4];
|
||||
};
|
||||
|
||||
#endif /* D_MENU_D_MENU_OPTION_H */
|
||||
|
||||
@@ -1,6 +1,194 @@
|
||||
#ifndef D_MENU_D_MENU_RING_H
|
||||
#define D_MENU_D_MENU_RING_H
|
||||
|
||||
#include "JSystem/J2DGraph/J2DPicture.h"
|
||||
#include "d/d_lib.h"
|
||||
#include "d/d_select_cursor.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class dMsgString_c;
|
||||
class dKantera_icon_c;
|
||||
class dMenu_ItemExplain_c;
|
||||
|
||||
class dMenu_Ring_c : public dDlst_base_c {
|
||||
public:
|
||||
/* 801E9118 */ dMenu_Ring_c(JKRExpHeap*, STControl*, CSTControl*, u8);
|
||||
/* 801EAB7C */ void _create();
|
||||
/* 801EABE8 */ void _delete();
|
||||
/* 801EABEC */ void _move();
|
||||
/* 801EACC8 */ void _draw();
|
||||
/* 801EB080 */ void setKanteraPos(f32, f32);
|
||||
/* 801EB0A4 */ bool isOpen();
|
||||
/* 801EB2B4 */ bool isMoveEnd();
|
||||
/* 801EB3CC */ bool isClose();
|
||||
/* 801EB624 */ void getStickInfo(STControl*);
|
||||
/* 801EB8C0 */ void calcStickAngle(STControl*, u8);
|
||||
/* 801EB960 */ void setRotate();
|
||||
/* 801EBA38 */ void setItemScale(int, f32);
|
||||
/* 801EBAB8 */ void setButtonScale(int, f32);
|
||||
/* 801EBB10 */ void setItem();
|
||||
/* 801EBE58 */ void setJumpItem(bool);
|
||||
/* 801EC20C */ void setScale();
|
||||
/* 801EC3B0 */ void setNameString(u32);
|
||||
/* 801EC504 */ void setActiveCursor();
|
||||
/* 801EC754 */ void setMixItem();
|
||||
/* 801ECB14 */ void drawItem();
|
||||
/* 801ECF9C */ void drawItem2();
|
||||
/* 801ED2BC */ void stick_wait_init();
|
||||
/* 801ED31C */ void stick_wait_proc();
|
||||
/* 801ED490 */ void stick_move_init();
|
||||
/* 801ED53C */ void stick_move_proc();
|
||||
/* 801ED934 */ void stick_explain_init();
|
||||
/* 801ED938 */ void stick_explain_force_init();
|
||||
/* 801ED93C */ void stick_explain_proc();
|
||||
/* 801EDA0C */ void stick_explain_force_proc();
|
||||
/* 801EDB14 */ void setSelectItem(int, u8);
|
||||
/* 801EDC98 */ void drawSelectItem();
|
||||
/* 801EDF2C */ void setSelectItemForce(int);
|
||||
/* 801EDFDC */ void getCursorPos(u8);
|
||||
/* 801EE058 */ void getItemNum(u8);
|
||||
/* 801EE15C */ void getItemMaxNum(u8);
|
||||
/* 801EE228 */ void checkExplainForce();
|
||||
/* 801EE63C */ bool checkCombineBomb(int);
|
||||
/* 801EE644 */ void setCombineBomb(int);
|
||||
/* 801EE648 */ void drawNumber(int, int, f32, f32);
|
||||
/* 801EEA84 */ void getItem(int, u8);
|
||||
/* 801EEAE4 */ void setDoStatus(u8);
|
||||
/* 801EEB58 */ void isMixItemOn();
|
||||
/* 801EEC98 */ void isMixItemOff();
|
||||
/* 801EED84 */ void setMixMessage();
|
||||
/* 801EEF14 */ void textScaleHIO();
|
||||
/* 801EF11C */ void textCentering();
|
||||
/* 801EF13C */ void clacEllipseFunction(f32, f32, f32);
|
||||
/* 801EF174 */ void calcDistance(f32, f32, f32, f32);
|
||||
/* 801EF1A0 */ void clacEllipsePlotAverage(int, f32, f32);
|
||||
/* 801EF484 */ bool dpdMove();
|
||||
/* 801EF48C */ void openExplain(u8);
|
||||
|
||||
/* 801EF560 */ virtual void draw();
|
||||
/* 801EA708 */ virtual ~dMenu_Ring_c();
|
||||
|
||||
void drawFlag0() { mDrawFlag = 0; }
|
||||
|
||||
private:
|
||||
/* 0x004 */ JKRExpHeap* mpHeap;
|
||||
/* 0x008 */ STControl* mpStick;
|
||||
/* 0x00C */ CSTControl* mpCStick;
|
||||
/* 0x010 */ dSelect_cursor_c* mpDrawCursor;
|
||||
/* 0x014 */ dMsgString_c* mpString;
|
||||
/* 0x018 */ CPaneMgr* mpMessageParent;
|
||||
/* 0x01C */ CPaneMgr* mpCenterParent;
|
||||
/* 0x020 */ CPaneMgr* mpSpotParent;
|
||||
/* 0x024 */ CPaneMgr* mpTextParent[10];
|
||||
/* 0x04C */ CPaneMgr* mpNameParent;
|
||||
/* 0x050 */ CPaneMgr* mpCircle;
|
||||
/* 0x054 */ dKantera_icon_c* mpKanteraMeter;
|
||||
/* 0x058 */ J2DScreen* mpScreen;
|
||||
/* 0x05C */ J2DScreen* mpSpotScreen;
|
||||
/* 0x060 */ u8 field_0x60[4];
|
||||
/* 0x064 */ J2DScreen* mpCenterScreen;
|
||||
/* 0x068 */ J2DPicture* mpSelectItemTex[4][3];
|
||||
/* 0x098 */ J2DPicture* mpItemTex[4][3];
|
||||
/* 0x0C8 */ u8 field_0xc8[0xF0];
|
||||
/* 0x1B8 */ J2DPicture* mpBlackTex;
|
||||
/* 0x1BC */ J2DPicture* mpItemNumTex[3];
|
||||
/* 0x1C8 */ J2DTextBox* field_0x1c8[5];
|
||||
/* 0x1DC */ J2DTextBox* field_0x1dc[5];
|
||||
/* 0x1F0 */ ResTIMG* mpSelectItemTexBuf[4][3][2];
|
||||
/* 0x250 */ ResTIMG* mpItemBuf[4][3];
|
||||
/* 0x280 */ u8 field_0x280[0xF0];
|
||||
/* 0x370 */ dMenu_ItemExplain_c* mpItemExplain;
|
||||
/* 0x374 */ void* field_0x374[3];
|
||||
/* 0x380 */ cXyz field_0x380;
|
||||
/* 0x38C */ f32 field_0x38c[24];
|
||||
/* 0x3EC */ f32 field_0x3ec[24];
|
||||
/* 0x44C */ f32 field_0x44c[24];
|
||||
/* 0x4AC */ f32 field_0x4ac[24];
|
||||
/* 0x50C */ f32 field_0x50c;
|
||||
/* 0x510 */ f32 field_0x510;
|
||||
/* 0x514 */ f32 field_0x514;
|
||||
/* 0x518 */ f32 field_0x518[4];
|
||||
/* 0x528 */ f32 field_0x528[4];
|
||||
/* 0x538 */ f32 field_0x538[4];
|
||||
/* 0x548 */ f32 field_0x548[4];
|
||||
/* 0x558 */ f32 field_0x558[4];
|
||||
/* 0x568 */ f32 field_0x568;
|
||||
/* 0x56C */ f32 field_0x56c;
|
||||
/* 0x570 */ f32 field_0x570;
|
||||
/* 0x574 */ f32 field_0x574[2];
|
||||
/* 0x57C */ f32 field_0x57c[2];
|
||||
/* 0x584 */ f32 field_0x584;
|
||||
/* 0x588 */ f32 field_0x588;
|
||||
/* 0x58C */ f32 field_0x58c;
|
||||
/* 0x590 */ f32 field_0x590[10];
|
||||
/* 0x5B8 */ f32 field_0x5b8[10];
|
||||
/* 0x5E0 */ f32 field_0x5e0[10];
|
||||
/* 0x608 */ f32 field_0x608;
|
||||
/* 0x604 */ f32 field_0x604;
|
||||
/* 0x610 */ f32 field_0x610;
|
||||
/* 0x614 */ f32 field_0x614;
|
||||
/* 0x618 */ f32 field_0x618;
|
||||
/* 0x61C */ f32 field_0x61c;
|
||||
/* 0x620 */ u8 field_0x620[4];
|
||||
/* 0x624 */ int field_0x624;
|
||||
/* 0x628 */ u32 field_0x628;
|
||||
/* 0x62C */ int field_0x62c;
|
||||
/* 0x630 */ u16 field_0x630;
|
||||
/* 0x632 */ u16 field_0x632;
|
||||
/* 0x634 */ u16 field_0x634;
|
||||
/* 0x636 */ u16 field_0x636[24];
|
||||
/* 0x666 */ u16 field_0x666;
|
||||
/* 0x668 */ u16 field_0x668;
|
||||
/* 0x66A */ u16 field_0x66a;
|
||||
/* 0x66C */ u16 field_0x66c[4];
|
||||
/* 0x674 */ u16 field_0x674;
|
||||
/* 0x676 */ u16 field_0x676;
|
||||
/* 0x678 */ u16 field_0x678;
|
||||
/* 0x67A */ u16 field_0x67a;
|
||||
/* 0x67C */ u16 field_0x67c;
|
||||
/* 0x67E */ u16 field_0x67e[4];
|
||||
/* 0x686 */ u16 field_0x686;
|
||||
/* 0x688 */ u8 field_0x688[24];
|
||||
/* 0x6A0 */ u8 field_0x6a0;
|
||||
/* 0x6A1 */ u8 field_0x6a1;
|
||||
/* 0x6A2 */ u8 field_0x6a2;
|
||||
/* 0x6A3 */ u8 field_0x6a3;
|
||||
/* 0x6A4 */ u8 field_0x6a4;
|
||||
/* 0x6A5 */ u8 field_0x6a5;
|
||||
/* 0x6A6 */ u8 field_0x6a6;
|
||||
/* 0x6A7 */ u8 field_0x6a7;
|
||||
/* 0x6A8 */ u8 mStatus;
|
||||
/* 0x6A9 */ u8 field_0x6a9;
|
||||
/* 0x6AA */ u8 field_0x6aa;
|
||||
/* 0x6AB */ u8 field_0x6ab;
|
||||
/* 0x6AC */ u8 field_0x6ac[4];
|
||||
/* 0x6B0 */ u8 field_0x6b0[4];
|
||||
/* 0x6B4 */ u8 field_0x6b4;
|
||||
/* 0x6B5 */ u8 field_0x6b5;
|
||||
/* 0x6B6 */ u8 field_0x6b6[4];
|
||||
/* 0x6BA */ u8 field_0x6ba;
|
||||
/* 0x6BB */ u8 field_0x6bb;
|
||||
/* 0x6BC */ u8 field_0x6bc;
|
||||
/* 0x6BD */ u8 mDrawFlag;
|
||||
/* 0x6BE */ u8 field_0x6be;
|
||||
/* 0x6BF */ u8 field_0x6bf[4];
|
||||
/* 0x6C3 */ u8 field_0x6c3;
|
||||
/* 0x6C4 */ u8 field_0x6c4;
|
||||
/* 0x6C5 */ u8 field_0x6c5;
|
||||
/* 0x6C6 */ u8 field_0x6c6;
|
||||
/* 0x6C7 */ u8 field_0x6c7;
|
||||
/* 0x6C8 */ u8 field_0x6c8;
|
||||
/* 0x6C9 */ u8 field_0x6c9;
|
||||
/* 0x6CA */ u8 field_0x6ca;
|
||||
/* 0x6CB */ u8 field_0x6cb;
|
||||
/* 0x6CC */ u8 field_0x6cc;
|
||||
/* 0x6CD */ u8 field_0x6cd;
|
||||
/* 0x6CE */ u8 field_0x6ce;
|
||||
/* 0x6CF */ u8 field_0x6cf;
|
||||
/* 0x6D0 */ u8 field_0x6d0;
|
||||
/* 0x6D1 */ u8 field_0x6d1;
|
||||
/* 0x6D2 */ u8 field_0x6d2;
|
||||
/* 0x6D3 */ u8 field_0x6d3;
|
||||
};
|
||||
|
||||
#endif /* D_MENU_D_MENU_RING_H */
|
||||
|
||||
@@ -1,6 +1,281 @@
|
||||
#ifndef D_MENU_D_MENU_SAVE_H
|
||||
#define D_MENU_D_MENU_SAVE_H
|
||||
|
||||
#include "JSystem/J2DGraph/J2DScreen.h"
|
||||
#include "d/d_lib.h"
|
||||
#include "d/d_select_cursor.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class dMsgString_c;
|
||||
class mDoDvdThd_command_c;
|
||||
class dFile_warning_c;
|
||||
class dFile_info_c;
|
||||
class dMsgScrnExplain_c;
|
||||
|
||||
class dDlst_MenuSaveExplain_c : public dDlst_base_c {
|
||||
public:
|
||||
/* 801F6ADC */ virtual void draw();
|
||||
/* 801F6B8C */ virtual ~dDlst_MenuSaveExplain_c();
|
||||
|
||||
private:
|
||||
/* 0x4 */ int field_0x4;
|
||||
};
|
||||
|
||||
class dDlst_MenuSave_c : public dDlst_base_c {
|
||||
public:
|
||||
/* 801F6B0C */ virtual void draw();
|
||||
/* 801F6B44 */ virtual ~dDlst_MenuSave_c();
|
||||
};
|
||||
|
||||
class dMenu_save_c {
|
||||
public:
|
||||
/* 801EF6A0 */ dMenu_save_c();
|
||||
/* 801EF7AC */ void _create();
|
||||
/* 801EF904 */ void screenSet();
|
||||
/* 801F0938 */ void initialize();
|
||||
/* 801F0958 */ void displayInit();
|
||||
/* 801F09AC */ bool _open();
|
||||
/* 801F0B10 */ void _close();
|
||||
/* 801F0B28 */ void _delete();
|
||||
/* 801F1048 */ void _move();
|
||||
/* 801F1100 */ void saveSelAnm();
|
||||
/* 801F1148 */ void selFileWakuAnm();
|
||||
/* 801F11F4 */ void bookIconAnm();
|
||||
/* 801F12F0 */ void memCardWatch();
|
||||
/* 801F1378 */ void saveQuestion();
|
||||
/* 801F1558 */ void saveQuestion2();
|
||||
/* 801F1620 */ void saveQuestion21();
|
||||
/* 801F1644 */ void saveQuestion3();
|
||||
/* 801F16B8 */ void saveQuestion4();
|
||||
/* 801F16F4 */ void saveGuide();
|
||||
/* 801F1720 */ void memCardCheck();
|
||||
/* 801F191C */ void memCardErrMsgWaitKey();
|
||||
/* 801F19A8 */ void backSaveQuestionInitSet();
|
||||
/* 801F19DC */ void backSaveQuestion();
|
||||
/* 801F1A48 */ void backSaveQuestion2();
|
||||
/* 801F1B38 */ void closeSelect();
|
||||
/* 801F1BF8 */ void closeSelect2();
|
||||
/* 801F1C70 */ void iplSelMsgInitSet();
|
||||
/* 801F1C94 */ void iplSelInitSet();
|
||||
/* 801F1CEC */ void IPLSelectDisp1();
|
||||
/* 801F1D54 */ void IPLSelectDisp2();
|
||||
/* 801F1DD4 */ void memCardErrGoIPLSel();
|
||||
/* 801F1E58 */ void IPLSelect2Disp();
|
||||
/* 801F1EE0 */ void memCardErrGoIPLSel2();
|
||||
/* 801F1F80 */ void memCardErrGotoIPL();
|
||||
/* 801F2000 */ void memCardErrMsgWaitFormatSel();
|
||||
/* 801F20AC */ void cardFormatYesSelDisp();
|
||||
/* 801F2134 */ void cardFormatNoSelDisp();
|
||||
/* 801F219C */ void memCardErrMsgWaitFormatSel2();
|
||||
/* 801F2250 */ void cardFormatYesSel2Disp();
|
||||
/* 801F22CC */ void memCardFormat();
|
||||
/* 801F232C */ void memCardFormatWait();
|
||||
/* 801F23A4 */ void gameFileMakeSelInitSet();
|
||||
/* 801F23FC */ void makeGameFileSelDisp();
|
||||
/* 801F247C */ void memCardMakeGameFileSel();
|
||||
/* 801F2514 */ void makeGameFileDisp();
|
||||
/* 801F25AC */ void memCardMakeGameFile();
|
||||
/* 801F260C */ void memCardMakeGameFileWait();
|
||||
/* 801F2698 */ void memCardCommandEnd();
|
||||
/* 801F2708 */ void memCardCommandEnd2();
|
||||
/* 801F27CC */ void memCardDataLoadWait();
|
||||
/* 801F2840 */ void dataWrite();
|
||||
/* 801F28E4 */ void memCardDataSaveWait();
|
||||
/* 801F298C */ void memCardDataSaveWait2();
|
||||
/* 801F2B5C */ void gameContinueDisp();
|
||||
/* 801F2BF8 */ void gameContinue();
|
||||
/* 801F2D78 */ void gameContinue2();
|
||||
/* 801F2DA0 */ void gameContinue3();
|
||||
/* 801F2DD4 */ void saveEnd();
|
||||
/* 801F2E88 */ void endingNoSave();
|
||||
/* 801F2F08 */ void endingNoSave2();
|
||||
/* 801F2F38 */ void endingDataCheck();
|
||||
/* 801F2F4C */ void retryQuestion0();
|
||||
/* 801F2FB4 */ void retryQuestion1();
|
||||
/* 801F3040 */ void retryQuestion2();
|
||||
/* 801F30B8 */ void restartInit();
|
||||
/* 801F31B0 */ void saveWait();
|
||||
/* 801F31B4 */ void messageChange();
|
||||
/* 801F328C */ void YesNoSelect();
|
||||
/* 801F34BC */ void msgTxtSet(u16, bool);
|
||||
/* 801F3588 */ void openSaveSelect();
|
||||
/* 801F36B4 */ void openSaveSelect2();
|
||||
/* 801F37A0 */ void openSaveSelect3();
|
||||
/* 801F3934 */ void saveSelect();
|
||||
/* 801F3A94 */ void saveSelectStart();
|
||||
/* 801F3BE0 */ void selectDataOpenMove();
|
||||
/* 801F3C7C */ void dataSelectAnmSet();
|
||||
/* 801F3E30 */ void saveSelectMoveAnime();
|
||||
/* 801F40D8 */ void saveYesNoSelect();
|
||||
/* 801F4238 */ void yesnoSelectStart();
|
||||
/* 801F42FC */ void saveMoveDisp();
|
||||
/* 801F43F8 */ void saveMoveDisp2();
|
||||
/* 801F4510 */ void yesnoSelectAnmSet(u8);
|
||||
/* 801F46B4 */ void yesNoCursorMoveAnm();
|
||||
/* 801F4724 */ void yesnoCancelAnmSet();
|
||||
/* 801F47DC */ void saveYesNoCancelMove();
|
||||
/* 801F485C */ void headerTxtSet(u16);
|
||||
/* 801F4928 */ void headerTxtChangeAnm();
|
||||
/* 801F4A10 */ void errDispInitSet(int);
|
||||
/* 801F4B84 */ void msgWindowInitOpen();
|
||||
/* 801F4D10 */ void msgWindowOpen();
|
||||
/* 801F4DAC */ void msgWindowClose();
|
||||
/* 801F4E48 */ void errYesNoSelect(u8, u8);
|
||||
/* 801F4FB4 */ void errCurMove(u8, u8);
|
||||
/* 801F5054 */ void errYesNoCursorMoveAnm();
|
||||
/* 801F50C4 */ void errorTxtSet(u16);
|
||||
/* 801F5190 */ void errorTxtChangeAnm();
|
||||
/* 801F5278 */ void saveSelectOpenInit();
|
||||
/* 801F533C */ void selectDataBaseMoveAnmInitSet(int, int);
|
||||
/* 801F53D4 */ void selectDataBaseMoveAnm();
|
||||
/* 801F54C0 */ void saveSelectOpenAnmSet();
|
||||
/* 801F5508 */ void selectDataMoveAnmInitSet(int, int);
|
||||
/* 801F5600 */ void selectDataMoveAnm();
|
||||
/* 801F5744 */ void yesnoMenuMoveAnmInitSet(int, int, u8);
|
||||
/* 801F58C8 */ void yesnoMenuMoveAnm();
|
||||
/* 801F5AE4 */ void yesnoSelectMoveAnm(u8);
|
||||
/* 801F5D84 */ void yesnoCursorShow();
|
||||
/* 801F5EF4 */ void errorMoveAnmInitSet(int, int);
|
||||
/* 801F5F84 */ void errorMoveAnm();
|
||||
/* 801F60A4 */ void modoruTxtDispAnmInit(u8);
|
||||
/* 801F6120 */ void modoruTxtDispAnm();
|
||||
/* 801F61FC */ void ketteiTxtDispAnmInit(u8);
|
||||
/* 801F6278 */ void ketteiTxtDispAnm();
|
||||
/* 801F6354 */ void selectWakuAlpahAnmInit(u8, u8, u8, u8);
|
||||
/* 801F6390 */ void selectWakuAlpahAnm(u8);
|
||||
/* 801F6458 */ void selFileCursorShow();
|
||||
/* 801F6608 */ void yesnoWakuAlpahAnmInit(u8, u8, u8, u8);
|
||||
/* 801F6654 */ void yesnoWakuAlpahAnm(u8);
|
||||
/* 801F67B8 */ void dataSave();
|
||||
/* 801F67F0 */ void setSaveData();
|
||||
/* 801F6954 */ void setInitSaveData();
|
||||
/* 801F69B8 */ void _draw();
|
||||
/* 801F69FC */ void _draw2();
|
||||
|
||||
/* 802844D0 */ virtual ~dMenu_save_c();
|
||||
|
||||
u8 getSaveStatus() { return mSaveStatus; }
|
||||
void setUseType(u8 type) { mUseType = type; }
|
||||
|
||||
struct SaveSel {
|
||||
/* 0x00 */ J2DScreen* Scr;
|
||||
/* 0x04 */ JUTFont* font[2];
|
||||
/* 0x0C */ dMsgString_c* mMsgString;
|
||||
}; // Size: 0x10
|
||||
|
||||
private:
|
||||
/* 0x0004 */ JKRArchive* field_0x4;
|
||||
/* 0x0008 */ mDoDvdThd_command_c* field_0x8;
|
||||
/* 0x000C */ STControl* stick;
|
||||
/* 0x0010 */ dDlst_MenuSaveExplain_c field_0x10;
|
||||
/* 0x0018 */ dDlst_MenuSave_c field_0x18;
|
||||
/* 0x001C */ SaveSel mSaveSel;
|
||||
/* 0x002C */ dSelect_cursor_c* mSelIcon;
|
||||
/* 0x0030 */ dFile_warning_c* field_0x30;
|
||||
/* 0x0034 */ dFile_info_c* field_0x34[3];
|
||||
/* 0x0040 */ void* field_0x40;
|
||||
/* 0x0044 */ void* field_0x44;
|
||||
/* 0x0048 */ void* field_0x48;
|
||||
/* 0x004C */ void* field_0x4c;
|
||||
/* 0x0050 */ s32 field_0x50;
|
||||
/* 0x0054 */ u8 field_0x54;
|
||||
/* 0x0058 */ CPaneMgr* field_0x58;
|
||||
/* 0x005C */ int field_0x5c;
|
||||
/* 0x0060 */ int field_0x60;
|
||||
/* 0x0064 */ u8 field_0x64;
|
||||
/* 0x0064 */ u8 field_0x65;
|
||||
/* 0x0068 */ CPaneMgr* field_0x68[3];
|
||||
/* 0x0074 */ u8 field_0x74[0x10];
|
||||
/* 0x0084 */ CPaneMgr* field_0x84[2];
|
||||
/* 0x008C */ u8 field_0x8c[0x10];
|
||||
/* 0x009C */ u8 field_0x9c;
|
||||
/* 0x00A0 */ int field_0xa0;
|
||||
/* 0x00A4 */ u8 field_0xa4[0x10];
|
||||
/* 0x00B4 */ J2DPane* field_0xb4;
|
||||
/* 0x00B8 */ int field_0xb8;
|
||||
/* 0x00BC */ int field_0xbc;
|
||||
/* 0x00C0 */ CPaneMgr* field_0xc0[2];
|
||||
/* 0x00C8 */ char* field_0xc8[2];
|
||||
/* 0x00D0 */ u8 field_0xd0;
|
||||
/* 0x00D2 */ u8 field_0xd1;
|
||||
/* 0x00D2 */ u8 field_0xd2;
|
||||
/* 0x00D3 */ u8 field_0xd3;
|
||||
/* 0x00D4 */ CPaneMgr* field_0xd4[3];
|
||||
/* 0x00E0 */ CPaneMgr* field_0xe0[3];
|
||||
/* 0x00EC */ CPaneMgr* field_0xec[3];
|
||||
/* 0x00F8 */ CPaneMgr* field_0xf8[3];
|
||||
/* 0x0104 */ u8 field_0x104[3];
|
||||
/* 0x0107 */ u8 field_0x107[3];
|
||||
/* 0x010A */ u8 field_0x10a[3];
|
||||
/* 0x010D */ u8 field_0x10d[11];
|
||||
/* 0x0118 */ CPaneMgr* field_0x118[2];
|
||||
/* 0x0120 */ CPaneMgr* field_0x120[2];
|
||||
/* 0x0128 */ CPaneMgr* field_0x128[2];
|
||||
/* 0x0130 */ u8 field_0x130[2];
|
||||
/* 0x0132 */ u8 field_0x132[2];
|
||||
/* 0x0134 */ u8 field_0x134[2];
|
||||
/* 0x0138 */ CPaneMgr* field_0x138[2];
|
||||
/* 0x0140 */ void* field_0x140;
|
||||
/* 0x0144 */ int field_0x144;
|
||||
/* 0x0148 */ void* field_0x148;
|
||||
/* 0x014C */ int field_0x14c;
|
||||
/* 0x0150 */ void* field_0x150;
|
||||
/* 0x0154 */ int field_0x154;
|
||||
/* 0x0158 */ void* field_0x158;
|
||||
/* 0x015C */ int field_0x15c;
|
||||
/* 0x0160 */ void* field_0x160;
|
||||
/* 0x0164 */ int field_0x164;
|
||||
/* 0x0168 */ CPaneMgr* field_0x168[2];
|
||||
/* 0x0170 */ u8 field_0x170[8];
|
||||
/* 0x0178 */ u8 field_0x178;
|
||||
/* 0x0179 */ u8 field_0x179;
|
||||
/* 0x017A */ u8 field_0x17a;
|
||||
/* 0x017B */ u8 field_0x17b[0x19];
|
||||
/* 0x0194 */ CPaneMgr* field_0x194;
|
||||
/* 0x0198 */ CPaneMgr* field_0x198;
|
||||
/* 0x019C */ u8 field_0x19c;
|
||||
/* 0x019D */ u8 field_0x19d;
|
||||
/* 0x01A0 */ CPaneMgr* field_0x1a0;
|
||||
/* 0x01A4 */ CPaneMgr* field_0x1a4;
|
||||
/* 0x01A8 */ u8 field_0x1a8;
|
||||
/* 0x01A9 */ u8 field_0x1a9;
|
||||
/* 0x01AA */ u8 field_0x1aa[3];
|
||||
/* 0x01AD */ u8 field_0x1ad[3];
|
||||
/* 0x01B0 */ u8 field_0x1b0;
|
||||
/* 0x01B1 */ u8 field_0x1b1;
|
||||
/* 0x01B2 */ u8 field_0x1b2;
|
||||
/* 0x01B3 */ u8 field_0x1b3;
|
||||
/* 0x01B4 */ u8 field_0x1b4;
|
||||
/* 0x01B5 */ u8 field_0x1b5;
|
||||
/* 0x01B6 */ u8 field_0x1b6;
|
||||
/* 0x01B7 */ u8 field_0x1b7;
|
||||
/* 0x01B8 */ u8 field_0x1b8;
|
||||
/* 0x01B9 */ u8 field_0x1b9;
|
||||
/* 0x01BA */ u8 mSaveStatus;
|
||||
/* 0x01BB */ u8 mEndStatus;
|
||||
/* 0x01BC */ u8 mUseType;
|
||||
/* 0x01BD */ u8 field_0x1bd;
|
||||
/* 0x01BE */ u8 field_0x1be;
|
||||
/* 0x01BF */ u8 field_0x1bf;
|
||||
/* 0x01C0 */ u8 field_0x1c0;
|
||||
/* 0x01C4 */ int field_0x1c4;
|
||||
/* 0x01C8 */ int field_0x1c8;
|
||||
/* 0x01CC */ void* field_0x1cc;
|
||||
/* 0x01D0 */ u8 field_0x1d0[0xA94 * 3];
|
||||
/* 0x218C */ dMsgScrnExplain_c* mpScrnExplain;
|
||||
/* 0x2190 */ u8 field_0x2190;
|
||||
/* 0x2192 */ u16 field_0x2192;
|
||||
/* 0x2194 */ u8 field_0x2194;
|
||||
/* 0x2195 */ u8 field_0x2195;
|
||||
/* 0x2198 */ int field_0x2198;
|
||||
/* 0x219C */ u8 field_0x219c;
|
||||
/* 0x219D */ u8 field_0x219d;
|
||||
/* 0x219E */ u8 field_0x219e;
|
||||
/* 0x219F */ u8 field_0x219f;
|
||||
/* 0x21A0 */ u8 field_0x21a0;
|
||||
/* 0x21A1 */ u8 field_0x21a1;
|
||||
/* 0x21A2 */ u8 field_0x21a2;
|
||||
/* 0x21A3 */ u8 field_0x21a3;
|
||||
};
|
||||
|
||||
#endif /* D_MENU_D_MENU_SAVE_H */
|
||||
|
||||
@@ -1,6 +1,106 @@
|
||||
#ifndef D_MENU_D_MENU_SKILL_H
|
||||
#define D_MENU_D_MENU_SKILL_H
|
||||
|
||||
#include "JSystem/J2DGraph/J2DPicture.h"
|
||||
#include "d/d_lib.h"
|
||||
#include "d/d_select_cursor.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class mDoDvdThd_mountArchive_c;
|
||||
class dMsgString_c;
|
||||
|
||||
class dMenu_Skill_c : public dDlst_base_c {
|
||||
public:
|
||||
/* 801F7224 */ dMenu_Skill_c(JKRExpHeap*, STControl*, CSTControl*);
|
||||
/* 801F763C */ void _create();
|
||||
/* 801F7718 */ void _move();
|
||||
/* 801F77B0 */ void _draw();
|
||||
/* 801F7950 */ bool isSync();
|
||||
/* 801F7978 */ void skill_init_calc();
|
||||
/* 801F79EC */ void init();
|
||||
/* 801F7A40 */ void _open();
|
||||
/* 801F7C1C */ void _close();
|
||||
/* 801F7D58 */ void wait_init();
|
||||
/* 801F7D94 */ void wait_move();
|
||||
/* 801F7F24 */ void read_open_init();
|
||||
/* 801F7FF8 */ void read_open_move();
|
||||
/* 801F8114 */ void read_move_init();
|
||||
/* 801F8150 */ void read_move_move();
|
||||
/* 801F8218 */ void read_close_init();
|
||||
/* 801F826C */ void read_close_move();
|
||||
/* 801F8388 */ void screenSetMenu();
|
||||
/* 801F8A18 */ void screenSetLetter();
|
||||
/* 801F8D20 */ void screenSetDoIcon();
|
||||
/* 801F8E9C */ void setCursorPos();
|
||||
/* 801F8F28 */ void changeActiveColor();
|
||||
/* 801F9144 */ void setPageText();
|
||||
/* 801F9260 */ void setAButtonString(u16);
|
||||
/* 801F9310 */ void setBButtonString(u16);
|
||||
/* 801F93C0 */ void setNameString(u16);
|
||||
/* 801F9470 */ void getSkillNum();
|
||||
/* 801F9500 */ void setHIO(bool);
|
||||
|
||||
/* 801F9A08 */ virtual void draw();
|
||||
/* 801F7348 */ virtual ~dMenu_Skill_c();
|
||||
|
||||
u8 getStatus() { return mStatus; }
|
||||
|
||||
private:
|
||||
/* 0x004 */ JKRExpHeap* field_0x4;
|
||||
/* 0x008 */ JKRArchive* field_0x8;
|
||||
/* 0x00C */ STControl* field_0xc;
|
||||
/* 0x010 */ CSTControl* field_0x10;
|
||||
/* 0x014 */ mDoDvdThd_mountArchive_c* field_0x14;
|
||||
/* 0x018 */ J2DScreen* mpMenuScreen;
|
||||
/* 0x01C */ J2DScreen* mpLetterScreen;
|
||||
/* 0x020 */ J2DScreen* mpIconScreen;
|
||||
/* 0x024 */ J2DPane* field_0x24[4];
|
||||
/* 0x034 */ J2DPane* field_0x34[4];
|
||||
/* 0x044 */ J2DPane* field_0x44[4];
|
||||
/* 0x054 */ J2DPane* field_0x54[4];
|
||||
/* 0x064 */ J2DPane* field_0x64[4];
|
||||
/* 0x074 */ J2DPane* field_0x74[4];
|
||||
/* 0x084 */ J2DPane* field_0x84[4];
|
||||
/* 0x094 */ J2DPane* field_0x94[4];
|
||||
/* 0x0A4 */ u8 field_0xa4[0xC];
|
||||
/* 0x0B0 */ J2DTextBox* field_0xb0[4];
|
||||
/* 0x0C0 */ J2DTextBox* field_0xc0[4];
|
||||
/* 0x0D0 */ J2DTextBox* field_0xd0[4];
|
||||
/* 0x0E0 */ J2DTextBox* field_0xe0[4];
|
||||
/* 0x0F0 */ J2DTextBox* field_0xf0[4];
|
||||
/* 0x100 */ J2DTextBox* field_0x100[4];
|
||||
/* 0x110 */ J2DTextBox* field_0x110[4];
|
||||
/* 0x120 */ J2DTextBox* mAButtonString[5];
|
||||
/* 0x134 */ J2DTextBox* mBButtonString[5];
|
||||
/* 0x148 */ J2DTextBox* mNameString[4];
|
||||
/* 0x158 */ J2DPicture* mpBlackTex;
|
||||
/* 0x15C */ CPaneMgr* mpParent;
|
||||
/* 0x160 */ CPaneMgr* mpLetterParent[7];
|
||||
/* 0x17C */ CPaneMgr* mpTextParent;
|
||||
/* 0x180 */ CPaneMgr* mpTextPane;
|
||||
/* 0x184 */ CPaneMgr* mpExpName;
|
||||
/* 0x188 */ CPaneMgr* field_0x188[2];
|
||||
/* 0x190 */ CPaneMgr* field_0x190[2];
|
||||
/* 0x198 */ dSelect_cursor_c* mpDrawCursor;
|
||||
/* 0x19C */ dMsgString_c* mpString;
|
||||
/* 0x1A0 */ JUtility::TColor field_0x1a0[5];
|
||||
/* 0x1B4 */ JUtility::TColor field_0x1b4[5];
|
||||
/* 0x1C8 */ JUtility::TColor field_0x1c8[5];
|
||||
/* 0x1DC */ JUtility::TColor field_0x1dc[5];
|
||||
/* 0x1F0 */ f32 field_0x1f0;
|
||||
/* 0x1F4 */ f32 field_0x1f4;
|
||||
/* 0x1F8 */ f32 field_0x1f8;
|
||||
/* 0x1FC */ int field_0x1fc;
|
||||
/* 0x200 */ u16 field_0x200;
|
||||
/* 0x202 */ u16 field_0x202;
|
||||
/* 0x204 */ u8 mStatus;
|
||||
/* 0x205 */ u8 field_0x205;
|
||||
/* 0x206 */ u8 field_0x206;
|
||||
/* 0x207 */ u8 field_0x207;
|
||||
/* 0x208 */ u8 field_0x208;
|
||||
/* 0x209 */ u8 field_0x209;
|
||||
/* 0x20A */ u8 field_0x20a;
|
||||
/* 0x20B */ u8 field_0x20b;
|
||||
}; // Size: 0x20C
|
||||
|
||||
#endif /* D_MENU_D_MENU_SKILL_H */
|
||||
|
||||
+112
-49
@@ -1,26 +1,80 @@
|
||||
#ifndef D_MENU_D_MENU_WINDOW_H
|
||||
#define D_MENU_D_MENU_WINDOW_H
|
||||
|
||||
#include "d/d_drawlist.h"
|
||||
#include "d/menu/d_menu_collect.h"
|
||||
#include "d/meter/d_meter2_info.h"
|
||||
#include "d/msg/d_msg_class.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
#include "m_Do/m_Do_graphic.h"
|
||||
|
||||
struct STControl;
|
||||
struct CSTControl;
|
||||
class dDlst_base_c;
|
||||
class dMenu_Ring_c;
|
||||
class dMenu_Collect2D_c;
|
||||
class dMenu_Dmap_c;
|
||||
class dMenu_Fmap_c;
|
||||
class dMenu_save_c;
|
||||
class dMenu_Option_c;
|
||||
class dMenu_Letter_c;
|
||||
class dMenu_Fishing_c;
|
||||
class dMenu_Skill_c;
|
||||
class dMenu_Insect_c;
|
||||
|
||||
class dMw_c {
|
||||
class dDlst_MENU_CAPTURE_c : public dDlst_base_c {
|
||||
public:
|
||||
/* 801FDFCC */ virtual void draw();
|
||||
/* 801FE2E8 */ virtual ~dDlst_MENU_CAPTURE_c();
|
||||
|
||||
dDlst_MENU_CAPTURE_c() {
|
||||
mFlag = 0;
|
||||
mAlpha = 255;
|
||||
mTopFlag = 0;
|
||||
}
|
||||
|
||||
void setCaptureFlag() { mFlag = 1; }
|
||||
bool checkDraw() { return mFlag; }
|
||||
u8 getAlpha() { return mAlpha; }
|
||||
u8 getTopFlag() { return mTopFlag; }
|
||||
|
||||
private:
|
||||
/* 0x4 */ u8 mFlag;
|
||||
/* 0x5 */ u8 mAlpha;
|
||||
/* 0x6 */ u8 mTopFlag;
|
||||
};
|
||||
|
||||
class dMw_c : public msg_class {
|
||||
public:
|
||||
enum dMw_Status {
|
||||
/* 0x00 */ NO_MENU,
|
||||
/* 0x01 */ RING_OPEN,
|
||||
/* 0x02 */ RING_MOVE,
|
||||
/* 0x03 */ RING_CLOSE,
|
||||
/* 0x04 */ COLLECT_OPEN,
|
||||
/* 0x05 */ COLLECT_MOVE,
|
||||
/* 0x06 */ COLLECT_CLOSE,
|
||||
/* 0x07 */ FMAP_OPEN,
|
||||
/* 0x08 */ FMAP_MOVE,
|
||||
/* 0x09 */ FMAP_CLOSE,
|
||||
/* 0x0A */ DMAP_OPEN,
|
||||
/* 0x0B */ DMAP_MOVE,
|
||||
/* 0x0C */ DMAP_CLOSE,
|
||||
/* 0x0D */ SAVE_OPEN,
|
||||
/* 0x0E */ SAVE_MOVE,
|
||||
/* 0x0F */ SAVE_CLOSE,
|
||||
/* 0x10 */ OPTIONS_OPEN,
|
||||
/* 0x11 */ OPTIONS_MOVE,
|
||||
/* 0x12 */ OPTIONS_CLOSE,
|
||||
/* 0x13 */ LETTER_OPEN,
|
||||
/* 0x14 */ LETTER_MOVE,
|
||||
/* 0x15 */ LETTER_CLOSE,
|
||||
/* 0x16 */ FISHING_OPEN,
|
||||
/* 0x17 */ FISHING_MOVE,
|
||||
/* 0x18 */ FISHING_CLOSE,
|
||||
/* 0x19 */ SKILL_OPEN,
|
||||
/* 0x1A */ SKILL_MOVE,
|
||||
/* 0x1B */ SKILL_CLOSE,
|
||||
/* 0x1C */ INSECT_OPEN,
|
||||
/* 0x1D */ INSECT_MOVE,
|
||||
/* 0x1E */ INSECT_CLOSE,
|
||||
/* 0x1F */ INSECT_AGITHA_OPEN1,
|
||||
/* 0x20 */ INSECT_AGITHA_OPEN2,
|
||||
/* 0x21 */ INSECT_AGITHA_MOVE,
|
||||
/* 0x22 */ INSECT_AGITHA_CLOSE,
|
||||
};
|
||||
|
||||
/* 801FA13C */ void key_wait_init(u8);
|
||||
/* 801FA220 */ void ring_open_init(u8);
|
||||
/* 801FA23C */ void ring_move_init(u8);
|
||||
@@ -94,70 +148,71 @@ public:
|
||||
/* 801FBD80 */ void dMw_capture_create();
|
||||
/* 801FBE14 */ void dMw_capture_delete();
|
||||
/* 801FBE94 */ void dMw_ring_create(u8);
|
||||
/* 801FBF60 */ void dMw_ring_delete();
|
||||
/* 801FBF60 */ bool dMw_ring_delete();
|
||||
/* 801FBFF8 */ void dMw_collect_create();
|
||||
/* 801FC090 */ void dMw_collect_delete(bool);
|
||||
/* 801FC090 */ bool dMw_collect_delete(bool);
|
||||
/* 801FC0FC */ void dMw_fmap_create();
|
||||
/* 801FC264 */ void dMw_fmap_delete(bool);
|
||||
/* 801FC264 */ bool dMw_fmap_delete(bool);
|
||||
/* 801FC350 */ void dMw_dmap_create();
|
||||
/* 801FC46C */ void dMw_dmap_delete(bool);
|
||||
/* 801FC46C */ bool dMw_dmap_delete(bool);
|
||||
/* 801FC520 */ void dMw_save_create();
|
||||
/* 801FC5D0 */ void dMw_save_delete();
|
||||
/* 801FC5D0 */ bool dMw_save_delete();
|
||||
/* 801FC668 */ void dMw_option_create();
|
||||
/* 801FC70C */ void dMw_option_delete();
|
||||
/* 801FC70C */ bool dMw_option_delete();
|
||||
/* 801FC7BC */ void dMw_letter_create();
|
||||
/* 801FC85C */ void dMw_letter_delete();
|
||||
/* 801FC85C */ bool dMw_letter_delete();
|
||||
/* 801FC904 */ void dMw_fishing_create();
|
||||
/* 801FC9A4 */ void dMw_fishing_delete();
|
||||
/* 801FC9A4 */ bool dMw_fishing_delete();
|
||||
/* 801FCA4C */ void dMw_skill_create();
|
||||
/* 801FCAEC */ void dMw_skill_delete();
|
||||
/* 801FCAEC */ bool dMw_skill_delete();
|
||||
/* 801FCB94 */ void dMw_insect_create(u8);
|
||||
/* 801FCC44 */ void dMw_insect_delete();
|
||||
/* 801FCC44 */ bool dMw_insect_delete();
|
||||
/* 801FCCEC */ void dMw_onButtonBit(u8);
|
||||
/* 801FCCFC */ void dMw_offButtonBit(u8);
|
||||
/* 801FCD0C */ void dMw_isButtonBit(u8);
|
||||
/* 801FCD24 */ void dMw_isPush_S_Button();
|
||||
/* 801FCDD8 */ void isPauseReady();
|
||||
/* 801FCE08 */ void dMw_fade_out();
|
||||
/* 801FCE78 */ void dMw_fade_in();
|
||||
/* 801FCEE8 */ void checkCStickTrigger();
|
||||
/* 801FCF84 */ void isEventCheck();
|
||||
/* 801FCD0C */ BOOL dMw_isButtonBit(u8);
|
||||
/* 801FCD24 */ BOOL dMw_isPush_S_Button();
|
||||
/* 801FCDD8 */ bool isPauseReady();
|
||||
/* 801FCE08 */ static void dMw_fade_out();
|
||||
/* 801FCE78 */ static void dMw_fade_in();
|
||||
/* 801FCEE8 */ int checkCStickTrigger();
|
||||
/* 801FCF84 */ bool isEventCheck();
|
||||
/* 801FD094 */ void markMemSize();
|
||||
/* 801FD0D4 */ void checkMemSize();
|
||||
/* 801FD140 */ void _create();
|
||||
/* 801FD2D8 */ void _execute();
|
||||
/* 801FD450 */ void _draw();
|
||||
/* 801FD67C */ void _delete();
|
||||
/* 801FD140 */ int _create();
|
||||
/* 801FD2D8 */ int _execute();
|
||||
/* 801FD450 */ int _draw();
|
||||
/* 801FD67C */ int _delete();
|
||||
|
||||
void onPauseWindow() { mPauseWindow = true; }
|
||||
void offPauseWindow() { mPauseWindow = false; }
|
||||
void onShowFlag() { mShowFlag |= 1; }
|
||||
void offShowFlag() { mShowFlag &= ~1; }
|
||||
bool isShowFlag() { return mShowFlag & 1 != 0; }
|
||||
bool isFadeNowCheck() { return mDoGph_gInf_c::getFader()->getStatus() == 1; }
|
||||
|
||||
private:
|
||||
u8 field_0x0[0x100];
|
||||
/* 0x100 */ void* field_0x100;
|
||||
/* 0x100 */ JKRExpHeap* mpHeap;
|
||||
/* 0x104 */ STControl* mpStick;
|
||||
/* 0x108 */ CSTControl* mpCStick;
|
||||
/* 0x10C */ dDlst_base_c* field_0x10c;
|
||||
/* 0x110 */ dMenu_Ring_c* mRing;
|
||||
/* 0x114 */ dMenu_Collect2D_c* mCollect2D;
|
||||
/* 0x118 */ dMenu_Dmap_c* mDmap;
|
||||
/* 0x11C */ dMenu_Fmap_c* mFmap;
|
||||
/* 0x120 */ dMenu_save_c* mSave;
|
||||
/* 0x124 */ dMenu_Option_c* mOption;
|
||||
/* 0x128 */ dMenu_Letter_c* mLetter;
|
||||
/* 0x12C */ dMenu_Fishing_c* mFishing;
|
||||
/* 0x130 */ dMenu_Skill_c* mSkill;
|
||||
/* 0x134 */ dMenu_Insect_c* mInsect;
|
||||
/* 0x138 */ int field_0x138;
|
||||
/* 0x13C */ u8 field_0x13c[8];
|
||||
/* 0x10C */ dDlst_MENU_CAPTURE_c* mpCapture;
|
||||
/* 0x110 */ dMenu_Ring_c* mpMenuRing;
|
||||
/* 0x114 */ dMenu_Collect_c* mpMenuCollect;
|
||||
/* 0x118 */ dMenu_Dmap_c* mpMenuDmap;
|
||||
/* 0x11C */ dMenu_Fmap_c* mpMenuFmap;
|
||||
/* 0x120 */ dMenu_save_c* mpMenuSave;
|
||||
/* 0x124 */ dMenu_Option_c* mpMenuOption;
|
||||
/* 0x128 */ dMenu_Letter_c* mpMenuLetter;
|
||||
/* 0x12C */ dMenu_Fishing_c* mpMenuFishing;
|
||||
/* 0x130 */ dMenu_Skill_c* mpMenuSkill;
|
||||
/* 0x134 */ dMenu_Insect_c* mpMenuInsect;
|
||||
/* 0x138 */ s32 mMemSize;
|
||||
/* 0x13C */ f32 field_0x13c;
|
||||
/* 0x140 */ f32 field_0x140;
|
||||
/* 0x144 */ u8 field_0x144;
|
||||
/* 0x145 */ u8 mButtons;
|
||||
/* 0x146 */ u8 field_0x146;
|
||||
/* 0x146 */ u8 mMenuStatus;
|
||||
/* 0x147 */ u8 mShowFlag;
|
||||
/* 0x148 */ u8 field_0x148;
|
||||
/* 0x148 */ s8 field_0x148;
|
||||
/* 0x149 */ u8 field_0x149;
|
||||
/* 0x14A */ u8 field_0x14A;
|
||||
/* 0x14B */ u8 field_0x14B;
|
||||
@@ -175,4 +230,12 @@ private:
|
||||
BOOL dMw_LEFT_TRIGGER();
|
||||
BOOL dMw_RIGHT_TRIGGER();
|
||||
|
||||
static int dMw_Draw(dMw_c*);
|
||||
static int dMw_Execute(dMw_c*);
|
||||
static int dMw_IsDelete(dMw_c*);
|
||||
static int dMw_Delete(dMw_c*);
|
||||
static int dMw_Create(msg_class*);
|
||||
|
||||
typedef int (*dMw_Method)(dMw_c*);
|
||||
|
||||
#endif /* D_MENU_D_MENU_WINDOW_H */
|
||||
|
||||
@@ -9,8 +9,7 @@ public:
|
||||
|
||||
/* 801F9E98 */ virtual ~dMw_DHIO_c() {}
|
||||
|
||||
private:
|
||||
/* 0x004 */ u8 field_0x4;
|
||||
/* 0x004 */ s8 field_0x4;
|
||||
/* 0x005 */ bool mMap[32];
|
||||
/* 0x025 */ bool mCompass[32];
|
||||
/* 0x045 */ bool mBossKey[32];
|
||||
@@ -41,8 +40,7 @@ public:
|
||||
|
||||
/* 801F9EE0 */ virtual ~dMw_HIO_c() {}
|
||||
|
||||
private:
|
||||
/* 0x004 */ u8 field_0x4;
|
||||
/* 0x004 */ s8 field_0x4;
|
||||
/* 0x006 */ u16 mLife;
|
||||
/* 0x008 */ u16 mMaxLife;
|
||||
/* 0x00A */ u8 mMagic;
|
||||
|
||||
@@ -5,13 +5,9 @@
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "d/meter/d_meter2_draw.h"
|
||||
#include "d/meter/d_meter_map.h"
|
||||
#include "d/msg/d_msg_class.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class msg_class {
|
||||
public:
|
||||
/* 0x0 */ u8 field_0x0[0x100];
|
||||
};
|
||||
|
||||
class dMeterMap_c;
|
||||
|
||||
class dMeter2_c : public msg_class {
|
||||
|
||||
@@ -112,6 +112,7 @@ public:
|
||||
}
|
||||
u8& getDirectUseItem() { return mDirectUseItem; }
|
||||
dMeterMap_c* getMeterMapClass() { return mMeterMap; }
|
||||
void setMenuWindowClass(dMw_c* p_menu) { mMenuWindowClass = p_menu; }
|
||||
dMw_c* getMenuWindowClass() { return mMenuWindowClass; }
|
||||
void offUseButton(int pButton) { mUseButton &= ~(u16)pButton; }
|
||||
u16 getOilGaugeBackUp() { return mOilGaugeBackUp; }
|
||||
@@ -134,6 +135,10 @@ public:
|
||||
bool isGameStatus(int status) { return mGameStatus & status; }
|
||||
void setMapKeyDirection(u16 direction) { mMapKeyDirection = direction; }
|
||||
bool isSub2DStatus(int flag) { return mSub2DStatus & (1 << flag); }
|
||||
void offMenuInForce(int flag) { unk152 &= ~(1 << flag); }
|
||||
bool isMenuInForce(int flag) { return unk152 & (1 << flag); }
|
||||
u16 getMapKeyDirection() { return mMapKeyDirection; }
|
||||
u8 getWindowStatus() { return mWindowStatus; }
|
||||
|
||||
public:
|
||||
/* 0x04 */ u8 unk4[4];
|
||||
@@ -222,6 +227,7 @@ extern dMeter2Info_c g_meter2_info;
|
||||
|
||||
void dMeter2Info_setSword(u8, bool);
|
||||
void dMeter2Info_set2DVibration();
|
||||
void dMeter2Info_set2DVibrationM();
|
||||
|
||||
inline void dMeter2Info_Initialize() {
|
||||
g_meter2_info.init();
|
||||
@@ -339,4 +345,28 @@ inline bool dMeter2Info_isSub2DStatus(int flag) {
|
||||
return g_meter2_info.isSub2DStatus(flag);
|
||||
}
|
||||
|
||||
inline void dMeter2Info_offMenuInForce(int flag) {
|
||||
g_meter2_info.offMenuInForce(flag);
|
||||
}
|
||||
|
||||
inline bool dMeter2Info_isMenuInForce(int flag) {
|
||||
return g_meter2_info.isMenuInForce(flag);
|
||||
}
|
||||
|
||||
inline void dMeter2Info_setMenuWindowClass(dMw_c* p_menu) {
|
||||
g_meter2_info.setMenuWindowClass(p_menu);
|
||||
}
|
||||
|
||||
inline void dMeter2Info_resetWarpStatus() {
|
||||
g_meter2_info.resetWarpStatus();
|
||||
}
|
||||
|
||||
inline u16 dMeter2Info_getMapKeyDirection() {
|
||||
return g_meter2_info.getMapKeyDirection();
|
||||
}
|
||||
|
||||
inline u8 dMeter2Info_getWindowStatus() {
|
||||
return g_meter2_info.getWindowStatus();
|
||||
}
|
||||
|
||||
#endif /* D_METER_D_METER2_INFO_H */
|
||||
|
||||
@@ -3,4 +3,9 @@
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class msg_class {
|
||||
public:
|
||||
/* 0x0 */ u8 field_0x0[0x100];
|
||||
};
|
||||
|
||||
#endif /* D_MSG_D_MSG_CLASS_H */
|
||||
|
||||
+77
-15
@@ -40,7 +40,7 @@ typedef struct _GXRenderModeObj {
|
||||
u16 vi_height;
|
||||
s32 xfb_mode;
|
||||
u8 field_rendering;
|
||||
u8 antialiasing;
|
||||
bool antialiasing;
|
||||
u8 sample_pattern[12][2];
|
||||
u8 vfilter[7];
|
||||
} GXRenderModeObj;
|
||||
@@ -74,6 +74,21 @@ typedef struct _GXFogAdjTable {
|
||||
/* 0x0 */ u16 r[10];
|
||||
} GXFogAdjTable;
|
||||
|
||||
typedef struct _GXFifoObj {
|
||||
/* 0x00 */ void* base;
|
||||
/* 0x04 */ u32 end;
|
||||
/* 0x08 */ u32 size;
|
||||
/* 0x0C */ u32 high_wtrmark;
|
||||
/* 0x10 */ u32 low_wtrmark;
|
||||
/* 0x14 */ void* read_ptr;
|
||||
/* 0x18 */ void* write_ptr;
|
||||
/* 0x1C */ void* rw_dst;
|
||||
/* 0x20 */ u8 fifo_wrap;
|
||||
/* 0x21 */ bool cpu_fifo_ready;
|
||||
/* 0x22 */ bool gp_fifo_ready;
|
||||
/* 0x23 */ u8 field_0x23[93];
|
||||
} GXFifoObj; // Size: 0x80
|
||||
|
||||
typedef enum _GXPrimitive {
|
||||
/* 0x80 */ GX_QUADS = 0x80,
|
||||
/* 0x90 */ GX_TRIANGLES = 0x90,
|
||||
@@ -416,9 +431,15 @@ typedef enum _GXTexFmt {
|
||||
/* 0x8 */ GX_TF_CI8,
|
||||
/* 0x9 */ GX_TF_CI14,
|
||||
/* 0xE */ GX_TF_CMPR = 14,
|
||||
|
||||
/* 0x10 */ _GX_TF_ZTF = 0x10,
|
||||
/* 0x20 */ _GX_TF_CTF = 0x20
|
||||
/* 0x11 */ GX_TF_Z8 = (0x1 | _GX_TF_ZTF),
|
||||
/* 0x13 */ GX_TF_Z16 = (0x3 | _GX_TF_ZTF),
|
||||
/* 0x16 */ GX_TF_Z24X8 = (0x6 | _GX_TF_ZTF),
|
||||
/* 0x20 */ _GX_TF_CTF = 0x20,
|
||||
/* 0x30 */ GX_CTF_Z4 = (0x0 | _GX_TF_ZTF | _GX_TF_CTF),
|
||||
/* 0x39 */ GX_CTF_Z8M = (0x9 | _GX_TF_ZTF | _GX_TF_CTF),
|
||||
/* 0x3A */ GX_CTF_Z8L = (0xA | _GX_TF_ZTF | _GX_TF_CTF),
|
||||
/* 0x3C */ GX_CTF_Z16L = (0xC | _GX_TF_ZTF | _GX_TF_CTF),
|
||||
} GXTexFmt;
|
||||
|
||||
typedef enum _GXGamma {
|
||||
@@ -470,16 +491,6 @@ typedef enum _GXTexFmt8 {
|
||||
/* 0x2C */ GX_CTF_GB8 = (0xC | _GX_TF_CTF),
|
||||
} GXTexFmt8;
|
||||
|
||||
typedef enum _GXZTexFmt {
|
||||
/* 0x11 */ GX_TF_Z8 = (0x1 | _GX_TF_ZTF),
|
||||
/* 0x13 */ GX_TF_Z16 = (0x3 | _GX_TF_ZTF),
|
||||
/* 0x16 */ GX_TF_Z24X8 = (0x6 | _GX_TF_ZTF),
|
||||
/* 0x30 */ GX_CTF_Z4 = (0x0 | _GX_TF_ZTF | _GX_TF_CTF),
|
||||
/* 0x39 */ GX_CTF_Z8M = (0x9 | _GX_TF_ZTF | _GX_TF_CTF),
|
||||
/* 0x3A */ GX_CTF_Z8L = (0xA | _GX_TF_ZTF | _GX_TF_CTF),
|
||||
/* 0x3C */ GX_CTF_Z16L = (0xC | _GX_TF_ZTF | _GX_TF_CTF),
|
||||
} GXZTexFmt;
|
||||
|
||||
typedef enum _GXTexWrapMode {
|
||||
/* 0x0 */ GX_CLAMP,
|
||||
/* 0x1 */ GX_REPEAT,
|
||||
@@ -816,6 +827,30 @@ typedef struct _GXVtxDescList {
|
||||
GXAttrType type;
|
||||
} GXVtxDescList;
|
||||
|
||||
typedef enum _GXFBClamp {
|
||||
/* 0x0 */ GX_CLAMP_NONE,
|
||||
/* 0x1 */ GX_CLAMP_TOP,
|
||||
/* 0x2 */ GX_CLAMP_BOTTOM,
|
||||
} GXFBClamp;
|
||||
|
||||
typedef enum _GXPixelFmt {
|
||||
/* 0x0 */ GX_PF_RGB8_Z24,
|
||||
/* 0x1 */ GX_PF_RGBA6_Z24,
|
||||
/* 0x2 */ GX_PF_RGB565_Z16,
|
||||
/* 0x3 */ GX_PF_Z24,
|
||||
/* 0x4 */ GX_PF_Y8,
|
||||
/* 0x5 */ GX_PF_U8,
|
||||
/* 0x6 */ GX_PF_V8,
|
||||
/* 0x7 */ GX_PF_YUV420,
|
||||
} GXPixelFmt;
|
||||
|
||||
typedef enum _GXZFmt16 {
|
||||
/* 0x0 */ GX_ZC_LINEAR,
|
||||
/* 0x1 */ GX_ZC_NEAR,
|
||||
/* 0x2 */ GX_ZC_MID,
|
||||
/* 0x3 */ GX_ZC_FAR,
|
||||
} GXZFmt16;
|
||||
|
||||
extern "C" {
|
||||
f32 GXGetYScaleFactor(u16 efb_height, u16 xfb_height);
|
||||
u16 GXGetNumXfbLines(u32 efb_height, f32 y_scale);
|
||||
@@ -852,6 +887,14 @@ void GXSetDrawDoneCallback(GXDrawDoneCallback);
|
||||
void GXDrawDone(void);
|
||||
void GXAbortFrame(void);
|
||||
void GXFlush(void);
|
||||
void GXSetCopyClear(GXColor, u32);
|
||||
void GXSetDispCopySrc(u16, u16, u16, u16);
|
||||
void GXSetDispCopyDst(u16, u16);
|
||||
u32 GXSetDispCopyYScale(f32);
|
||||
void GXSetCopyClamp(GXFBClamp);
|
||||
void GXSetDispCopyGamma(GXGamma);
|
||||
void GXCopyDisp(void*, GXBool);
|
||||
void GXSetPixelFmt(GXPixelFmt, GXZFmt16);
|
||||
|
||||
struct OSThread;
|
||||
OSThread* GXSetCurrentGXThread(void);
|
||||
@@ -898,7 +941,7 @@ void GXSetTexCopySrc(u16, u16, u16, u16);
|
||||
void GXSetViewport(f32, f32, f32, f32, f32, f32);
|
||||
void GXSetZCompLoc(GXBool);
|
||||
void GXSetZMode(GXBool, GXCompare, GXBool);
|
||||
void GXSetZTexture(GXZTexOp, GXZTexFmt, u32);
|
||||
void GXSetZTexture(GXZTexOp, GXTexFmt, u32);
|
||||
void GXSetPointSize(u8, GXTexOffset);
|
||||
void GXSetLineWidth(u8, GXTexOffset);
|
||||
void GXSetTevDirect(GXTevStageID);
|
||||
@@ -909,6 +952,16 @@ void GXSetIndTexMtx(GXIndTexMtxID, Mtx23, s8);
|
||||
void GXSetIndTexCoordScale(GXIndTexStageID, GXIndTexScale, GXIndTexScale);
|
||||
void GXSetIndTexOrder(GXIndTexStageID, GXTexCoordID, GXTexMapID);
|
||||
void GXEnableTexOffsets(GXTexCoordID, GXBool, GXBool);
|
||||
void GXSetDstAlpha(GXBool, u8);
|
||||
u32 GXGetFifoSize(GXFifoObj*);
|
||||
void* GXGetFifoBase(GXFifoObj*);
|
||||
GXFifoObj* GXInit(void*, u32);
|
||||
GXFifoObj* GXGetCPUFifo(void);
|
||||
void GXGetGPStatus(GXBool*, GXBool*, GXBool*, GXBool*, GXBool*);
|
||||
void GXReadXfRasMetric(u32*, u32*, u32*, u32*);
|
||||
void GXInitFifoBase(GXFifoObj*, void*, u32);
|
||||
void GXInitFifoPtrs(GXFifoObj*, void*, void*);
|
||||
void GXSaveCPUFifo(GXFifoObj*);
|
||||
|
||||
#define GFX_FIFO(T) (*(volatile T*)0xCC008000)
|
||||
|
||||
@@ -927,8 +980,17 @@ inline void GXTexCoord2f32(f32 s, f32 t) {
|
||||
GFX_FIFO(f32) = t;
|
||||
}
|
||||
|
||||
inline void GXEnd() {}
|
||||
inline void GXTexCoord2u8(u8 s, u8 t) {
|
||||
GFX_FIFO(u8) = s;
|
||||
GFX_FIFO(u8) = t;
|
||||
}
|
||||
|
||||
inline void GXPosition2u16(u16 x, u16 y) {
|
||||
GFX_FIFO(u16) = x;
|
||||
GFX_FIFO(u16) = y;
|
||||
}
|
||||
|
||||
inline void GXEnd() {}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -131,6 +131,23 @@ struct OSThread {
|
||||
void* data[2];
|
||||
};
|
||||
|
||||
struct OSAlarm;
|
||||
struct OSAlarmLink {
|
||||
/* 0x0 */ OSAlarm* prev;
|
||||
/* 0x4 */ OSAlarm* next;
|
||||
};
|
||||
|
||||
typedef void (*OSAlarmHandler)(OSAlarm*, OSContext*);
|
||||
|
||||
struct OSAlarm {
|
||||
/* 0x00 */ OSAlarmHandler handler;
|
||||
/* 0x04 */ u32 tag;
|
||||
/* 0x08 */ OSTime fire_time;
|
||||
/* 0x10 */ OSAlarmLink link;
|
||||
/* 0x18 */ OSTime period_time;
|
||||
/* 0x20 */ OSTime start_time;
|
||||
}; // Size: 0x28
|
||||
|
||||
extern "C" {
|
||||
s32 OSEnableScheduler(void);
|
||||
s32 OSDisableScheduler(void);
|
||||
@@ -206,6 +223,10 @@ void OSReportInit__Fv(void); // needed for inline asm
|
||||
|
||||
u8* OSGetStackPointer(void);
|
||||
|
||||
void OSCreateAlarm(OSAlarm*);
|
||||
void OSCancelAlarm(OSAlarm*);
|
||||
void OSSetAlarm(OSAlarm*, OSTime, OSAlarmHandler);
|
||||
|
||||
inline s16 __OSf32tos16(register f32 inF) {
|
||||
register s16 out;
|
||||
u32 tmp;
|
||||
|
||||
@@ -7,5 +7,6 @@
|
||||
typedef int (*fopMsgCreateFunc)(void*);
|
||||
|
||||
JKRExpHeap* fopMsgM_createExpHeap(u32, JKRHeap*);
|
||||
void fopMsgM_setStageLayer(void*);
|
||||
|
||||
#endif
|
||||
@@ -176,6 +176,7 @@ JKRSolidHeap* mDoExt_createSolidHeapToCurrent(u32, JKRHeap*, u32);
|
||||
JKRSolidHeap* mDoExt_createSolidHeapFromGameToCurrent(u32, u32);
|
||||
JKRSolidHeap* mDoExt_createSolidHeapFromGameToCurrent(JKRHeap**, u32, u32);
|
||||
JKRHeap* mDoExt_getCurrentHeap();
|
||||
void mDoExt_removeMesgFont();
|
||||
|
||||
extern JKRExpHeap* zeldaHeap;
|
||||
extern JKRExpHeap* gameHeap;
|
||||
|
||||
@@ -1,8 +1,49 @@
|
||||
#ifndef M_DO_M_DO_GRAPHIC_H
|
||||
#define M_DO_M_DO_GRAPHIC_H
|
||||
|
||||
#include "JSystem/JFramework/JFWDisplay.h"
|
||||
#include "JSystem/JUtility/JUTFader.h"
|
||||
#include "dolphin/gx/GX.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
void mDoGph_Create();
|
||||
|
||||
class mDoGph_gInf_c {
|
||||
public:
|
||||
class bloom_c {
|
||||
public:
|
||||
/* 80009544 */ void create();
|
||||
/* 800095F8 */ void remove();
|
||||
/* 80009650 */ void draw();
|
||||
};
|
||||
|
||||
/* 80007E44 */ void create();
|
||||
/* 80007F90 */ void beginRender();
|
||||
/* 800080D0 */ void fadeOut(f32);
|
||||
/* 80007FD8 */ void fadeOut(f32, _GXColor&);
|
||||
/* 80008028 */ void fadeOut_f(f32, _GXColor&);
|
||||
/* 800080A0 */ void onBlure(f32 const (*)[4]);
|
||||
/* 80008078 */ void onBlure();
|
||||
/* 80008330 */ void calcFade();
|
||||
|
||||
static JUTFader* getFader() { return mFader; }
|
||||
static int startFadeOut(int param_0) { return JFWDisplay::getManager()->startFadeOut(param_0); }
|
||||
static int startFadeIn(int param_0) { return JFWDisplay::getManager()->startFadeIn(param_0); }
|
||||
static void setFadeColor(JUtility::TColor color) { mFader->setColor(color); }
|
||||
|
||||
static u8 mFrameBufferTexObj[32];
|
||||
static u8 mZbufferTexObj[32];
|
||||
static u8 m_bloom[20];
|
||||
static u8 mBlureMtx[48 + 4 /* padding */];
|
||||
static u8 mBackColor[4];
|
||||
static u8 mFadeColor[4];
|
||||
static JUTFader* mFader;
|
||||
static u8 mFrameBufferTimg[4];
|
||||
static u8 mFrameBufferTex[4];
|
||||
static u8 mZbufferTimg[4];
|
||||
static u8 mZbufferTex[4];
|
||||
static f32 mFadeRate;
|
||||
static f32 mFadeSpeed;
|
||||
};
|
||||
|
||||
#endif /* M_DO_M_DO_GRAPHIC_H */
|
||||
|
||||
Reference in New Issue
Block a user