SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
VolumeModelDrawer Class Reference
Inheritance diagram for VolumeModelDrawer:
NameObj

Public Member Functions

 VolumeModelDrawer (const char *, const char *, MtxPtr)
 
virtual void draw () const
 Draws the object. Does nothing until overridden.
 
void loadModelDrawMtx () const
 
- Public Member Functions inherited from NameObj
 NameObj (const char *pName)
 Constructs a new NameObj instance.
 
virtual void init (const JMapInfoIter &rIter)
 Intializes the NameObj and can set various settings and construct necessary classes.
 
virtual void initAfterPlacement ()
 
virtual void movement ()
 
virtual void calcAnim ()
 
virtual void calcViewAndEntry ()
 
void initWithoutIter ()
 Initializes a NameObj without a JMapInfoIter instance.
 
void setName (const char *pName)
 Sets the NameObj's mName.
 
void executeMovement ()
 
void requestSuspend ()
 
void requestResume ()
 
void syncWithFlags ()
 

Public Attributes

MtxPtr mMtx
 
J3DModelData * mModelData
 
_GXColor mColor
 
- Public Attributes inherited from NameObj
const char * mName
 A string to identify the NameObj.
 
volatile u16 mFlags
 Flags in relation to movement.
 
s16 mExecutorIdx
 The index into the NameObjExecuteInfo array.
 

Detailed Description

Definition at line 14 of file VolumeModelDrawer.hpp.

Constructor & Destructor Documentation

◆ VolumeModelDrawer()

VolumeModelDrawer::VolumeModelDrawer ( const char * pName,
const char * pFileName,
MtxPtr mtx )

Definition at line 15 of file VolumeModelDrawer.cpp.

◆ ~VolumeModelDrawer()

VolumeModelDrawer::~VolumeModelDrawer ( )
virtual

Definition at line 67 of file VolumeModelDrawer.cpp.

Member Function Documentation

◆ draw()

void VolumeModelDrawer::draw ( ) const
virtual

Draws the object. Does nothing until overridden.

Reimplemented from NameObj.

Definition at line 30 of file VolumeModelDrawer.cpp.

◆ loadModelDrawMtx()

void VolumeModelDrawer::loadModelDrawMtx ( ) const

Definition at line 61 of file VolumeModelDrawer.cpp.

Member Data Documentation

◆ mMtx

MtxPtr VolumeModelDrawer::mMtx

Definition at line 24 of file VolumeModelDrawer.hpp.

◆ mModelData

J3DModelData* VolumeModelDrawer::mModelData

Definition at line 25 of file VolumeModelDrawer.hpp.

◆ mColor

_GXColor VolumeModelDrawer::mColor

Definition at line 26 of file VolumeModelDrawer.hpp.