Skip to content

Commit 4e3b9e6

Browse files
daft7escape209
authored andcommitted
xHudFontMeter Progress (bfbbdecomp#648)
* xHudFontMeter overhead * Method for converting color32u to iColor_tag * Generally okay matches for xHudFontMeter * Seeing if it builds with new commented out * Other build fix (thanks Sway) * Revert, this was fine * My redefinition of the load method was breaking things. Reverted and method commented to be a stub. * Square tweaks Work DO NOT PR xEntBoulder progress xEntBoulder progress Mostly match xEntBoulder_Update Match more stuff
1 parent 4f84754 commit 4e3b9e6

File tree

5 files changed

+1388
-21
lines changed

5 files changed

+1388
-21
lines changed

src/SB/Core/gc/iColor.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#define ICOLOR_H
33

44
#include <types.h>
5+
#include <xHud.h>
56

67
struct iColor_tag
78
{
@@ -18,6 +19,16 @@ struct iColor_tag
1819
this->a = rhs.a;
1920
return *this;
2021
};
22+
23+
// Conversion constructor instead?
24+
iColor_tag& operator=(const xhud::color32u& rhs)
25+
{
26+
this->r = rhs.r;
27+
this->g = rhs.g;
28+
this->b = rhs.b;
29+
this->a = rhs.a;
30+
return *this;
31+
};
2132
};
2233

2334
#endif

0 commit comments

Comments
 (0)