SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LiveActorGroup Class Reference
Inheritance diagram for LiveActorGroup:
NameObjGroup NameObj DeriveActorGroup< ArrowSwitchMulti > DeriveActorGroup< BigFan > DeriveActorGroup< Coin > AirBubbleHolder AllLiveActorGroup DeriveActorGroup< T > MiiFacePartsHolder MsgSharedGroup NoteGroup

Public Member Functions

 LiveActorGroup (const char *, int)
 
void registerActor (LiveActor *)
 
LiveActorgetActor (int) const
 
LiveActorgetDeadActor () const
 
s32 getLivingActorNum () const
 
void appearAll ()
 
void killAll ()
 
- Public Member Functions inherited from NameObjGroup
 NameObjGroup (const char *, int)
 
void registerObj (NameObj *)
 
void pauseOffAll () const
 
void initObjArray (int)
 
- 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 ()
 

Additional Inherited Members

- Public Attributes inherited from NameObjGroup
s32 _C
 
s32 mObjectCount
 
NameObj ** mObjects
 
- 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 LiveActorGroup.hpp.

Constructor & Destructor Documentation

◆ LiveActorGroup()

LiveActorGroup::LiveActorGroup ( const char * pName,
int count )

Definition at line 5 of file LiveActorGroup.cpp.

◆ ~LiveActorGroup()

virtual LiveActorGroup::~LiveActorGroup ( )
inlinevirtual

Definition at line 11 of file LiveActorGroup.hpp.

Member Function Documentation

◆ registerActor()

void LiveActorGroup::registerActor ( LiveActor * pActor)

Definition at line 9 of file LiveActorGroup.cpp.

◆ getActor()

LiveActor * LiveActorGroup::getActor ( int idx) const

Definition at line 13 of file LiveActorGroup.cpp.

◆ getDeadActor()

LiveActor * LiveActorGroup::getDeadActor ( ) const

Definition at line 17 of file LiveActorGroup.cpp.

◆ getLivingActorNum()

s32 LiveActorGroup::getLivingActorNum ( ) const

Definition at line 28 of file LiveActorGroup.cpp.

◆ appearAll()

void LiveActorGroup::appearAll ( )

Definition at line 41 of file LiveActorGroup.cpp.

◆ killAll()

void LiveActorGroup::killAll ( )

Definition at line 49 of file LiveActorGroup.cpp.