summaryrefslogtreecommitdiff
path: root/include/m/m3d/m_smdl.h
blob: 3d9f974199a3c277ea79861de69f3077309024f7 (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
#ifndef M3D_M_SMDL_H
#define M3D_M_SMDL_H

#include "m/m3d/m_bmdl.h"
#include "m/m3d/m_scnleaf.h"
#include "nw4r/g3d.h" // IWYU pragma: export

class UnkClass2 {};

namespace m3d {

class smdl_c : public bmdl_c, UnkClass2 {
public:
    smdl_c();
    virtual ~smdl_c();

    bool create(nw4r::g3d::ResMdl mdl, mAllocator_c *alloc, u32 bufferOption, int nView, u32 *pSize);
    bool create(nw4r::g3d::ResMdl mdl, mAllocator_c *alloc, u32 bufferOption) {
        return create(mdl, alloc, bufferOption, 1, nullptr);
    }
};

} // namespace m3d

#endif