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

#include <d_map.h>

+ Inheritance diagram for dMap_c:
+ Collaboration diagram for dMap_c:

Public Member Functions

void copyPalette ()
 
void copyPalette (int, int, f32)
 
void setMapPaletteColorAlphaPer (int, f32)
 
void setMapPaletteColorAlphaPer (int, int, f32)
 
void resCopy ()
 
 dMap_c (int, int, int, int)
 
void _remove ()
 
void getMapMinMaxXZ (int, f32 *, f32 *, f32 *, f32 *)
 
void getPack (int, f32 *, f32 *)
 
void calcMapCenterXZ (int, f32 *, f32 *)
 
void calcMapCmPerTexel (int, f32 *)
 
int getDispType () const
 
void _move (f32, f32, int, f32)
 
void _draw ()
 
virtual ~dMap_c ()
 
virtual bool isDrawType (int)
 
virtual const GXColorgetColor (int)
 
virtual bool isRendAllRoom () const
 
virtual int getRoomNoSingle ()
 
virtual bool isDrawRoom (int, int) const
 
virtual bool isDrawRoomIcon (int, int) const
 
virtual const VecgetIconPosition (dTres_c::typeGroupData_c *) const
 
virtual dTres_c::typeGroupData_cgetFirstData (u8)
 
virtual dTres_c::typeGroupData_cgetNextData (dTres_c::typeGroupData_c *)
 
virtual void setAmapPaletteColor (int, u8, u8, u8, u8)
 
virtual bool isSpecialOutline ()
 
bool isDraw () const
 
ResTIMGgetResTIMGPointer ()
 
f32 getTopEdgePlus ()
 
f32 getPackPlusZ ()
 
f32 getPackZ ()
 
f32 getTexelPerCm ()
 
u16 getTexSizeY ()
 
f32 getRightEdgePlus ()
 
f32 getPackX ()
 
- Public Member Functions inherited from renderingAmap_c
int getDispType () const
 
bool isDrawOutSideTrim ()
 
int getOutSideBlackLineNumber ()
 
bool isOutSideBlackLine ()
 
int getLineWidthSub (int)
 
int getStayType () const
 
 renderingAmap_c ()
 
virtual void draw ()
 
virtual ~renderingAmap_c ()
 
virtual GXColorgetLineColor (int, int)
 
virtual int getLineWidth (int)
 
virtual void drawPath ()
 
virtual void rendering (dDrawPath_c::line_class const *)
 
virtual void rendering (dDrawPath_c::poly_class const *)
 
virtual void rendering (dDrawPath_c::room_class const *)
 
virtual void beforeDrawPath ()
 
virtual void afterDrawPath ()
 
virtual const GXColorgetDecoLineColor (int, int)
 
virtual s32 getDecorationLineWidth (int)
 
virtual int getIconGroupNumber (u8) const
 
virtual bool hasMap () const
 
virtual bool isRendDoor () const
 
virtual bool isCheckFloor () const
 
virtual bool isDrawIconSingle2 (dTres_c::data_s const *, bool, bool, int) const
 
virtual bool isRendRestart () const
 
virtual bool isRendCursor () const
 
virtual bool isRendIcon () const
 
virtual f32 getIconSize (u8) const
 
virtual f32 getPlayerCursorSize ()
 
virtual f32 getRestartCursorSize ()
 
- Public Member Functions inherited from renderingPlusDoorAndCursor_c
void drawTreasure ()
 
void drawTreasureAfterPlayer ()
 
void drawIconSingle (Vec const &, f32, f32)
 
void drawCursor (Vec const &, s16, int, f32)
 
 renderingPlusDoorAndCursor_c ()
 
virtual ~renderingPlusDoorAndCursor_c ()
 
- Public Member Functions inherited from renderingPlusDoor_c
 renderingPlusDoor_c ()
 
void drawDoor1 ()
 
void drawDoor2 ()
 
