Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_meter_haihai.h
Go to the documentation of this file.
1#ifndef D_METER_D_METER_HAIHAI_H
2#define D_METER_D_METER_HAIHAI_H
3
4#include "d/d_meter2.h"
5
6class J2DScreen;
7class CPaneMgr;
10class J2DAnmColor;
11
13public:
14 enum {
15 DIR_LEFT_e = (1 << 0),
16 DIR_DOWN_e = (1 << 1),
17 DIR_RIGHT_e = (1 << 2),
18 DIR_UP_e = (1 << 3),
19 };
20
21 /* 8020AE8C */ dMeterHaihai_c(u8);
22 /* 8020B814 */ void drawHaihai(u8, f32, f32, f32, f32);
23 /* 8020B518 */ void drawHaihai(u8);
24 /* 8020B9B0 */ void drawHaihaiLeft(f32, f32);
25 /* 8020BA4C */ void drawHaihaiRight(f32, f32);
26 /* 8020BAE8 */ void drawHaihaiTop(f32, f32);
27 /* 8020BB84 */ void drawHaihaiBottom(f32, f32);
28 /* 8020BC20 */ void setScale(f32);
29 /* 8020BEA0 */ void alphaAnimeHaihai(u32);
30 /* 8020BEA4 */ void updateHaihai();
31 /* 8020BF00 */ void playBckAnime(J2DAnmTransformKey*);
32 /* 8020C078 */ void playBtkAnime(J2DAnmTextureSRTKey*);
33 /* 8020C1CC */ void playBpkAnime(J2DAnmColor*);
34
35 /* 8020B140 */ virtual void draw();
36 /* 8020AEF0 */ virtual ~dMeterHaihai_c();
37 /* 8020AF6C */ virtual int _create();
38 /* 8020B0F4 */ virtual int _execute(u32);
39 /* 8020BDAC */ virtual int _delete();
40
41 void onPlayAllAnime() { mPlayAnimFlags = 0xFF; }
42 bool checkPlayAnime(int i_flag) { return mPlayAnimFlags & (1 << i_flag); }
43
45 /* 0x08 */ CPaneMgr* mpParent;
49 /* 0x18 */ f32 mBckFrame;
50 /* 0x1C */ f32 mBtkFrame;
51 /* 0x20 */ f32 mBpkFrame;
52 /* 0x24 */ u32 mFlags;
53 /* 0x28 */ u8 mType;
54 /* 0x29 */ u8 mPlayAnimFlags;
55};
56
57#endif /* D_METER_D_METER_HAIHAI_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_pane_class.h:13
Definition J2DAnimation.h:381
Definition J2DAnimation.h:203
Definition J2DAnimation.h:166
Definition J2DScreen.h:48
Definition d_meter_haihai.h:12
void playBtkAnime(J2DAnmTextureSRTKey *)
Definition d_meter_haihai.cpp:329
void playBckAnime(J2DAnmTransformKey *)
Definition d_meter_haihai.cpp:304
u32 mFlags
Definition d_meter_haihai.h:52
f32 mBpkFrame
Definition d_meter_haihai.h:51
u8 mPlayAnimFlags
Definition d_meter_haihai.h:54
bool checkPlayAnime(int i_flag)
Definition d_meter_haihai.h:42
J2DScreen * mpHaihaiScreen
Definition d_meter_haihai.h:44
void alphaAnimeHaihai(u32)
Definition d_meter_haihai.cpp:291
J2DAnmColor * mpCursorBpk
Definition d_meter_haihai.h:48
f32 mBckFrame
Definition d_meter_haihai.h:49
void drawHaihaiRight(f32, f32)
Definition d_meter_haihai.cpp:227
virtual int _create()
Definition d_meter_haihai.cpp:25
void onPlayAllAnime()
Definition d_meter_haihai.h:41
void playBpkAnime(J2DAnmColor *)
Definition d_meter_haihai.cpp:353
virtual int _delete()
Definition d_meter_haihai.cpp:272
f32 mBtkFrame
Definition d_meter_haihai.h:50
void setScale(f32)
Definition d_meter_haihai.cpp:252
void drawHaihaiTop(f32, f32)
Definition d_meter_haihai.cpp:236
@ DIR_LEFT_e
Definition d_meter_haihai.h:15
@ DIR_DOWN_e
Definition d_meter_haihai.h:16
@ DIR_RIGHT_e
Definition d_meter_haihai.h:17
@ DIR_UP_e
Definition d_meter_haihai.h:18
J2DAnmTextureSRTKey * mpCursorBtk
Definition d_meter_haihai.h:47
u8 mType
Definition d_meter_haihai.h:53
virtual ~dMeterHaihai_c()
Definition d_meter_haihai.cpp:20
virtual int _execute(u32)
Definition d_meter_haihai.cpp:58
void drawHaihai(u8, f32, f32, f32, f32)
Definition d_meter_haihai.cpp:191
void drawHaihaiLeft(f32, f32)
Definition d_meter_haihai.cpp:219
J2DAnmTransformKey * mpCursorBck
Definition d_meter_haihai.h:46
void updateHaihai()
Definition d_meter_haihai.cpp:294
CPaneMgr * mpParent
Definition d_meter_haihai.h:45
virtual void draw()
Definition d_meter_haihai.cpp:66
void drawHaihaiBottom(f32, f32)
Definition d_meter_haihai.cpp:244
Definition d_meter2.h:20
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
unsigned char u8
Definition types.h:8