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

Public Member Functions

virtual void draw () const
 Draws the object. Does nothing until overridden.
 
virtual void loadModelDrawMtx () const
 
virtual void drawShape () const
 
void setSize (const TVec3f &)
 
void makeVertexBuffer () const
 
- Public Member Functions inherited from ShadowVolumeDrawer
 ShadowVolumeDrawer (const char *)
 
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

TVec3f mSize
 
TVec3f _28
 
TVec3f _34
 
TVec3f _40
 
TVec3f _4C
 
TVec3f _58
 
TVec3f _64
 
TVec3f _70
 
TVec3f _7C
 
TVec3f _88
 
TVec3f _94
 
TVec3f _A0
 
TVec3f _AC
 
TVec3f _B8
 
TVec3f _C4
 
- 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 6 of file ShadowVolumeBox.hpp.

Constructor & Destructor Documentation

◆ ~ShadowVolumeBox()

ShadowVolumeBox::~ShadowVolumeBox ( )
virtual

Definition at line 52 of file ShadowVolumeBox.cpp.

Member Function Documentation

◆ draw()

virtual void ShadowVolumeBox::draw ( ) const
virtual

Draws the object. Does nothing until overridden.

Reimplemented from ShadowVolumeDrawer.

◆ loadModelDrawMtx()

void ShadowVolumeBox::loadModelDrawMtx ( ) const
virtual

Reimplemented from ShadowVolumeDrawer.

Definition at line 7 of file ShadowVolumeBox.cpp.

◆ drawShape()

void ShadowVolumeBox::drawShape ( ) const
virtual

Reimplemented from ShadowVolumeDrawer.

Definition at line 16 of file ShadowVolumeBox.cpp.

◆ setSize()

void ShadowVolumeBox::setSize ( const TVec3f & rSize)

Definition at line 3 of file ShadowVolumeBox.cpp.

Member Data Documentation

◆ mSize

TVec3f ShadowVolumeBox::mSize

Definition at line 19 of file ShadowVolumeBox.hpp.

◆ _28

TVec3f ShadowVolumeBox::_28

Definition at line 20 of file ShadowVolumeBox.hpp.

◆ _34

TVec3f ShadowVolumeBox::_34

Definition at line 21 of file ShadowVolumeBox.hpp.

◆ _40

TVec3f ShadowVolumeBox::_40

Definition at line 22 of file ShadowVolumeBox.hpp.

◆ _4C

TVec3f ShadowVolumeBox::_4C

Definition at line 23 of file ShadowVolumeBox.hpp.

◆ _58

TVec3f ShadowVolumeBox::_58

Definition at line 24 of file ShadowVolumeBox.hpp.

◆ _64

TVec3f ShadowVolumeBox::_64

Definition at line 25 of file ShadowVolumeBox.hpp.

◆ _70

TVec3f ShadowVolumeBox::_70

Definition at line 26 of file ShadowVolumeBox.hpp.

◆ _7C

TVec3f ShadowVolumeBox::_7C

Definition at line 27 of file ShadowVolumeBox.hpp.

◆ _88

TVec3f ShadowVolumeBox::_88

Definition at line 28 of file ShadowVolumeBox.hpp.

◆ _94

TVec3f ShadowVolumeBox::_94

Definition at line 29 of file ShadowVolumeBox.hpp.

◆ _A0

TVec3f ShadowVolumeBox::_A0

Definition at line 30 of file ShadowVolumeBox.hpp.

◆ _AC

TVec3f ShadowVolumeBox::_AC

Definition at line 31 of file ShadowVolumeBox.hpp.

◆ _B8

TVec3f ShadowVolumeBox::_B8

Definition at line 32 of file ShadowVolumeBox.hpp.

◆ _C4

TVec3f ShadowVolumeBox::_C4

Definition at line 33 of file ShadowVolumeBox.hpp.