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

#include <d_particle.h>

+ Collaboration diagram for dPa_control_c:

Classes

class  level_c
 

Public Member Functions

void set (u8, u16, cXyz const *, dKy_tevstr_c const *, csXyz const *, cXyz const *, u8, dPa_levelEcallBack *, s8, _GXColor const *, _GXColor const *, cXyz const *, f32)
 
void set (u32, u8, u16, cXyz const *, dKy_tevstr_c const *, csXyz const *, cXyz const *, u8, dPa_levelEcallBack *, s8, _GXColor const *, _GXColor const *, cXyz const *, f32)
 
void setSimple (u16, cXyz const *, dKy_tevstr_c const *, u8, _GXColor const &, _GXColor const &, int, f32)
 
 dPa_control_c ()
 
void createCommon (void const *)
 
void createRoomScene ()
 
bool readScene (u8, mDoDvdThd_toMainRam_c **)
 
void createScene (void const *)
 
bool removeRoomScene (bool)
 
void removeScene (bool)
 
void cleanup ()
 
void calc3D ()
 
void calc2D ()
 
void calcMenu ()
 
void draw (JPADrawInfo *, u8)
 
void setHitMark (u16, fopAc_ac_c *, cXyz const *, csXyz const *, cXyz const *, u32)
 
void setWaterRipple (u32 *, cBgS_PolyInfo &, cXyz const *, f32, dKy_tevstr_c const *, cXyz const *, s8)
 
JPABaseEmitterset (u8, u16, cXyz const *, dKy_tevstr_c const *, csXyz const *, cXyz const *, u8, dPa_levelEcallBack *, s8, _GXColor const *, _GXColor const *, cXyz const *, f32)
 
u32 set (u32, u8, u16, cXyz const *, dKy_tevstr_c const *, csXyz const *, cXyz const *, u8, dPa_levelEcallBack *, s8, _GXColor const *, _GXColor const *, cXyz const *, f32)
 
u32 setPoly (u32, u16, cBgS_PolyInfo &, cXyz const *, dKy_tevstr_c const *, csXyz const *, cXyz const *, int, dPa_levelEcallBack *, s8, cXyz const *)
 
JPABaseEmittersetPoly (u16, cBgS_PolyInfo &, cXyz const *, dKy_tevstr_c const *, csXyz const *, cXyz const *, int, dPa_levelEcallBack *, s8, cXyz const *)
 
bool newSimple (u16, u8, u32 *)
 
u32 setSimple (u16, cXyz const *, dKy_tevstr_c const *, u8, _GXColor const &, _GXColor const &, int, f32)
 
dPa_simpleEcallBackgetSimple (u16)
 
u32 setStopContinue (u32)
 
u32 setSimpleFoot (u32, u32 *, cBgS_PolyInfo &, cXyz const *, dKy_tevstr_c const *, int, csXyz const *, cXyz const *, dPa_levelEcallBack *, s8, cXyz const *)
 
u16 setCommonPoly (u32 *, cBgS_PolyInfo *, cXyz const *, cXyz const *, dKy_tevstr_c const *, u32, u32, csXyz const *, cXyz const *, s8)
 
void forceOnEventMove (u32 param_0)
 
JPABaseEmittergetEmitter (u32 param_0)
 
u32 setNormal (u32 param_0, u16 param_1, const cXyz *param_2, const dKy_tevstr_c *param_3, const csXyz *param_4, const cXyz *param_5, u8 param_6, dPa_levelEcallBack *param_7, s8 param_8, const GXColor *param_9, const GXColor *param_10, const cXyz *param_11, f32 param_12)
 
JPABaseEmittersetNormal (u16 param_1, const cXyz *param_2, const dKy_tevstr_c *param_3, const csXyz *param_4, const cXyz *param_5, u8 param_6, dPa_levelEcallBack *param_7, s8 param_8, const GXColor *param_9, const GXColor *param_10, const cXyz *param_11, f32 param_12)
 
void drawFogPri0_B (JPADrawInfo *i_drawInfo)
 
void drawNormalPri0_B (JPADrawInfo *i_drawInfo)
 
void drawFogPri0_A (JPADrawInfo *i_drawInfo)
 
void drawNormalPri0_A (JPADrawInfo *i_drawInfo)
 
void drawFogPri4 (JPADrawInfo *i_drawInfo)
 
void drawProjection (JPADrawInfo *i_drawInfo)
 
