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

Public Member Functions

 AreaObjContainer (const char *)
 
virtual void init (const JMapInfoIter &)
 Intializes the NameObj and can set various settings and construct necessary classes.
 
AreaObjMgrgetManager (const char *) const
 
AreaObjgetAreaObj (const char *, const TVec3f &) const
 
AreaObjMgrgetFirstMgr () const
 
AreaObjMgrgetLastMgr () const
 
- Public Member Functions inherited from NameObj
 NameObj (const char *pName)
 Constructs a new NameObj instance.
 
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

AreaObjMgrmManagerArray [0x50]
 
u32 mNumManagers
 
- 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 48 of file AreaObjContainer.hpp.

Constructor & Destructor Documentation

◆ AreaObjContainer()

AreaObjContainer::AreaObjContainer ( const char * pName)

Definition at line 6 of file AreaObjContainer.cpp.

◆ ~AreaObjContainer()

AreaObjContainer::~AreaObjContainer ( )
virtual

Definition at line 50 of file AreaObjContainer.cpp.

Member Function Documentation

◆ init()

void AreaObjContainer::init ( const JMapInfoIter & rIter)
virtual

Intializes the NameObj and can set various settings and construct necessary classes.

Parameters
rIterA reference to the JMapInfoIter that supplies BCSV information.

Reimplemented from NameObj.

Definition at line 10 of file AreaObjContainer.cpp.

◆ getManager()

AreaObjMgr * AreaObjContainer::getManager ( const char * pName) const

Definition at line 25 of file AreaObjContainer.cpp.

◆ getAreaObj()

AreaObj * AreaObjContainer::getAreaObj ( const char * pName,
const TVec3f & rVec ) const

Definition at line 40 of file AreaObjContainer.cpp.

◆ getFirstMgr()

AreaObjMgr * AreaObjContainer::getFirstMgr ( ) const
inline

Definition at line 58 of file AreaObjContainer.hpp.

◆ getLastMgr()

AreaObjMgr * AreaObjContainer::getLastMgr ( ) const
inline

Definition at line 62 of file AreaObjContainer.hpp.

Member Data Documentation

◆ mManagerArray

AreaObjMgr* AreaObjContainer::mManagerArray[0x50]

Definition at line 66 of file AreaObjContainer.hpp.

◆ mNumManagers

u32 AreaObjContainer::mNumManagers

Definition at line 67 of file AreaObjContainer.hpp.