diff options
| author | Caroline Madsen <69010899+randomsalience@users.noreply.github.com> | 2024-10-19 04:54:40 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-19 11:54:40 +0300 |
| commit | 69dc7cbbf15ece9533ca6afc85f9500ba1b2647b (patch) | |
| tree | a8ff6e3f3f5113d2185100af36df67c9e568d0d1 /include/JSystem/J3DGraphBase | |
| parent | 0652b2c7b3722e40ded1a34f8846b8ae9d8fa4eb (diff) | |
d_a_b_yo and d_a_b_yo_ice mostly OK (#2219)
Diffstat (limited to 'include/JSystem/J3DGraphBase')
| -rw-r--r-- | include/JSystem/J3DGraphBase/J3DMatBlock.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DMatBlock.h b/include/JSystem/J3DGraphBase/J3DMatBlock.h index 9f149bf4a7..18e7c7ec19 100644 --- a/include/JSystem/J3DGraphBase/J3DMatBlock.h +++ b/include/JSystem/J3DGraphBase/J3DMatBlock.h @@ -654,6 +654,10 @@ struct J3DZMode { mZModeID = calcZModeID(i_compare, j3dZModeTable[mZModeID * 3 + 1], j3dZModeTable[mZModeID * 3 + 2]); } + void setFunc(u8 i_func) { + mZModeID = calcZModeID(j3dZModeTable[mZModeID * 3], i_func, j3dZModeTable[mZModeID * 3 + 2]); + } + void setUpdateEnable(u8 i_enable) { mZModeID = calcZModeID(j3dZModeTable[mZModeID * 3], j3dZModeTable[mZModeID * 3 + 1], i_enable); } @@ -693,6 +697,7 @@ struct J3DBlend : public J3DBlendInfo { J3DBlend() : J3DBlendInfo(j3dDefaultBlendInfo) {} J3DBlend(J3DBlendInfo const& info) : J3DBlendInfo(info) {} + void setType(u8 i_type) { mType = i_type; } void setDstFactor(u8 i_factor) { mDstFactor = i_factor; } GXBlendMode getBlendMode() const { return (GXBlendMode)mType; } |
