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

Public Member Functions

 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 draw () const
 Draws the object. Does nothing until overridden.
 
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

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 ShadowDrawer.hpp.

Constructor & Destructor Documentation

◆ ShadowDrawer()

ShadowDrawer::ShadowDrawer ( const char * pName)

Definition at line 3 of file ShadowDrawer.cpp.

◆ ~ShadowDrawer()

ShadowDrawer::~ShadowDrawer ( )
virtual

Definition at line 15 of file ShadowDrawer.cpp.

Member Function Documentation

◆ getController()

ShadowController * ShadowDrawer::getController ( ) const

Definition at line 7 of file ShadowDrawer.cpp.

◆ setShadowController()

void ShadowDrawer::setShadowController ( ShadowController * pController)

Definition at line 11 of file ShadowDrawer.cpp.

Member Data Documentation

◆ mController

ShadowController* ShadowDrawer::mController

Definition at line 16 of file ShadowDrawer.hpp.