void drawFogPri1 (JPADrawInfo *i_drawInfo)
 
void drawNormal (JPADrawInfo *i_drawInfo)
 
void drawFogPri2 (JPADrawInfo *i_drawInfo)
 
void drawNormalFog (JPADrawInfo *i_drawInfo)
 
void drawFogPri3 (JPADrawInfo *i_drawInfo)
 
void drawNormalP1 (JPADrawInfo *i_drawInfo)
 
void drawDarkworld (JPADrawInfo *i_drawInfo)
 
void drawFogScreen (JPADrawInfo *i_drawInfo)
 
void draw2Dgame (JPADrawInfo *i_drawInfo)
 
void draw2Dfore (JPADrawInfo *i_drawInfo)
 
void draw2Dback (JPADrawInfo *i_drawInfo)
 
void draw2DmenuFore (JPADrawInfo *i_drawInfo)
 
void draw2DmenuBack (JPADrawInfo *i_drawInfo)
 
JKRExpHeapgetResHeap ()
 
void levelAllForceOnEventMove ()
 

Static Public Member Functions

static u8 getRM_ID (u16)
 
static s32 getPolyColor (cBgS_PolyInfo &, int, _GXColor *, _GXColor *, u8 *, f32 *)
 
static void onStatus (u8 status)
 
static void offStatus (u8 status)
 
static bool isStatus (u8 status)
 
static dPa_selectTexEcallBackgetTsuboSelectTexEcallBack (int idx)
 
static JPAEmitterManagergetEmitterManager ()
 
static dPa_light8PcallBackgetLight8PcallBack ()
 
static dPa_gen_b_light8PcallBackgetGen_b_Light8PcallBack ()
 
static dPa_gen_d_light8PcallBackgetGen_d_Light8PcallBack ()
 
static dPa_gen_b_light8EcallBackgetGen_b_Light8EcallBack ()
 
static dPa_gen_d_light8EcallBackgetGen_d_Light8EcallBack ()
 
static dPa_light8EcallBackgetLight8EcallBack ()
 
static dPa_particleTracePcallBack_cgetParticleTracePCB ()
 
static dPa_fsenthPcallBackgetFsenthPcallBack ()
 
static JPAParticleCallBackgetWaterBubblePcallBack ()
 

Static Public Attributes

static dPa_selectTexEcallBack mTsubo [8]
 
static u8 mLifeBall [24]
 
static Mtx mWindViewMatrix
 
static JPAEmitterManagermEmitterMng
 
static dPa_wbPcallBack_c mWaterBubblePcallBack
 
static dPa_fsenthPcallBack mFsenthPcallBack
 
static dPa_light8EcallBack mLight8EcallBack
 
static dPa_light8PcallBack mLight8PcallBack
 
static dPa_gen_b_light8EcallBack m_b_Light8EcallBack
 
static dPa_gen_b_light8PcallBack m_b_Light8PcallBack
 
static dPa_gen_d_light8EcallBack m_d_Light8EcallBack
 
static dPa_gen_d_light8PcallBack m_d_Light8PcallBack
 
static dPa_particleTracePcallBack_c mParticleTracePCB
 
static u8 mStatus
 

Private Attributes

JKRSolidHeapmHeap
 
JPAResourceManagermCommonResMng
 
JKRExpHeapm_resHeap
 
JKRSolidHeapm_sceneHeap
 
voidm_sceneRes
 
JPAResourceManagermSceneResMng
 
u8 field_0x18
 
u8 field_0x19
 
u8 field_0x1a
 
u8 field_0x1b
 
dPa_simpleEcallBack field_0x1c [25]
 
level_c field_0x210
 

Constructor & Destructor Documentation

◆ dPa_control_c()

dPa_control_c::dPa_control_c ( )

Member Function Documentation

◆ calc2D()

void dPa_control_c::calc2D ( )

◆ calc3D()

void dPa_control_c::calc3D ( )

◆ calcMenu()

void dPa_control_c::calcMenu ( )

◆ cleanup()

void dPa_control_c::cleanup ( )

◆ createCommon()

void dPa_control_c::createCommon ( void const param_0)

◆ createRoomScene()

void dPa_control_c::createRoomScene ( )

◆ createScene()

void dPa_control_c::createScene ( void const param_0)

◆ draw()

void dPa_control_c::draw ( JPADrawInfo param_0,
u8  param_1 
)

◆ draw2Dback()

