daPy_lk_c::dProcTool and daDemo00_c::execute matched, fix up various inlines and template classes, stb OK

This commit is contained in:
LagoLunatic
2025-06-17 22:30:17 -04:00
parent bc2f5c8fd0
commit 3d0aff6a84
35 changed files with 492 additions and 183 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ public:
virtual void draw();
s32 getStatus() const { return mStatus; }
void setColor(JUtility::TColor& color) { mColor.set(color); }
void setColor(JUtility::TColor color) { mColor.set(color); }
/* 0x04 */ s32 mStatus;
/* 0x08 */ u16 mFadeTime;
+4 -1
View File
@@ -27,7 +27,10 @@ struct TColor : public GXColor {
}
void set(u32 u32Color) { *(u32*)&r = u32Color; }
void set(GXColor gxColor) { *(GXColor*)&r = gxColor; }
void set(GXColor gxColor) {
GXColor* temp = this;
*temp = gxColor;
}
};
} // namespace JUtility