A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
DrawMdl.hh
1#pragma once
2
3#include "game/render/AnmMgr.hh"
4
5namespace Render {
6
7class DrawMdl {
8public:
9 DrawMdl() : m_anmMgr(nullptr) {}
10
11 ~DrawMdl() {
12 delete m_anmMgr;
13 }
14
15 void linkAnims(size_t idx, const Abstract::g3d::ResFile *resFile, const char *name,
16 AnmType anmType);
17
18 [[nodiscard]] AnmMgr *anmMgr() {
19 return m_anmMgr;
20 }
21
22private:
23 AnmMgr *m_anmMgr;
24};
25
26} // namespace Render
Represents a binary resource file which contains object models, textures, and animations.
Definition ResFile.hh:15
Pertains to rendering the kart model.