summaryrefslogtreecommitdiff
path: root/include/JSystem/J3DGraphBase/J3DShapeDraw.h
blob: 2293fd6337cc1385d7c401b9346bebfd703197f4 (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
#ifndef J3DSHAPEDRAW_H
#define J3DSHAPEDRAW_H

#include "dolphin/types.h"

class J3DShapeDraw {
public:
    /* 80314924 */ u32 countVertex(u32);
    /* 80314974 */ void addTexMtxIndexInDL(u32, u32, u32);
    /* 80314ABC */ J3DShapeDraw(u8 const*, u32);
    /* 80314AD4 */ void draw() const;

    /* 80314B00 */ virtual ~J3DShapeDraw();

    u8* getDisplayList() const { return (u8*)mDisplayList; }
    u32 getDisplayListSize() const { return mDisplayListSize; }
    void setDisplayListSize(u32 size) { mDisplayListSize = size; }

private:
    /* 0x04 */ u32 mDisplayListSize;
    /* 0x08 */ void* mDisplayList;
};

#endif /* J3DSHAPEDRAW_H */