mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-21 14:07:29 -04:00
daPy_lk_c::dProcTool and daDemo00_c::execute matched, fix up various inlines and template classes, stb OK
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user