void dPa_control_c::draw2Dback ( JPADrawInfo i_drawInfo)
inline

◆ draw2Dfore()

void dPa_control_c::draw2Dfore ( JPADrawInfo i_drawInfo)
inline

◆ draw2Dgame()

void dPa_control_c::draw2Dgame ( JPADrawInfo i_drawInfo)
inline

◆ draw2DmenuBack()

void dPa_control_c::draw2DmenuBack ( JPADrawInfo i_drawInfo)
inline

◆ draw2DmenuFore()

void dPa_control_c::draw2DmenuFore ( JPADrawInfo i_drawInfo)
inline

◆ drawDarkworld()

void dPa_control_c::drawDarkworld ( JPADrawInfo i_drawInfo)
inline

◆ drawFogPri0_A()

void dPa_control_c::drawFogPri0_A ( JPADrawInfo i_drawInfo)
inline

◆ drawFogPri0_B()

void dPa_control_c::drawFogPri0_B ( JPADrawInfo i_drawInfo)
inline

◆ drawFogPri1()

void dPa_control_c::drawFogPri1 ( JPADrawInfo i_drawInfo)
inline

◆ drawFogPri2()

void dPa_control_c::drawFogPri2 ( JPADrawInfo i_drawInfo)
inline

◆ drawFogPri3()

void dPa_control_c::drawFogPri3 ( JPADrawInfo i_drawInfo)
inline

◆ drawFogPri4()

void dPa_control_c::drawFogPri4 ( JPADrawInfo i_drawInfo)
inline

◆ drawFogScreen()

void dPa_control_c::drawFogScreen ( JPADrawInfo i_drawInfo)
inline

◆ drawNormal()

void dPa_control_c::drawNormal ( JPADrawInfo i_drawInfo)
inline

◆ drawNormalFog()

void dPa_control_c::drawNormalFog ( JPADrawInfo i_drawInfo)
inline

◆ drawNormalP1()

void dPa_control_c::drawNormalP1 ( JPADrawInfo i_drawInfo)
inline

◆ drawNormalPri0_A()

void dPa_control_c::drawNormalPri0_A ( JPADrawInfo i_drawInfo)
inline

◆ drawNormalPri0_B()

void dPa_control_c::drawNormalPri0_B ( JPADrawInfo i_drawInfo)
inline

◆ drawProjection()

void dPa_control_c::drawProjection ( JPADrawInfo i_drawInfo)
inline

◆ forceOnEventMove()

void dPa_control_c::forceOnEventMove ( u32  param_0)
inline

◆ getEmitter()

JPABaseEmitter * dPa_control_c::getEmitter ( u32  param_0)
inline

◆ getEmitterManager()

static JPAEmitterManager * dPa_control_c::getEmitterManager ( )
inlinestatic

◆ getFsenthPcallBack()

static dPa_fsenthPcallBack * dPa_control_c::getFsenthPcallBack ( )
inlinestatic

◆ getGen_b_Light8EcallBack()

static dPa_gen_b_light8EcallBack * dPa_control_c::getGen_b_Light8EcallBack ( )
inlinestatic

◆ getGen_b_Light8PcallBack()

static dPa_gen_b_light8PcallBack * dPa_control_c::getGen_b_Light8PcallBack ( )
inlinestatic

◆ getGen_d_Light8EcallBack()

static dPa_gen_d_light8EcallBack * dPa_control_c::getGen_d_Light8EcallBack ( )
inlinestatic

◆ getGen_d_Light8PcallBack()

static dPa_gen_d_light8PcallBack * dPa_control_c::getGen_d_Light8PcallBack ( )
inlinestatic

◆ getLight8EcallBack()

static dPa_light8EcallBack * dPa_control_c::getLight8EcallBack ( )
inlinestatic

◆ getLight8PcallBack()

static dPa_light8PcallBack * dPa_control_c::getLight8PcallBack ( )
inlinestatic

◆ getParticleTracePCB()

static dPa_particleTracePcallBack_c * dPa_control_c::getParticleTracePCB ( )
inlinestatic

◆ getPolyColor()

s32 dPa_control_c::getPolyColor ( cBgS_PolyInfo param_0,
int  param_1,
_GXColor param_2,
_GXColor param_3,
u8 param_4,
f32 param_5 
)
static

◆ getResHeap()

JKRExpHeap * dPa_control_c::getResHeap ( )
inline

◆ getRM_ID()

u8 dPa_control_c::getRM_ID ( u16  param_0)
static

