move d_a_itembase_static / d_a_item_static / Z2StatusMgr (#123)

* move d_a_itembase_static

* move d_a_item_static

* moved Z2StatusMgr

* clang

* fixes

* clang?

* move d_save

* move d_meter2_info

* some d_meter2_info fixes

* move most d_a_player

* move d_bg_s stuff

* move c_cc_s stuff

* move d_cc stuff

* move d_attention / d_event / d_stage
This commit is contained in:
TakaRikka
2021-05-02 10:13:14 -07:00
committed by GitHub
parent a9c78b5b0b
commit 2f4904dae2
234 changed files with 5861 additions and 6762 deletions
+21
View File
@@ -3,4 +3,25 @@
#include "dolphin/types.h"
struct _GXColor {
void operator=(const _GXColor& rhs) {
r = rhs.r;
g = rhs.g;
b = rhs.b;
a = rhs.a;
}
u8 r;
u8 g;
u8 b;
u8 a;
};
struct GXColorS10 {
s16 r;
s16 g;
s16 b;
s16 a;
};
#endif /* GXTEXTURE_H */
+10
View File
@@ -3,4 +3,14 @@
#include "dolphin/types.h"
struct Vec {
float x, y, z;
float GetX() const { return x; }
float GetY() const { return y; }
float GetZ() const { return z; }
float getXDiff(const Vec* other) const { return x - other->x; }
float getYDiff(const Vec* other) const { return y - other->y; }
float getZDiff(const Vec* other) const { return z - other->z; }
};
#endif /* VEC_H */