SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Attributes | List of all members
NamePosHolder Class Reference

Class that contains the array of NamePosInfo instances. More...

#include <NamePosHolder.hpp>

Inheritance diagram for NamePosHolder:
NameObj

Public Attributes

s32 mPosNum
 The number of NamePosInfo instances.
 
NamePosInfomInfos
 The array of NamePosInfo instances.
 
- 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.
 

Additional Inherited Members

- 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 ()
 

Detailed Description

Class that contains the array of NamePosInfo instances.

Definition at line 21 of file NamePosHolder.hpp.

Constructor & Destructor Documentation

◆ NamePosHolder()

NamePosHolder::NamePosHolder ( )

Definition at line 5 of file NamePosHolder.cpp.

◆ ~NamePosHolder()

NamePosHolder::~NamePosHolder ( )
virtual

Definition at line 29 of file NamePosHolder.cpp.

Member Data Documentation

◆ mPosNum

s32 NamePosHolder::mPosNum

The number of NamePosInfo instances.

Definition at line 27 of file NamePosHolder.hpp.

◆ mInfos

NamePosInfo* NamePosHolder::mInfos

The array of NamePosInfo instances.

Definition at line 28 of file NamePosHolder.hpp.