diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2023-03-18 15:25:47 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-18 16:25:47 -0600 |
| commit | 721880831e114f08756ffd846ab69cd0d729863c (patch) | |
| tree | 7273cc72e0c52c51b75abffeda833f1199375be7 /src/d/d_scope.cpp | |
| parent | 808032a02bdf884f30adaa01d47270fb60dd1c31 (diff) | |
d_meter2 mostly complete (#310)
* d_meter2 mostly complete
* remove asm
Diffstat (limited to 'src/d/d_scope.cpp')
| -rw-r--r-- | src/d/d_scope.cpp | 55 |
1 files changed, 2 insertions, 53 deletions
diff --git a/src/d/d_scope.cpp b/src/d/d_scope.cpp index 3b7d2ec08e..5f9bee44e7 100644 --- a/src/d/d_scope.cpp +++ b/src/d/d_scope.cpp @@ -9,57 +9,6 @@ #include "dol2asm.h" // -// Types: -// - -class dScope_c : public dMeterSub_c { -public: - enum { - /* 0 */ PROC_OPEN, - /* 1 */ PROC_MOVE, - /* 2 */ PROC_CLOSE, - }; - - /* 80193690 */ dScope_c(u8); - /* 80193FB4 */ void open_init(); - /* 80193FD0 */ void open_proc(); - /* 80194048 */ void move_init(); - /* 8019404C */ void move_proc(); - /* 80194050 */ void close_init(); - /* 80194054 */ void close_proc(); - - /* 80193C68 */ virtual void draw(); - /* 8019396C */ virtual ~dScope_c(); - /* 80193B90 */ virtual int _execute(u32); - /* 80193FA0 */ virtual int isDead(); - - /* 0x04 */ J2DScreen* mHawkEyeScrn; - /* 0x08 */ J2DScreen* mZoomInOutScrn; - /* 0x0C */ CPaneMgr* mHawkEyeRootPane; - /* 0x10 */ CPaneMgr* mZoomInOutRootPane; - /* 0x14 */ CPaneMgr* mHawkEyePanes[3]; - /* 0x20 */ CPaneMgr* mZoomInOutPanes[3][2]; - /* 0x38 */ J2DPicture* mpWipeTex; - /* 0x3C */ J2DPicture* mpBlackTex; - /* 0x40 */ u8 field_0x40[0x48 - 0x40]; - /* 0x48 */ JUtility::TColor field_0x48[2]; - /* 0x50 */ JUtility::TColor field_0x50[2]; - /* 0x58 */ u32 field_0x58; - /* 0x5C */ u32 field_0x5c; - /* 0x60 */ u8 field_0x60[0x78 - 0x60]; - /* 0x78 */ f32 mWidth; - /* 0x7C */ f32 mHeight; - /* 0x80 */ f32 mScale; - /* 0x84 */ f32 mAlpha; - /* 0x88 */ s16 mOpenTimer; - /* 0x8A */ s16 field_0x8a; - /* 0x8C */ u8 mProcess; - /* 0x8D */ u8 field_0x8d; - /* 0x8E */ u8 mIsDead; - /* 0x8F */ u8 field_0x8f; -}; - -// // Forward References: // @@ -339,8 +288,8 @@ extern "C" asm void draw__8dScope_cFv() { #endif /* 80193FA0-80193FB4 18E8E0 0014+00 1/0 0/0 0/0 .text isDead__8dScope_cFv */ -int dScope_c::isDead() { - return mIsDead != false; +bool dScope_c::isDead() { + return mIsDead != false ? 1 : 0; } /* 80193FB4-80193FD0 18E8F4 001C+00 1/0 0/0 0/0 .text open_init__8dScope_cFv */ |
