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

Public Member Functions

virtual void loadModelDrawMtx () const
 
virtual void drawShape () const
 
void setFromShadowController (const ShadowController *)
 
void setToShadowController (const ShadowController *)
 
void setFromWidth (f32)
 
void setToWidth (f32)
 
- Public Member Functions inherited from ShadowVolumeDrawer
 ShadowVolumeDrawer (const char *)
 
virtual void draw () const
 Draws the object. Does nothing until overridden.
 
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

const ShadowControllermFromShadowController
 
const ShadowControllermToShadowController
 
f32 mFromWidth
 
f32 mToWidth
 
- 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 5 of file ShadowVolumeLine.hpp.

Constructor & Destructor Documentation

◆ ShadowVolumeLine()

ShadowVolumeLine::ShadowVolumeLine ( )

Definition at line 3 of file ShadowVolumeLine.cpp.

◆ ~ShadowVolumeLine()

ShadowVolumeLine::~ShadowVolumeLine ( )
virtual

Definition at line 34 of file ShadowVolumeLine.cpp.

Member Function Documentation

◆ loadModelDrawMtx()

void ShadowVolumeLine::loadModelDrawMtx ( ) const
virtual

Reimplemented from ShadowVolumeDrawer.

Definition at line 10 of file ShadowVolumeLine.cpp.

◆ drawShape()

virtual void ShadowVolumeLine::drawShape ( ) const
virtual

Reimplemented from ShadowVolumeDrawer.

◆ setFromShadowController()

void ShadowVolumeLine::setFromShadowController ( const ShadowController * pController)

Definition at line 18 of file ShadowVolumeLine.cpp.

◆ setToShadowController()

void ShadowVolumeLine::setToShadowController ( const ShadowController * pController)

Definition at line 22 of file ShadowVolumeLine.cpp.

◆ setFromWidth()

void ShadowVolumeLine::setFromWidth ( f32 width)

Definition at line 26 of file ShadowVolumeLine.cpp.

◆ setToWidth()

void ShadowVolumeLine::setToWidth ( f32 width)

Definition at line 30 of file ShadowVolumeLine.cpp.

Member Data Documentation

◆ mFromShadowController

const ShadowController* ShadowVolumeLine::mFromShadowController

Definition at line 18 of file ShadowVolumeLine.hpp.

◆ mToShadowController

const ShadowController* ShadowVolumeLine::mToShadowController

Definition at line 19 of file ShadowVolumeLine.hpp.

◆ mFromWidth

f32 ShadowVolumeLine::mFromWidth

Definition at line 20 of file ShadowVolumeLine.hpp.

◆ mToWidth

f32 ShadowVolumeLine::mToWidth

Definition at line 21 of file ShadowVolumeLine.hpp.