mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-29 16:14:54 -04:00
d_stage linked and one function in m_do_ext matched (#2272)
This commit is contained in:
@@ -99,6 +99,10 @@ volatile PPCWGPipe GXWGFifo AT_ADDRESS(GXFIFO_ADDR);
|
||||
GX_XF_LOAD_REG_HDR(cmd); \
|
||||
}
|
||||
|
||||
static inline void GXNormal1x16(const u16 x) {
|
||||
GXWGFifo.u16 = x;
|
||||
}
|
||||
|
||||
static inline void GXPosition3f32(const f32 x, const f32 y, const f32 z) {
|
||||
GXWGFifo.f32 = x;
|
||||
GXWGFifo.f32 = y;
|
||||
@@ -145,6 +149,10 @@ static inline void GXTexCoord1x8(const u8 s) {
|
||||
GXWGFifo.u8 = s;
|
||||
}
|
||||
|
||||
static inline void GXTexCoord1x16(const u16 s) {
|
||||
GXWGFifo.u16 = s;
|
||||
}
|
||||
|
||||
static inline void GXPosition2u16(const u16 x, const u16 y) {
|
||||
GXWGFifo.u16 = x;
|
||||
GXWGFifo.u16 = y;
|
||||
|
||||
@@ -526,18 +526,18 @@ public:
|
||||
/* 800134F8 */ void setMaterial();
|
||||
/* 800135D0 */ void draw();
|
||||
|
||||
cXyz* getPos(int i_idx) { return field_0x38[i_idx].field_0x0; }
|
||||
f32* getSize(int i_idx) { return field_0x38[i_idx].field_0x4; }
|
||||
cXyz* getPos(int i_idx) { return mpLines[i_idx].field_0x0; }
|
||||
f32* getSize(int i_idx) { return mpLines[i_idx].field_0x4; }
|
||||
|
||||
private:
|
||||
/* 0x08 */ GXTexObj field_0x8;
|
||||
/* 0x28 */ GXColor field_0x28;
|
||||
/* 0x2C */ dKy_tevstr_c* field_0x2c;
|
||||
/* 0x30 */ u16 field_0x30;
|
||||
/* 0x08 */ GXTexObj mTextureObject;
|
||||
/* 0x28 */ GXColor mColor;
|
||||
/* 0x2C */ dKy_tevstr_c* mpTevStr;
|
||||
/* 0x30 */ u16 mNumLines;
|
||||
/* 0x32 */ u16 field_0x32;
|
||||
/* 0x34 */ u16 field_0x34;
|
||||
/* 0x36 */ u8 field_0x36;
|
||||
/* 0x38 */ mDoExt_3Dline_c* field_0x38;
|
||||
/* 0x36 */ u8 mIsDrawn;
|
||||
/* 0x38 */ mDoExt_3Dline_c* mpLines;
|
||||
};
|
||||
|
||||
class mDoExt_3DlineMat0_c : public mDoExt_3DlineMat_c {
|
||||
|
||||
Reference in New Issue
Block a user