◆ getSimple()

dPa_simpleEcallBack * dPa_control_c::getSimple ( u16  param_0)

◆ getTsuboSelectTexEcallBack()

static dPa_selectTexEcallBack * dPa_control_c::getTsuboSelectTexEcallBack ( int  idx)
inlinestatic

◆ getWaterBubblePcallBack()

static JPAParticleCallBack * dPa_control_c::getWaterBubblePcallBack ( )
inlinestatic

◆ isStatus()

static bool dPa_control_c::isStatus ( u8  status)
inlinestatic

◆ levelAllForceOnEventMove()

void dPa_control_c::levelAllForceOnEventMove ( )
inline

◆ newSimple()

bool dPa_control_c::newSimple ( u16  param_0,
u8  param_1,
u32 param_2 
)

◆ offStatus()

static void dPa_control_c::offStatus ( u8  status)
inlinestatic

◆ onStatus()

static void dPa_control_c::onStatus ( u8  status)
inlinestatic

◆ readScene()

bool dPa_control_c::readScene ( u8  param_0,
mDoDvdThd_toMainRam_c **  param_1 
)

◆ removeRoomScene()

bool dPa_control_c::removeRoomScene ( bool  param_0)

◆ removeScene()

void dPa_control_c::removeScene ( bool  param_0)

◆ set() [1/4]

u32 dPa_control_c::set ( u32  ,
u8  ,
u16  ,
cXyz const ,
dKy_tevstr_c const ,
csXyz const ,
cXyz const ,
u8  ,
dPa_levelEcallBack ,
s8  ,
_GXColor const ,
_GXColor const ,
cXyz const ,
f32   
)

◆ set() [2/4]

u32 dPa_control_c::set ( u32  param_0,
u8  param_1,
u16  param_2,
cXyz const param_3,
dKy_tevstr_c const param_4,
csXyz const param_5,
cXyz const param_6,
u8  param_7,
dPa_levelEcallBack param_8,
s8  param_9,
_GXColor const param_10,
_GXColor const param_11,
cXyz const param_12,
f32  param_13 
)

◆ set() [3/4]

JPABaseEmitter * dPa_control_c::set ( u8  ,
u16  ,
cXyz const ,
dKy_tevstr_c const ,
csXyz const ,
cXyz const ,
u8  ,
dPa_levelEcallBack ,
s8  ,
_GXColor const ,
_GXColor const ,
cXyz const ,
f32   
)

◆ set() [4/4]

JPABaseEmitter * dPa_control_c::set ( u8  param_0,
u16  param_1,
cXyz const param_2,
dKy_tevstr_c const param_3,
csXyz const param_4,
cXyz const param_5,
u8  param_6,
dPa_levelEcallBack param_7,
s8  param_8,
_GXColor const param_9,
_GXColor const param_10,
cXyz const param_11,
f32  param_12 
)

◆ setCommonPoly()

u16 dPa_control_c::setCommonPoly ( u32 param_0,
cBgS_PolyInfo param_1,
cXyz const param_2,
cXyz const param_3,
dKy_tevstr_c const param_4,
u32  param_5,
u32  param_6,
csXyz const param_7,
cXyz const param_8,
s8  param_9 
)

◆ setHitMark()

void dPa_control_c::setHitMark ( u16  param_1,
fopAc_ac_c param_2,
cXyz const param_3,
csXyz const param_4,
cXyz const param_5,
u32  param_6 
)

◆ setNormal() [1/2]

JPABaseEmitter * dPa_control_c::setNormal ( u16  param_1,
const cXyz param_2,
const dKy_tevstr_c param_3,
const csXyz param_4,
const cXyz param_5,
u8  param_6,
dPa_levelEcallBack param_7,
s8  param_8,
const GXColor param_9,
const GXColor param_10,
const cXyz param_11,
f32  param_12 
)
inline

◆ setNormal() [2/2]

u32 dPa_control_c::setNormal ( u32  param_0,
u16  param_1,
const cXyz param_2,
const dKy_tevstr_c param_3,
const csXyz param_4,
const cXyz param_5,
u8  param_6,
dPa_levelEcallBack param_7,
s8  param_8,
const GXColor param_9,
const GXColor param_10,
const cXyz param_11,
f32  param_12 
)
inline

◆ setPoly() [1/2]

