blob: 426866afeac68c58b2fc52bc86fe8cac98a4ea7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef J3DSHAPETABLE_H
#define J3DSHAPETABLE_H
#include "JSystem/J3DGraphBase/J3DShape.h"
#include "dolphin/types.h"
class JUTNameTab;
// TODO: This class doesn't seem to exist in the debug maps, probably copied from TP. Remove?
class J3DShapeTable {
public:
inline void clear() {
mShapeNum = 0;
mShapeNodePointer = NULL;
}
u16 getShapeNum() const { return mShapeNum; }
J3DShape* getShapeNodePointer(u16 idx) const { return mShapeNodePointer[idx]; }
private:
friend class J3DModelLoader;
friend class J3DModelData;
/* 0x0 */ u16 mShapeNum;
/* 0x4 */ J3DShape** mShapeNodePointer;
}; // Size: 0x08
#endif /* J3DSHAPETABLE_H */
|