void drawDoorCommon (stage_tgsc_data_class const *, int, bool)
 
bool checkDispDoorS (int, int, f32)
 
void drawNormalDoorS (stage_tgsc_data_class const *, int, int, bool)
 
virtual ~renderingPlusDoor_c ()
 
- Public Member Functions inherited from renderingDAmap_c
void init (u8 *, u16, u16, u16, u16)
 
void entry (f32, f32, f32, int, s8)
 
void isSwitch (dDrawPath_c::group_class const *)
 
void draw ()
 
void getBackColor () const
 
void isRenderingFloor (int)
 
void isDrawRoom (int, int) const
 
void preDrawPath ()
 
void postDrawPath ()
 
void getRoomNoSingle ()
 
void getFirstRoomPointer ()
 
void getNextRoomPointer ()
 
void isDrawPath ()
 
bool getFirstDrawLayerNo ()
 
void getNextDrawLayerNo (int)
 
void isDrawRoomIcon (int, int) const
 
void isDrawIconSingle (dTres_c::data_s const *, int, int, bool, bool, Vec const *) const
 
void getIconGroupNumber (u8) const
 
 renderingDAmap_c ()
 
s8 calcFloorNoForObjectByMapPathRend (f32, int) const
 
void init (u8 *, u16, u16, u16, u16)
 
void entry (f32, f32, f32, int, s8)
 
void setSingleRoomSetting ()
 
int getFirstDrawRoomNo ()
 
int getNextDrawRoomNo (int)
 
virtual ~renderingDAmap_c ()
 
virtual bool isSwitch (dDrawPath_c::group_class const *)
 
virtual bool isRenderingFloor (int)
 
virtual dDrawPath_c::room_classgetFirstRoomPointer ()
 
virtual dDrawPath_c::room_classgetNextRoomPointer ()
 
virtual void preDrawPath ()
 
virtual void postDrawPath ()
 
virtual bool isDrawPath ()
 
virtual const GXColorgetBackColor () const
 
virtual int getFirstDrawLayerNo ()
 
virtual int getNextDrawLayerNo (int)
 
virtual bool isDrawIconSingle (dTres_c::data_s const *, int, int, bool, bool, Vec const *) const
 
bool isDraw () const
 
- Public Member Functions inherited from dRenderingFDAmap_c
void preRenderingMap ()
 
void postRenderingMap ()
 
void getDecoLineColor (int, int)
 
void getDecorationLineWidth (int)
 
 dRenderingFDAmap_c ()
 
void setTevSettingNonTextureDirectColor () const
 
void setTevSettingIntensityTextureToCI () const
 
void drawBack () const
 
void renderingDecoration (dDrawPath_c::line_class const *)
 
virtual ~dRenderingFDAmap_c ()
 
virtual void preRenderingMap ()
 
virtual void postRenderingMap ()
 
bool isDrawAreaCheck (const Vec &param_0)
 
- Public Member Functions inherited from dRenderingMap_c
void makeResTIMG (ResTIMG *, u16, u16, u8 *, u8 *, u16) const
 
void makeResTIMG (ResTIMG *, u16, u16, u8 *, u8 *, u16) const
 
void renderingMap ()
 
virtual ~dRenderingMap_c ()
 
- Public Member Functions inherited from dDrawPathWithNormalPattern_c
virtual ~dDrawPathWithNormalPattern_c ()
 
- Public Member Functions inherited from dDrawPath_c
bool isDrawType (int)
 
void getLineColor (int, int)
 
void rendering (dDrawPath_c::poly_class const *)
 
void rendering (dDrawPath_c::room_class const *)
 
void rendering (dDrawPath_c::line_class const *)
 
void drawPath ()
 
void rendering (dDrawPath_c::group_class const *)
 
void rendering (dDrawPath_c::floor_class const *)
 
virtual ~dDrawPath_c ()
 
- Public Member Functions inherited from dDlst_base_c
 dDlst_base_c ()
 

