summaryrefslogtreecommitdiff
path: root/include/m/m3d/m_anmshp.h
blob: 2a20139987df57608b067b375790a32b189a03cb (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 M_M3D_ANMSHP_H
#define M_M3D_ANMSHP_H

#include "common.h"
#include "m/m3d/m_bmdl.h"
#include "m/m3d/m_fanm.h"
#include "nw4r/g3d/res/g3d_resanmshp.h"

namespace m3d {

class anmShp_c : public fanm_c {
public:
    virtual ~anmShp_c();

    virtual int getType() const override;

    bool create(nw4r::g3d::ResMdl, nw4r::g3d::ResAnmShp, mAllocator_c *, u32 *);
    void setAnm(m3d::bmdl_c &, nw4r::g3d::ResAnmShp, m3d::playMode_e);
    void setFrmCtrlDefault(nw4r::g3d::ResAnmShp &, m3d::playMode_e);
};

} // namespace m3d

#endif