JPABaseEmitter * dPa_control_c::setPoly ( u16  param_0,
cBgS_PolyInfo param_1,
cXyz const param_2,
dKy_tevstr_c const param_3,
csXyz const param_4,
cXyz const param_5,
int  param_6,
dPa_levelEcallBack param_7,
s8  param_8,
cXyz const param_9 
)

◆ setPoly() [2/2]

u32 dPa_control_c::setPoly ( u32  param_0,
u16  param_1,
cBgS_PolyInfo param_2,
cXyz const param_3,
dKy_tevstr_c const param_4,
csXyz const param_5,
cXyz const param_6,
int  param_7,
dPa_levelEcallBack param_8,
s8  param_9,
cXyz const param_10 
)

◆ setSimple() [1/2]

u32 dPa_control_c::setSimple ( u16  ,
cXyz const ,
dKy_tevstr_c const ,
u8  ,
_GXColor const ,
_GXColor const ,
int  ,
f32   
)

◆ setSimple() [2/2]

u32 dPa_control_c::setSimple ( u16  param_0,
cXyz const param_1,
dKy_tevstr_c const param_2,
u8  param_3,
_GXColor const param_4,
_GXColor const param_5,
int  param_6,
f32  param_7 
)

◆ setSimpleFoot()

u32 dPa_control_c::setSimpleFoot ( u32  param_0,
u32 param_1,
cBgS_PolyInfo param_2,
cXyz const param_3,
dKy_tevstr_c const param_4,
int  param_5,
csXyz const param_6,
cXyz const param_7,
dPa_levelEcallBack param_8,
s8  param_9,
cXyz const param_10 
)

◆ setStopContinue()

u32 dPa_control_c::setStopContinue ( u32  param_0)

◆ setWaterRipple()

void dPa_control_c::setWaterRipple ( u32 param_0,
cBgS_PolyInfo param_1,
cXyz const param_2,
f32  param_3,
dKy_tevstr_c const param_4,
cXyz const param_5,
s8  param_6 
)

Member Data Documentation

◆ field_0x18

u8 dPa_control_c::field_0x18
private

◆ field_0x19

u8 dPa_control_c::field_0x19
private

◆ field_0x1a

u8 dPa_control_c::field_0x1a
private

◆ field_0x1b

u8 dPa_control_c::field_0x1b
private

◆ field_0x1c

dPa_simpleEcallBack dPa_control_c::field_0x1c[25]
private

◆ field_0x210

level_c dPa_control_c::field_0x210
private

◆ m_b_Light8EcallBack

dPa_gen_b_light8EcallBack dPa_control_c::m_b_Light8EcallBack
static

◆ m_b_Light8PcallBack

dPa_gen_b_light8PcallBack dPa_control_c::m_b_Light8PcallBack
static

◆ m_d_Light8EcallBack

dPa_gen_d_light8EcallBack dPa_control_c::m_d_Light8EcallBack
static

◆ m_d_Light8PcallBack

dPa_gen_d_light8PcallBack dPa_control_c::m_d_Light8PcallBack
static

◆ m_resHeap

JKRExpHeap* dPa_control_c::m_resHeap
private

◆ m_sceneHeap

JKRSolidHeap* dPa_control_c::m_sceneHeap
private

◆ m_sceneRes

void* dPa_control_c::m_sceneRes
private

◆ mCommonResMng

JPAResourceManager* dPa_control_c::mCommonResMng
private

◆ mEmitterMng

JPAEmitterManager * dPa_control_c::mEmitterMng
static

◆ mFsenthPcallBack

dPa_fsenthPcallBack dPa_control_c::mFsenthPcallBack
static

◆ mHeap

JKRSolidHeap* dPa_control_c::mHeap
private

◆ mLifeBall

u8 dPa_control_c::mLifeBall
static

◆ mLight8EcallBack

dPa_light8EcallBack dPa_control_c::mLight8EcallBack
static

◆ mLight8PcallBack

dPa_light8PcallBack dPa_control_c::mLight8PcallBack
static

◆ mParticleTracePCB

dPa_particleTracePcallBack_c dPa_control_c::mParticleTracePCB
static

◆ mSceneResMng

JPAResourceManager* dPa_control_c::mSceneResMng
private

◆ mStatus

u8 dPa_control_c::mStatus
static

◆ mTsubo

◆ mWaterBubblePcallBack

dPa_wbPcallBack_c dPa_control_c::mWaterBubblePcallBack
static

◆ mWindViewMatrix

Mtx dPa_control_c::mWindViewMatrix
static

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