summaryrefslogtreecommitdiff
path: root/include/JSystem
diff options
context:
space:
mode:
Diffstat (limited to 'include/JSystem')
-rw-r--r--include/JSystem/J3DGraphAnimator/J3DNode.h4
-rw-r--r--include/JSystem/J3DGraphBase/J3DMaterial.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/include/JSystem/J3DGraphAnimator/J3DNode.h b/include/JSystem/J3DGraphAnimator/J3DNode.h
index ec8a783d..954fde89 100644
--- a/include/JSystem/J3DGraphAnimator/J3DNode.h
+++ b/include/JSystem/J3DGraphAnimator/J3DNode.h
@@ -10,10 +10,10 @@ typedef int (*J3DNodeCallBack)(J3DNode*, int);
class J3DNode {
public:
virtual void init(J3DModelData*) {}
- virtual void entryIn();
+ virtual void entryIn() {}
virtual void calcIn() {}
virtual void calcOut() {}
- virtual u32 getType() const;
+ virtual u32 getType() const { return 'NNON'; }
virtual ~J3DNode();
J3DNode();
diff --git a/include/JSystem/J3DGraphBase/J3DMaterial.h b/include/JSystem/J3DGraphBase/J3DMaterial.h
index 7bc64fce..7ecda53c 100644
--- a/include/JSystem/J3DGraphBase/J3DMaterial.h
+++ b/include/JSystem/J3DGraphBase/J3DMaterial.h
@@ -42,6 +42,7 @@ public:
virtual void change();
J3DMaterial* getNext() const { return mNext; }
+ void setNext(J3DMaterial* material) {mNext = material; }
J3DShape* getShape() const { return mShape; }
u32 getMaterialMode() { return mMaterialMode; }
void setMaterialMode(u32 mode) { mMaterialMode = mode; }