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

Public Types

enum  ECategory {
  CATEGORY_UNKNOWN_0 = 0 , CATEGORY_UNKNOWN_1 = 1 , CATEGORY_UNKNOWN_2 = 2 , CATEGORY_UNKNOWN_3 = 3 ,
  CATEGORY_UNKNOWN_4 = 4
}
 

Public Member Functions

 CubeCameraArea (int, const char *)
 
virtual void init (const JMapInfoIter &)
 Intializes the NameObj and can set various settings and construct necessary classes.
 
virtual void movement ()
 
virtual bool isInVolume (const TVec3f &) const
 
virtual s32 getCategoryArg () const
 
bool isValidCameraID () const
 
u16 getCameraID () const
 
- Public Member Functions inherited from AreaObj
 AreaObj (int, const char *)
 
virtual const char * getManagerName () const
 
void onSwitchA ()
 
void offSwitchA ()
 
bool isOnSwitchA () const
 
bool isOnSwitchB () const
 
bool isValidSwitchA () const
 
bool isValidSwitchB () const
 
void setFollowMtx (const TPos3f *)
 
TPos3f * getFollowMtx () const
 
void validate ()
 
void invalidate ()
 
bool isValid () const
 
void awake ()
 
void sleep ()
 
- Public Member Functions inherited from NameObj
 NameObj (const char *pName)
 Constructs a new NameObj instance.
 
virtual void initAfterPlacement ()
 
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 ()
 

Static Public Member Functions

static void setCurrentCategory (s32)
 

Public Attributes

u32 _3C
 
u32 mZoneID
 
- Public Attributes inherited from AreaObj
AreaFormmForm
 
int mType
 
bool mValid
 
bool _15
 
bool mAwake
 
s32 mObjArg0
 
s32 mObjArg1
 
s32 mObjArg2
 
s32 mObjArg3
 
s32 mObjArg4
 
s32 mObjArg5
 
s32 mObjArg6
 
s32 mObjArg7
 
StageSwitchCtrlmSwitchCtrl
 
- 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.
 

Static Public Attributes

static s32 sCubeCategory
 

Detailed Description

Definition at line 5 of file CubeCamera.hpp.

Member Enumeration Documentation

◆ ECategory

enum CubeCameraArea::ECategory

Definition at line 7 of file CubeCamera.hpp.

Constructor & Destructor Documentation

◆ CubeCameraArea()

CubeCameraArea::CubeCameraArea ( int a1,
const char * pName )

Definition at line 5 of file CubeCamera.cpp.

◆ ~CubeCameraArea()

virtual CubeCameraArea::~CubeCameraArea ( )
inlinevirtual

Definition at line 17 of file CubeCamera.hpp.

Member Function Documentation

◆ init()

virtual void CubeCameraArea::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 AreaObj.

◆ movement()

void CubeCameraArea::movement ( )
virtual

Reimplemented from NameObj.

Definition at line 52 of file CubeCamera.cpp.

◆ isInVolume()

bool CubeCameraArea::isInVolume ( const TVec3f & rVec) const
virtual

Reimplemented from AreaObj.

Definition at line 83 of file CubeCamera.cpp.

◆ getCategoryArg()

s32 CubeCameraArea::getCategoryArg ( ) const
virtual

Definition at line 99 of file CubeCamera.cpp.

◆ isValidCameraID()

bool CubeCameraArea::isValidCameraID ( ) const

Definition at line 75 of file CubeCamera.cpp.

◆ getCameraID()

u16 CubeCameraArea::getCameraID ( ) const

Definition at line 79 of file CubeCamera.cpp.

◆ setCurrentCategory()

void CubeCameraArea::setCurrentCategory ( s32 category)
static

Definition at line 95 of file CubeCamera.cpp.

Member Data Documentation

◆ sCubeCategory

s32 CubeCameraArea::sCubeCategory
static

Definition at line 31 of file CubeCamera.hpp.

◆ _3C

u32 CubeCameraArea::_3C

Definition at line 33 of file CubeCamera.hpp.

◆ mZoneID

u32 CubeCameraArea::mZoneID

Definition at line 34 of file CubeCamera.hpp.