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

Public Member Functions

 DepthOfFieldArea (int, const char *)
 
virtual void init (const JMapInfoIter &)
 Intializes the NameObj and can set various settings and construct necessary classes.
 
virtual const char * getManagerName () const
 
virtual bool isSyncWithPlayer () const
 
f32 getIntensity () const
 
s32 getBlurMaxDist () const
 
s32 getBlurMinDist () const
 
- Public Member Functions inherited from ImageEffectArea
 ImageEffectArea (EImageEffectType, int, const char *)
 
- Public Member Functions inherited from AreaObj
 AreaObj (int, const char *)
 
virtual bool isInVolume (const TVec3f &) 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 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

bool mIsPlayerSync
 
u8 _41 [3]
 
- Public Attributes inherited from ImageEffectArea
s32 mEffectType
 
- 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.
 

Additional Inherited Members

- Public Types inherited from ImageEffectArea
enum  EImageEffectType { IMAGE_EFFECT_TYPE_BLOOM = 0 , IMAGE_EFFECT_TYPE_SIMPLE_BLOOM = 1 , IMAGE_EFFECT_TYPE_BLUR = 2 , IMAGE_EFFECT_TYPE_DOF = 3 }
 

Detailed Description

Definition at line 5 of file DepthOfFieldArea.hpp.

Constructor & Destructor Documentation

◆ DepthOfFieldArea()

DepthOfFieldArea::DepthOfFieldArea ( int type,
const char * pName )

Definition at line 4 of file DepthOfFieldArea.cpp.

◆ ~DepthOfFieldArea()

DepthOfFieldArea::~DepthOfFieldArea ( )
virtual

Definition at line 9 of file DepthOfFieldArea.cpp.

Member Function Documentation

◆ init()

void DepthOfFieldArea::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.

Definition at line 13 of file DepthOfFieldArea.cpp.

◆ getManagerName()

const char * DepthOfFieldArea::getManagerName ( ) const
virtual

Reimplemented from AreaObj.

Definition at line 19 of file DepthOfFieldArea.cpp.

◆ isSyncWithPlayer()

bool DepthOfFieldArea::isSyncWithPlayer ( ) const
virtual

Reimplemented from ImageEffectArea.

Definition at line 39 of file DepthOfFieldArea.cpp.

◆ getIntensity()

f32 DepthOfFieldArea::getIntensity ( ) const

Definition at line 23 of file DepthOfFieldArea.cpp.

◆ getBlurMaxDist()

s32 DepthOfFieldArea::getBlurMaxDist ( ) const

Definition at line 31 of file DepthOfFieldArea.cpp.

◆ getBlurMinDist()

s32 DepthOfFieldArea::getBlurMinDist ( ) const

Definition at line 35 of file DepthOfFieldArea.cpp.

Member Data Documentation

◆ mIsPlayerSync

bool DepthOfFieldArea::mIsPlayerSync

Definition at line 19 of file DepthOfFieldArea.hpp.

◆ _41

u8 DepthOfFieldArea::_41[3]

Definition at line 20 of file DepthOfFieldArea.hpp.