SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ShadowVolumeModel Class Reference
Inheritance diagram for ShadowVolumeModel:
ShadowVolumeDrawer ShadowDrawer NameObj ShadowVolumeCylinder ShadowVolumeOval ShadowVolumeOvalPole ShadowVolumeSphere

Public Member Functions

 ShadowVolumeModel (const char *)
 
virtual void drawShape () const
 
void initVolumeModel (const char *)
 
- Public Member Functions inherited from ShadowVolumeDrawer
 ShadowVolumeDrawer (const char *)
 
virtual void draw () const
 Draws the object. Does nothing until overridden.
 
virtual void loadModelDrawMtx () const
 
virtual bool isDraw () const
 
void setStartDrawShepeOffset (f32)
 
void setEndDrawShepeOffset (f32)
 
void onCutDropShadow ()
 
void offCutDropShadow ()
 
void calcBaseDropPosition (TVec3f *) const
 
void calcBaseDropPosition (TVec3f *, const ShadowController *) const
 
f32 calcBaseDropLength () const
 
f32 calcBaseDropLength (const ShadowController *) const
 
- Public Member Functions inherited from ShadowDrawer
 ShadowDrawer (const char *)
 
ShadowControllergetController () const
 
void setShadowController (ShadowController *)
 
- 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

J3DModelData * mModelData
 
- Public Attributes inherited from ShadowVolumeDrawer
f32 mStartDrawShapeOffset
 
f32 mEndDrawShapeOffset
 
bool mIsCutDropShadow
 
- Public Attributes inherited from ShadowDrawer
ShadowControllermController
 
- 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 7 of file ShadowVolumeModel.hpp.

Constructor & Destructor Documentation

◆ ShadowVolumeModel()

ShadowVolumeModel::ShadowVolumeModel ( const char * pName)

Definition at line 4 of file ShadowVolumeModel.cpp.

Member Function Documentation

◆ drawShape()

void ShadowVolumeModel::drawShape ( ) const
virtual

Reimplemented from ShadowVolumeDrawer.

Definition at line 12 of file ShadowVolumeModel.cpp.

◆ initVolumeModel()

void ShadowVolumeModel::initVolumeModel ( const char * pModelName)

Definition at line 8 of file ShadowVolumeModel.cpp.

Member Data Documentation

◆ mModelData

J3DModelData* ShadowVolumeModel::mModelData

Definition at line 16 of file ShadowVolumeModel.hpp.