Private Attributes

dMap_prm_res_sm_res_src
 
dMap_prm_res_sm_res
 
ResTIMGmResTIMG
 
u8mImage_p
 
f32 mCenterX
 
f32 mCenterZ
 
f32 field_0x58
 
f32 mPackX
 
f32 mPackZ
 
f32 field_0x64
 
f32 mPackPlusZ
 
f32 mRightEdgePlus
 
f32 mTopEdgePlus
 
int field_0x74
 
u16 mTexSizeX
 
u16 mTexSizeY
 
int mStayRoomNo
 
int field_0x80
 
int field_0x84
 
int field_0x88
 
u8 field_0x8c
 
u8 field_0x8d
 
u8 field_0x8e
 
u8 field_0x8f
 
u8 field_0x90
 

Additional Inherited Members

- Public Attributes inherited from renderingDAmap_c
int mRoomNo
 
int field_0x28
 
int mRoomNoSingle
 
s8 mRenderedFloor
 
bool mIsDraw
 
- Public Attributes inherited from dRenderingFDAmap_c
u8field_0x4
 
f32 field_0x8
 
f32 field_0xc
 
f32 mPosX
 
f32 mPosZ
 
f32 mCmPerTexel
 
u16 mTexWidth
 
u16 mTexHeight
 
u16 field_0x20
 
u16 field_0x22
 
- Static Public Attributes inherited from renderingAmap_c
static const int PALETTE_NUMBER = 50
 

Constructor & Destructor Documentation

◆ dMap_c()

dMap_c::dMap_c ( int  param_0,
int  param_1,
int  param_2,
int  param_3 
)

◆ ~dMap_c()

virtual dMap_c::~dMap_c ( )
inlinevirtual

Member Function Documentation

◆ _draw()

void dMap_c::_draw ( )

◆ _move()

void dMap_c::_move ( f32  i_centerX,
f32  i_centerZ,
int  i_roomNo,
f32  param_3 
)

◆ _remove()

void dMap_c::_remove ( )

◆ calcMapCenterXZ()

void dMap_c::calcMapCenterXZ ( int  i_roomNo,
f32 param_1,
f32 param_2 
)

◆ calcMapCmPerTexel()

void dMap_c::calcMapCmPerTexel ( int  i_roomNo,
f32 ip_cmPerTexel 
)

◆ copyPalette() [1/2]

void dMap_c::copyPalette ( )

◆ copyPalette() [2/2]

void dMap_c::copyPalette ( int  i_dstPaletteNo,
int  i_srcPaletteNo,
f32  param_2 
)

◆ getColor()

const GXColor * dMap_c::getColor ( int  i_no)
virtual

Implements dDrawPath_c.

◆ getDispType()

int dMap_c::getDispType ( ) const

◆ getFirstData()

dTres_c::typeGroupData_c * dMap_c::getFirstData ( u8  param_0)
virtual

Reimplemented from renderingPlusDoorAndCursor_c.

◆ getIconPosition()

const Vec * dMap_c::getIconPosition ( dTres_c::typeGroupData_c i_data) const
virtual

Reimplemented from renderingPlusDoorAndCursor_c.

◆ getMapMinMaxXZ()

void dMap_c::getMapMinMaxXZ ( int  i_roomNo,
f32 param_1,
f32 param_2,
f32 param_3,
f32 param_4 
)

◆ getNextData()

dTres_c::typeGroupData_c * dMap_c::getNextData ( dTres_c::typeGroupData_c param_0)
virtual

Reimplemented from renderingPlusDoorAndCursor_c.

◆ getPack()

void dMap_c::getPack ( int  param_0,
f32 param_1,
f32 param_2 
)

◆ getPackPlusZ()

f32 dMap_c::getPackPlusZ ( )
inline

◆ getPackX()

f32 dMap_c::getPackX ( )
inline

◆ getPackZ()

f32 dMap_c::getPackZ ( )
inline

