d_a_obj_figure done except linkDraw regalloc

This commit is contained in:
LagoLunatic
2024-07-10 11:25:00 -04:00
parent 17a7656450
commit 635a1fd052
5 changed files with 94 additions and 84 deletions
+7 -2
View File
@@ -594,13 +594,13 @@ struct J3DBlend : public J3DBlendInfo {
J3DBlend() { *(J3DBlendInfo*)this = j3dDefaultBlendInfo; }
explicit J3DBlend(const J3DBlendInfo& info) { *(J3DBlendInfo*)this = info; }
GXBlendMode getBlendMode() const { return (GXBlendMode)mBlendMode; }
GXBlendMode getType() const { return (GXBlendMode)mBlendMode; }
GXBlendFactor getSrcFactor() const { return (GXBlendFactor)mSrcFactor; }
GXBlendFactor getDstFactor() const { return (GXBlendFactor)mDstFactor; }
GXLogicOp getLogicOp() const { return (GXLogicOp)mLogicOp; }
void load(u8 ditherEnable) {
J3DGDSetBlendMode(getBlendMode(), getSrcFactor(), getDstFactor(), getLogicOp(), ditherEnable);
J3DGDSetBlendMode(getType(), getSrcFactor(), getDstFactor(), getLogicOp(), ditherEnable);
}
void setType(u8 i_type) {
@@ -614,6 +614,11 @@ struct J3DBlend : public J3DBlendInfo {
void setDstFactor(u8 i_dst) {
mDstFactor = i_dst;
}
void getOp() const {}
// void operator=(const J3DBlend&) {}
// void operator==(J3DBlend&) {}
void setBlendInfo(const J3DBlendInfo&) {}
};
extern const J3DFogInfo j3dDefaultFogInfo;