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

Public Member Functions

 CameraTowerPos (const char *)
 
virtual void reset ()
 
virtual CameraTargetObjcalc ()
 
virtual bool isEnableToReset () const
 
virtual CamTranslatorBasecreateTranslator ()
 
void calcIdealPose (bool)
 
void arrangeHorizontalPose (const TVec3f &, TVec3f &)
 
void arrangeWatchPos (TVec3f &, const TVec3f &)
 
- Public Member Functions inherited from CameraTowerBase
 CameraTowerBase (const char *)
 
void calcIdealPoseOfTowerBase ()
 
void resetBegin ()
 
void resetPreVPan ()
 
void resetPostVPan ()
 
void arrangePreVPan ()
 
void arrangePostVPan ()
 
- Public Member Functions inherited from Camera
 Camera (const char *)
 
virtual bool isInterpolationOff () const
 
virtual bool isCollisionOff () const
 
virtual bool isZeroFrameMoveOff () const
 
virtual bool isSubjectiveCameraOff () const
 
virtual bool isCorrectingErpPositionOff () const
 
virtual void roundLeft ()
 
virtual void roundRight ()
 
virtual bool isEnableToRoundLeft () const
 
virtual bool isEnableToRoundRight () const
 
void setZoneMtx (long)
 
void createVPanObj ()
 
- 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

TVec3f mWPoint
 
TVec3f mAxis
 
f32 mAngleA
 
f32 mAngleB
 
f32 mUpX
 
f32 mUpY
 
f32 _94
 
f32 _98
 
f32 _9C
 
- Public Attributes inherited from CameraTowerBase
f32 _4C
 
f32 _50
 
f32 _54
 
f32 _58
 
f32 _5C
 
f32 _60
 
f32 _64
 
f32 _68
 
- Public Attributes inherited from Camera
CameraManmCameraMan
 
CameraPoseParammPosParam
 
CameraHeightArrangemVPan
 
bool mIsLOfsErpOff
 
u8 _19 [3]
 
TMtx34f mZoneMatrix
 
- 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 5 of file CameraTowerPos.hpp.

Constructor & Destructor Documentation

◆ CameraTowerPos()

CameraTowerPos::CameraTowerPos ( const char * pName)

Definition at line 4 of file CameraTowerPos.cpp.

◆ ~CameraTowerPos()

CameraTowerPos::~CameraTowerPos ( )
virtual

Definition at line 20 of file CameraTowerPos.cpp.

Member Function Documentation

◆ reset()

virtual void CameraTowerPos::reset ( )
virtual

Reimplemented from CameraTowerBase.

◆ calc()

virtual CameraTargetObj * CameraTowerPos::calc ( )
virtual

Reimplemented from CameraTowerBase.

◆ isEnableToReset()

virtual bool CameraTowerPos::isEnableToReset ( ) const
virtual

Reimplemented from Camera.

◆ createTranslator()

CamTranslatorBase * CameraTowerPos::createTranslator ( )
virtual

Reimplemented from Camera.

Definition at line 24 of file CameraTowerPos.cpp.

Member Data Documentation

◆ mWPoint

TVec3f CameraTowerPos::mWPoint

Definition at line 19 of file CameraTowerPos.hpp.

◆ mAxis

TVec3f CameraTowerPos::mAxis

Definition at line 20 of file CameraTowerPos.hpp.

◆ mAngleA

f32 CameraTowerPos::mAngleA

Definition at line 21 of file CameraTowerPos.hpp.

◆ mAngleB

f32 CameraTowerPos::mAngleB

Definition at line 22 of file CameraTowerPos.hpp.

◆ mUpX

f32 CameraTowerPos::mUpX

Definition at line 23 of file CameraTowerPos.hpp.

◆ mUpY

f32 CameraTowerPos::mUpY

Definition at line 24 of file CameraTowerPos.hpp.

◆ _94

f32 CameraTowerPos::_94

Definition at line 25 of file CameraTowerPos.hpp.

◆ _98

f32 CameraTowerPos::_98

Definition at line 26 of file CameraTowerPos.hpp.

◆ _9C

f32 CameraTowerPos::_9C

Definition at line 27 of file CameraTowerPos.hpp.