◆ getResTIMGPointer()

ResTIMG * dMap_c::getResTIMGPointer ( )
inline

◆ getRightEdgePlus()

f32 dMap_c::getRightEdgePlus ( )
inline

◆ getRoomNoSingle()

int dMap_c::getRoomNoSingle ( )
virtual

Reimplemented from renderingDAmap_c.

◆ getTexelPerCm()

f32 dMap_c::getTexelPerCm ( )
inline

◆ getTexSizeY()

u16 dMap_c::getTexSizeY ( )
inline

◆ getTopEdgePlus()

f32 dMap_c::getTopEdgePlus ( )
inline

◆ isDraw()

bool dMap_c::isDraw ( ) const
inline

◆ isDrawRoom()

bool dMap_c::isDrawRoom ( int  param_0,
int  param_1 
) const
virtual

Reimplemented from renderingDAmap_c.

◆ isDrawRoomIcon()

bool dMap_c::isDrawRoomIcon ( int  param_0,
int  param_1 
) const
virtual

Reimplemented from renderingDAmap_c.

◆ isDrawType()

bool dMap_c::isDrawType ( int  param_0)
virtual

Reimplemented from dDrawPath_c.

◆ isRendAllRoom()

bool dMap_c::isRendAllRoom ( ) const
virtual

Reimplemented from renderingAmap_c.

◆ isSpecialOutline()

bool dMap_c::isSpecialOutline ( )
virtual

Implements renderingAmap_c.

◆ resCopy()

void dMap_c::resCopy ( )

◆ setAmapPaletteColor()

void dMap_c::setAmapPaletteColor ( int  i_paletteNo,
u8  i_r,
u8  i_g,
u8  i_b,
u8  i_scaledA 
)
virtual

Implements renderingAmap_c.

◆ setMapPaletteColorAlphaPer() [1/2]

void dMap_c::setMapPaletteColorAlphaPer ( int  i_paletteNo,
f32  param_1 
)

◆ setMapPaletteColorAlphaPer() [2/2]

void dMap_c::setMapPaletteColorAlphaPer ( int  param_0,
int  param_1,
f32  param_2 
)

Member Data Documentation

◆ field_0x58

f32 dMap_c::field_0x58
private

◆ field_0x64

f32 dMap_c::field_0x64
private

◆ field_0x74

int dMap_c::field_0x74
private

◆ field_0x80

int dMap_c::field_0x80
private

◆ field_0x84

int dMap_c::field_0x84
private

◆ field_0x88

int dMap_c::field_0x88
private

◆ field_0x8c

u8 dMap_c::field_0x8c
private

◆ field_0x8d

u8 dMap_c::field_0x8d
private

◆ field_0x8e

u8 dMap_c::field_0x8e
private

◆ field_0x8f

u8 dMap_c::field_0x8f
private

◆ field_0x90

u8 dMap_c::field_0x90
private

◆ m_res

dMap_prm_res_s* dMap_c::m_res
private

◆ m_res_src

dMap_prm_res_s* dMap_c::m_res_src
private

◆ mCenterX

f32 dMap_c::mCenterX
private

◆ mCenterZ

f32 dMap_c::mCenterZ
private

◆ mImage_p

u8* dMap_c::mImage_p
private

◆ mPackPlusZ

f32 dMap_c::mPackPlusZ
private

◆ mPackX

f32 dMap_c::mPackX
private

◆ mPackZ

f32 dMap_c::mPackZ
private

◆ mResTIMG

ResTIMG* dMap_c::mResTIMG
private

◆ mRightEdgePlus

f32 dMap_c::mRightEdgePlus
private

◆ mStayRoomNo

int dMap_c::mStayRoomNo
private

◆ mTexSizeX

u16 dMap_c::mTexSizeX
private

◆ mTexSizeY

u16 dMap_c::mTexSizeY
private

◆ mTopEdgePlus

f32 dMap_c::mTopEdgePlus
private

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