Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
dDemo_fog_c Class Reference

#include <d_demo.h>

+ Inheritance diagram for dDemo_fog_c:
+ Collaboration diagram for dDemo_fog_c:

Public Types

enum  Enable_e { ENABLE_FOG_FN_e = (1 << 0) , ENABLE_START_Z_e = (1 << 1) , ENABLE_END_Z_e = (1 << 2) , ENABLE_COLOR_e = (1 << 3) }
 

Public Member Functions

 dDemo_fog_c ()
 
virtual ~dDemo_fog_c ()
 
virtual void JSGSetFogFunction (GXFogType)
 
virtual void JSGSetStartZ (f32)
 
virtual void JSGSetEndZ (f32)
 
virtual void JSGSetColor (GXColor)
 
void onEnable (u8 flag)
 
- Public Member Functions inherited from JStage::TFog
virtual ~TFog ()=0
 
virtual s32 JSGFGetType () const
 
virtual bool JSGGetFogFunction () const
 
virtual f32 JSGGetStartZ () const
 
virtual f32 JSGGetEndZ () const
 
virtual GXColor JSGGetColor () const
 
- Public Member Functions inherited from JStage::TObject
virtual ~TObject ()=0
 
virtual bool JSGGetName () const
 
virtual void JSGUpdate ()
 
virtual u32 JSGGetFlag () const
 
virtual void JSGSetFlag (u32)
 
virtual bool JSGGetData (u32, void *, u32) const
 
virtual void JSGSetData (u32, void const *, u32)
 
virtual void JSGGetParent (JStage::TObject **, u32 *) const
 
virtual void JSGSetParent (JStage::TObject *, u32)
 
virtual void JSGSetRelation (bool, JStage::TObject *, u32)
 
virtual s32 JSGFindNodeID (char const *) const
 
virtual bool JSGGetNodeTransformation (u32, f32(*)[4]) const
 
void JSGFEnableFlag (u32 flag)
 
void JSGFDisableFlag (u32 flag)
 

Private Attributes

u8 mFlags
 
u8 mFogType
 
f32 mStartZ
 
f32 mEndZ
 
GXColor mColor
 

Member Enumeration Documentation

◆ Enable_e

Enumerator
ENABLE_FOG_FN_e 
ENABLE_START_Z_e 
ENABLE_END_Z_e 
ENABLE_COLOR_e 

Constructor & Destructor Documentation

◆ dDemo_fog_c()

dDemo_fog_c::dDemo_fog_c ( )
inline

◆ ~dDemo_fog_c()

dDemo_fog_c::~dDemo_fog_c ( )
virtual

Member Function Documentation

◆ JSGSetColor()

void dDemo_fog_c::JSGSetColor ( GXColor  i_color)
virtual

Reimplemented from JStage::TFog.

◆ JSGSetEndZ()

void dDemo_fog_c::JSGSetEndZ ( f32  i_endZ)
virtual

Reimplemented from JStage::TFog.

◆ JSGSetFogFunction()

void dDemo_fog_c::JSGSetFogFunction ( GXFogType  i_fogType)
virtual

Reimplemented from JStage::TFog.

◆ JSGSetStartZ()

void dDemo_fog_c::JSGSetStartZ ( f32  i_startZ)
virtual

Reimplemented from JStage::TFog.

◆ onEnable()

void dDemo_fog_c::onEnable ( u8  flag)
inline

Member Data Documentation

◆ mColor

GXColor dDemo_fog_c::mColor
private

◆ mEndZ

f32 dDemo_fog_c::mEndZ
private

◆ mFlags

u8 dDemo_fog_c::mFlags
private

◆ mFogType

u8 dDemo_fog_c::mFogType
private

◆ mStartZ

f32 dDemo_fog_c::mStartZ
private

The documentation for this class was generated from the following files: