mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-09 02:45:45 -04:00
d_a_obj_figure done except linkDraw regalloc
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user