SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
ModelObj.hpp
1#pragma once
2
3#include "Game/LiveActor/ActorJointCtrl.hpp"
4#include "Game/LiveActor/LiveActor.hpp"
5#include "Game/LiveActor/LodCtrl.hpp"
6
7class ModelObj : public LiveActor {
8public:
9 ModelObj(const char *, const char *, MtxPtr, int, int, int, bool);
10
11 virtual ~ModelObj();
12 virtual void init(const JMapInfoIter &);
13
14 virtual void calcAndSetBaseMtx();
15
16 MtxPtr mMtx; // _8C
17};
18
19class ModelObjNpc : public LiveActor {
20public:
21 ModelObjNpc(const char *, const char *, MtxPtr);
22
23 virtual ~ModelObjNpc();
24 virtual void init(const JMapInfoIter &);
25 virtual void control();
26 virtual void calcAndSetBaseMtx();
27
28 MtxPtr mMtx; // _8C
29 LodCtrl* mLODCtrl; // _90
30 ActorJointCtrl* mJointCtrl; // _94
31};
The basis of a drawable actor that can contain states (see: Nerve)
Definition LiveActor.hpp:24
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
Definition ModelObj.cpp:29
virtual void calcAndSetBaseMtx()
Calculates and sets the base matrix of the actor.
Definition ModelObj.cpp:33
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
Definition ModelObj.cpp:48
virtual void calcAndSetBaseMtx()
Calculates and sets the base matrix of the actor.
Definition ModelObj.cpp:54