Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_meter2_info.h
Go to the documentation of this file.
1#ifndef D_METER_D_METER2_INFO_H
2#define D_METER_D_METER2_INFO_H
3
5
6class CPaneMgr;
7class J2DTextBox;
8struct JMSMesgEntry_c;
9class JUTFont;
10
17
19 static u16 getLetterSubject(int idx) { return letter_data[idx].mSubject; }
20 static u16 getLetterName(int idx) { return letter_data[idx].mName; }
21 static u16 getLetterText(int idx) { return letter_data[idx].mText; }
22 static u16 getLetterEventFlag(int idx) { return letter_data[idx].mEventFlag; }
23
25};
26
27class dMw_c;
28class dMeter2_c;
29class J2DPicture;
30class dMeterMap_c;
31
35
37public:
38 class WarpInfo_c {
39 public:
40 /* 0x00 */ char mStageName[8];
41 /* 0x08 */ cXyz mPosition;
42 /* 0x14 */ s16 mAngle;
43 /* 0x16 */ u8 mRoomNo;
44 /* 0x17 */ u8 unk79;
45 /* 0x18 */ u8 mWarpPlayerNo;
46 };
47
49 virtual ~dMeter2Info_c();
50 void init(void);
51 int setFloatingMessage(u16, s16, bool);
52 int setFloatingFlow(u16, s16, bool);
53 bool isFloatingMessageVisible(void);
55 void resetFloatingMessage(void);
56 void decMsgKeyWaitTimer(void);
57 void getString(u32, char*, JMSMesgEntry_c*); // define JMSMesgEntry
58 void getStringKana(u32, char*, JMSMesgEntry_c*);
59 void getStringKanji(u32, char*, JMSMesgEntry_c*);
62 void onDirectUseItem(int);
65 void resetWarpStatus(void);
66 void warpInProc(void);
67 void warpOutProc(void);
68 void resetMeterString(void);
69 void setWarpInfo(const char*, const cXyz&, s16, u8, u8, u8);
71 int readItemTexture(u8, void*, J2DPicture*, void*, J2DPicture*, void*, J2DPicture*, void*,
72 J2DPicture*, int);
82 void decHotSpringTimer(void);
83 void changeWater(u8);
84 void setMiniGameItem(u8);
85 void resetMiniGameItem(bool);
86 void setMiniGameCount(s8);
87 void setSaveStageName(const char*);
88
107 const char* getWarpStageName() { return mWarpInfo.mStageName; }
108 void setNowCount(u8 count) { mNowCount = count; }
109 void setMaxCount(u8 count) { mMaxCount = count; }
110 void allUseButton() { mUseButton = -1; }
111 bool isUseButton(int param_0) { return param_0 & mUseButton; }
120 bool isGameStatus(int status) { return mGameStatus & status; }
121 bool isTouchKeyCheck(int i_status) { return mTouchKeyCheck & (1 << i_status); }
122 // fake function, should be isTouchKeyCheck
124 void setMapKeyDirection(u16 direction) { mMapKeyDirection = direction; }
125 bool isSub2DStatus(int flag) { return mSub2DStatus & (1 << flag); }
126 void offMenuInForce(int flag) { unk152 &= ~(1 << flag); }
127 bool isMenuInForce(int flag) { return unk152 & (1 << flag); }
133 void* getMsgResource() { return mMsgResource; }
142 const char* getSaveStageName() { return mSaveStageName; }
143 void onShopTalkFlag() { mShopTalkFlag = true; }
144 void offShopTalkFlag() { mShopTalkFlag = false; }
145 void setLightDropGetFlag(int index, u8 flag) { mLightDropGetFlag[index] = flag; }
158 u32 getTimeMs() { return mTimeMs; }
159 int getNowCount() { return mNowCount; }
160 int getMaxCount() { return mMaxCount; }
168 bool isBlinkButton(int i_flag) { return mBlinkButton & i_flag; }
174 bool isShopTalkFlag() { return mShopTalkFlag != false; }
182 bool isTempBit(int bit) { return mTempBits & (1 << bit); }
183 void offSub2DStatus(int bit) { mSub2DStatus &= ~(1 << bit); }
184 void onSub2DStatus(int bit) { mSub2DStatus |= 1 << bit; }
185 void set2DWidth(float width) { m2DWidth = width; }
186 void set2DHeight(float height) { m2DHeight = height; }
187 void set2DPosH(float posH) { m2DPosH = posH; }
188 void set2DPosV(float posV) { m2DPosV = posV; }
190 f32 get2DWidth() { return m2DWidth; }
194
195public:
196 /* 0x04 */ u8 unk4[4];
197 /* 0x08 */ u64 unk8;
198 /* 0x10 */ void* mMsgResource;
199 /* 0x14 */ void* mStageMsgResource;
200 /* 0x18 */ void* mMsgUnitResource;
206 /* 0x54 */ f32 unk84;
207 /* 0x58 */ f32 unk88;
208 /* 0x5C */ f32 unk92;
209 /* 0x60 */ f32 unk96;
210 /* 0x64 */ f32 unk100;
211 /* 0x68 */ f32 unk104;
212 /* 0x6C */ f32 unk108;
213 /* 0x70 */ f32 m2DWidth;
214 /* 0x74 */ f32 m2DHeight;
215 /* 0x78 */ f32 m2DPosH;
216 /* 0x7C */ f32 m2DPosV;
217 /* 0x80 */ f32 unk128;
218 /* 0x84 */ s32 mTimeMs;
219 /* 0x88 */ u32 mMsgTimeMs;
220 /* 0x8C */ s32 mMeterString;
221 /* 0x90 */ u32 mTempBits;
224 /* 0x98 */ u16 unk152;
225 /* 0x9A */ u16 mHotSpringTimer[4];
226 /* 0xA2 */ u16 mSub2DStatus;
231 /* 0xAC */ u16 mBlinkButton;
232 /* 0xAE */ u16 mUseButton;
233 /* 0xB0 */ u16 mGameStatus;
234 /* 0xB2 */ u16 mTouchKeyCheck;
235 /* 0xB4 */ u16 mWindowAccept;
237 /* 0xB8 */ u8 mDirectUseItem;
238 /* 0xB9 */ u8 mWindowStatus; // 0: normal play, 2: item wheel, 3: pause menu, 4: map, 10: pause
239 // menu submenus, 11: map in dungeon
240 /* 0xBA */ u8 unk186;
241 /* 0xBB */ u8 mMaxCount;
242 /* 0xBC */ u8 mNowCount;
243 /* 0xBD */ bool mShopTalkFlag;
244 /* 0xBE */ u8 unk190;
245 /* 0xBF */ u8 mMapStatus;
246 /* 0xC0 */ u8 mWarpStatus;
247 /* 0xC1 */ u8 mPauseStatus;
248 /* 0xC2 */ u8 mGameOverType;
250 /* 0xC4 */ u8 mSaveSelItemIdx[4];
251 /* 0xC8 */ u8 mSaveMixItemIdx[4];
252 /* 0xCC */ u8 mSaveBombNum;
253 /* 0xCD */ u8 mSaveArrowNum;
254 /* 0xCE */ u8 mSaveBowItem;
255 /* 0xCF */ u8 mSaveBombItem;
256 /* 0xD0 */ u8 mSaveSelItemIdxMG[4];
257 /* 0xD4 */ u8 mSaveMixItemIdxMG[4];
258 /* 0xD8 */ u8 mSaveBombNumMG;
259 /* 0xD9 */ u8 mSaveArrowNumMG;
260 /* 0xDA */ u8 mSaveBowItemMG;
261 /* 0xDB */ u8 mSaveBombItemMG;
263 /* 0xDD */ u8 mMiniGameItemSetFlag; // 1: rented in game, 3: rented not in game
264 /* 0xDE */ u8 mMiniGameCount;
269 /* 0xE3 */ u8 mLightDropGetFlag[3];
270 /* 0xE6 */ u8 mLifeGaugeSE;
273 /* 0xE9 */ char mSaveStageName[8];
275 /* 0xF2 */ u8 mMapDrugFlag;
276 /* 0xF3 */ u8 unk243[5];
277};
278
280
281void dMeter2Info_setSword(u8, bool);
291 f32 param_5, struct ResTIMG const* param_6);
292
295}
296
300
304
308
312
316
320
324
328
332
336
340
341inline void dMeter2Info_setSaveStageName(const char* name) {
343}
344
348
352
356
360
362 void* param_3, J2DPicture* param_4, void* param_5,
364 int param_9) {
365 return g_meter2_info.readItemTexture(i_itemNo, param_1, param_2, param_3, param_4, param_5,
367}
368
373
377
381
385
386inline const char* dMeter2Info_getWarpStageName() {
388}
389
390inline void dMeter2Info_setNowCount(u8 count) {
392}
393
394inline void dMeter2Info_setMaxCount(u8 count) {
396}
397
401
405
409
413
417
421
425
429
433
437
441
445
449
453
457
458// fake function, should be dMeter2Info_isTouchKeyCheck
462
463inline void dMeter2Info_setMapKeyDirection(u16 direction) {
465}
466
469}
470
474
477}
478
482
486
490
494
498
502
506
509}
510
514
518
522
526
530
534
538
542
543inline const char* dMeter2Info_getSaveStageName() {
545}
546
550
554
558
562
566
570
574
578
582
586
590
594
598
602
606
610
614
618
622
624 return g_meter2_info.getTimeMs();
625}
626
630
634
636 return g_meter2_info.getNowCount();
637}
638
640 return g_meter2_info.getMaxCount();
641}
642
646
650
654
658
662
666
670
674
678
682
686
690
694
698
702
706
710
714
718
722
726
729}
730
734
735inline bool dMeter2Info_isTempBit(int bit) {
737}
738
742
746
747inline void dMeter2Info_set2DWidth(float width) {
749}
750
751inline void dMeter2Info_set2DHeight(float height) {
753}
754
755inline void dMeter2Info_set2DPosH(float posH) {
757}
758
759inline void dMeter2Info_set2DPosV(float posV) {
761}
762
766
770
774
778
783
787
791
799
800#endif /* D_METER_D_METER2_INFO_H */
OSTime time
Definition GXInit.c:61
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_pane_class.h:13
Definition J2DPicture.h:55
Definition J2DTextBox.h:57
Definition d_a_balloon_2D.h:171
Definition JUTFont.h:69
Definition d_meter2_info.h:38
char mStageName[8]
Definition d_meter2_info.h:40
cXyz mPosition
Definition d_meter2_info.h:41
u8 mWarpPlayerNo
Definition d_meter2_info.h:45
s16 mAngle
Definition d_meter2_info.h:42
u8 unk79
Definition d_meter2_info.h:44
u8 mRoomNo
Definition d_meter2_info.h:43
Definition d_meter2_info.h:36
u8 getLifeGaugeSE()
Definition d_meter2_info.h:141
void * getStageMsgResource()
Definition d_meter2_info.h:134
dMeter2Info_c()
Definition d_meter2_info.cpp:16
int getNowCount()
Definition d_meter2_info.h:159
u16 getFloatingFlowID()
Definition d_meter2_info.h:165
u8 getItemType(u8)
Definition d_meter2_info.cpp:404
void resetGameStatus()
Definition d_meter2_info.h:113
void * mMsgResource
Definition d_meter2_info.h:198
u8 getWarpRoomNo()
Definition d_meter2_info.h:104
void setMsgTimeMs(u32 msgTime)
Definition d_meter2_info.h:156
void onDirectUseItem(int)
Definition d_meter2_info.cpp:297
u8 unk186
Definition d_meter2_info.h:240
void onShopTalkFlag()
Definition d_meter2_info.h:143
f32 get2DWidth()
Definition d_meter2_info.h:190
u8 getGoldWolfMapType()
Definition d_meter2_info.h:193
void setWarpInfo(const char *, const cXyz &, s16, u8, u8, u8)
Definition d_meter2_info.cpp:393
u8 getRentalBombBag()
Definition d_meter2_info.h:146
u16 getMapKeyDirection()
Definition d_meter2_info.h:128
f32 unk108
Definition d_meter2_info.h:212
u32 mMsgTimeMs
Definition d_meter2_info.h:219
u16 mUseButton
Definition d_meter2_info.h:232
s32 mMeterString
Definition d_meter2_info.h:220
void onLifeGaugeSE()
Definition d_meter2_info.h:139
void set3rdColor(u8, J2DPicture *)
Definition d_meter2_info.cpp:912
s32 mTimeMs
Definition d_meter2_info.h:218
u8 getMiniGameItemSetFlag()
Definition d_meter2_info.h:150
bool isFloatingMessageWakuVisible()
Definition d_meter2_info.h:166
u8 mSaveMixItemIdx[4]
Definition d_meter2_info.h:251
void * mMsgUnitResource
Definition d_meter2_info.h:200
f32 unk100
Definition d_meter2_info.h:210
void set2ndColor(u8, J2DPicture *)
Definition d_meter2_info.cpp:805
u8 mItemExplainWindowStatus
Definition d_meter2_info.h:272
f32 unk84
Definition d_meter2_info.h:206
void resetMiniGameItem(bool)
Definition d_meter2_info.cpp:1045
void resetFloatingMessage(void)
Definition d_meter2_info.cpp:175
void * getMsgUnitResource()
Definition d_meter2_info.h:135
char mSaveStageName[8]
Definition d_meter2_info.h:273
void resetPauseStatus()
Definition d_meter2_info.h:118
void getStringKanji(u32, char *, JMSMesgEntry_c *)
Definition d_meter2_info.cpp:237
dMeter2_c * mMeterClass
Definition d_meter2_info.h:201
void setItemExplainWindowStatus(u8 i_value)
Definition d_meter2_info.h:163
u8 getMapStatus()
Definition d_meter2_info.h:116
void setTableMapRegionNo(u8 regionNo)
Definition d_meter2_info.h:147
void offMenuInForce(int flag)
Definition d_meter2_info.h:126
BOOL isDirectUseItem(int)
Definition d_meter2_info.cpp:303
void offShopTalkFlag()
Definition d_meter2_info.h:144
void resetWarpStatus(void)
Definition d_meter2_info.cpp:335
void setMeterItemPanePtr(int i_no, CPaneMgr *i_pane)
Definition d_meter2_info.h:173
void set1stColor(u8, J2DPicture *)
Definition d_meter2_info.cpp:698
const char * getWarpStageName()
Definition d_meter2_info.h:107
int setFloatingFlow(u16, s16, bool)
Definition d_meter2_info.cpp:139
f32 get2DHeight()
Definition d_meter2_info.h:191
void getString(u32, char *, JMSMesgEntry_c *)
Definition d_meter2_info.cpp:191
dMw_c * getMenuWindowClass()
Definition d_meter2_info.h:96
void setWindowStatus(u8 status)
Definition d_meter2_info.h:89
u32 getMsgTimeMs()
Definition d_meter2_info.h:155
void onGameStatus(int status)
Definition d_meter2_info.h:114
u8 mPauseStatus
Definition d_meter2_info.h:247
bool isShopTalkFlag()
Definition d_meter2_info.h:174
u8 mDirectUseItem
Definition d_meter2_info.h:237
void setHotSpringTimer(u8)
Definition d_meter2_info.cpp:944
void setItemColor(u8, J2DPicture *, J2DPicture *, J2DPicture *, J2DPicture *)
Definition d_meter2_info.cpp:581
s16 get2ndTexture(u8)
Definition d_meter2_info.cpp:606
u16 getFloatingMessageID()
Definition d_meter2_info.h:171
u8 mSaveBowItem
Definition d_meter2_info.h:254
u8 mInsectSelectType
Definition d_meter2_info.h:249
bool isBlinkButton(int i_flag)
Definition d_meter2_info.h:168
u8 mSaveBombItem
Definition d_meter2_info.h:255
s16 get4thTexture(u8)
Definition d_meter2_info.cpp:681
u8 mMapStatus
Definition d_meter2_info.h:245
u16 mTouchKeyCheck
Definition d_meter2_info.h:234
u8 mCollectCursorPosX
Definition d_meter2_info.h:265
void setMenuWindowClass(dMw_c *p_menu)
Definition d_meter2_info.h:95
u8 mSaveMixItemIdxMG[4]
Definition d_meter2_info.h:257
int setFloatingMessage(u16, s16, bool)
Definition d_meter2_info.cpp:126
u16 mOilGaugeBackUp
Definition d_meter2_info.h:236
u32 getTimeMs()
Definition d_meter2_info.h:158
s16 decFloatingMessageTimer(void)
Definition d_meter2_info.cpp:165
u16 mBlinkButton
Definition d_meter2_info.h:231
u16 unk152
Definition d_meter2_info.h:224
u8 mCollectCursorPosY
Definition d_meter2_info.h:266
void getStringKana(u32, char *, JMSMesgEntry_c *)
Definition d_meter2_info.cpp:231
u8 mMiniGameCount
Definition d_meter2_info.h:264
void setMeterMapClass(dMeterMap_c *p_map)
Definition d_meter2_info.h:112
u8 getWarpPlayerNo()
Definition d_meter2_info.h:105
int getMaxCount()
Definition d_meter2_info.h:160
void * mStageMsgResource
Definition d_meter2_info.h:199
u16 mFloatingMessageID
Definition d_meter2_info.h:228
void setMsgKeyWaitTimer(s16 i_waitTimer)
Definition d_meter2_info.h:154
u16 mGameStatus
Definition d_meter2_info.h:233
f32 unk128
Definition d_meter2_info.h:217
f32 unk92
Definition d_meter2_info.h:208
void resetMeterString(void)
Definition d_meter2_info.cpp:387
void resetBlinkButton()
Definition d_meter2_info.h:169
u8 mSaveBowItemMG
Definition d_meter2_info.h:260
virtual ~dMeter2Info_c()
Definition d_meter2_info.cpp:21
u8 getInsectSelectType()
Definition d_meter2_info.h:100
void init(void)
Definition d_meter2_info.cpp:24
bool mFloatingMessageWakuVisible
Definition d_meter2_info.h:274
void set2DWidth(float width)
Definition d_meter2_info.h:185
u8 getTableMapRegionNo()
Definition d_meter2_info.h:192
void setInsectSelectType(u8 i_type)
Definition d_meter2_info.h:101
bool isTouchKeyCheck(int i_status)
Definition d_meter2_info.h:121
const char * getSaveStageName()
Definition d_meter2_info.h:142
s16 get3rdTexture(u8)
Definition d_meter2_info.cpp:659
void setTimeMs(s32 i_time)
Definition d_meter2_info.h:157
void decHotSpringTimer(void)
Definition d_meter2_info.cpp:950
bool mShopTalkFlag
Definition d_meter2_info.h:243
void setMsgUnitResource(void *res)
Definition d_meter2_info.h:132
void resetDirectUseItem()
Definition d_meter2_info.h:164
void setMsgResource(void *res)
Definition d_meter2_info.h:130
cXyz & getWarpPos()
Definition d_meter2_info.h:106
bool isSub2DStatus(int flag)
Definition d_meter2_info.h:125
bool isMenuInForce(int flag)
Definition d_meter2_info.h:127
bool isFloatingMessageVisible(void)
Definition d_meter2_info.cpp:159
u8 mMapDrugFlag
Definition d_meter2_info.h:275
void onUseButton(int i_button)
Definition d_meter2_info.h:189
dMw_c * mMenuWindowClass
Definition d_meter2_info.h:203
s16 getMsgKeyWaitTimer()
Definition d_meter2_info.h:151
WarpInfo_c mWarpInfo
Definition d_meter2_info.h:205
void changeWater(u8)
Definition d_meter2_info.cpp:962
int readItemTexture(u8, void *, J2DPicture *, void *, J2DPicture *, void *, J2DPicture *, void *, J2DPicture *, int)
Definition d_meter2_info.cpp:492
void set4thColor(u8, J2DPicture *)
Definition d_meter2_info.cpp:936
s16 getFloatingMessageTimer()
Definition d_meter2_info.h:170
f32 getStringLength(J2DTextBox *, char *)
Definition d_meter2_info.cpp:244
u8 getItemExplainWindowStatus()
Definition d_meter2_info.h:162
u32 getMeterStringType()
Definition d_meter2_info.h:137
u8 mMiniGameItemSetFlag
Definition d_meter2_info.h:263
u8 unk4[4]
Definition d_meter2_info.h:196
void setSaveStageName(const char *)
Definition d_meter2_info.cpp:1092
void setMiniGameCount(s8)
Definition d_meter2_info.cpp:1081
u16 mMapKeyDirection
Definition d_meter2_info.h:230
u16 mWindowAccept
Definition d_meter2_info.h:235
u8 mSaveBombItemMG
Definition d_meter2_info.h:261
void setMapStatus(u8 status)
Definition d_meter2_info.h:115
bool isGameStatus(int status)
Definition d_meter2_info.h:120
dMeter2_c * getMeterClass()
Definition d_meter2_info.h:149
u8 getCollectCursorPosY()
Definition d_meter2_info.h:176
u8 mSaveBombNum
Definition d_meter2_info.h:252
u8 unk243[5]
Definition d_meter2_info.h:276
s16 mMsgKeyWaitTimer
Definition d_meter2_info.h:222
u16 mHotSpringTimer[4]
Definition d_meter2_info.h:225
void setLightDropGetFlag(int index, u8 flag)
Definition d_meter2_info.h:145
CPaneMgr * getMeterItemPanePtr(s32 i_idx)
Definition d_meter2_info.h:97
void setScopeZoomPointer(u8 param_0)
Definition d_meter2_info.h:161
u8 mSaveSelItemIdx[4]
Definition d_meter2_info.h:250
u8 getCollectCursorPosX()
Definition d_meter2_info.h:175
u8 mWindowStatus
Definition d_meter2_info.h:238
u16 mFloatingFlowID
Definition d_meter2_info.h:227
dMeterMap_c * getMeterMapClass()
Definition d_meter2_info.h:94
u8 mSaveBombNumMG
Definition d_meter2_info.h:258
dMeterMap_c * mMeterMap
Definition d_meter2_info.h:202
u8 mLightDropGetFlag[3]
Definition d_meter2_info.h:269
CPaneMgr * mMeterItemPanePtr[4]
Definition d_meter2_info.h:204
u8 getPauseStatus()
Definition d_meter2_info.h:119
void setNowCount(u8 count)
Definition d_meter2_info.h:108
u8 getWindowStatus()
Definition d_meter2_info.h:129
void setStageMsgResource(void *res)
Definition d_meter2_info.h:131
void setWarpStatus(u8 status)
Definition d_meter2_info.h:103
void setGoldWolfMapType(u8 i_mapType)
Definition d_meter2_info.h:148
u8 mSaveArrowNum
Definition d_meter2_info.h:253
u8 mScopeZoomPointer
Definition d_meter2_info.h:271
void onSub2DStatus(int bit)
Definition d_meter2_info.h:184
u8 mGoldWolfMapType
Definition d_meter2_info.h:268
u8 getLightDropGetFlag(int i)
Definition d_meter2_info.h:136
u8 mTableMapRegionNo
Definition d_meter2_info.h:267
void setMeterClass(dMeter2_c *meter)
Definition d_meter2_info.h:138
void * getMsgResource()
Definition d_meter2_info.h:133
u16 getOilGaugeBackUp()
Definition d_meter2_info.h:99
f32 unk88
Definition d_meter2_info.h:207
u8 mSaveSelItemIdxMG[4]
Definition d_meter2_info.h:256
u8 getWarpStatus()
Definition d_meter2_info.h:102
u8 mGameOverType
Definition d_meter2_info.h:248
void set2DHeight(float height)
Definition d_meter2_info.h:186
s16 mFloatingMessageTimer
Definition d_meter2_info.h:229
f32 m2DWidth
Definition d_meter2_info.h:213
f32 unk104
Definition d_meter2_info.h:211
u8 mRentalBombBagIdx
Definition d_meter2_info.h:262
void allUseButton()
Definition d_meter2_info.h:110
void warpOutProc(void)
Definition d_meter2_info.cpp:353
void setGameOverType(u8 i_gameoverType)
Definition d_meter2_info.h:153
void offSub2DStatus(int bit)
Definition d_meter2_info.h:183
bool isUseButton(int param_0)
Definition d_meter2_info.h:111
u8 mNowCount
Definition d_meter2_info.h:242
void setCollectCursorPosXY(u8 x, u8 y)
Definition d_meter2_info.h:177
u64 unk8
Definition d_meter2_info.h:197
f32 m2DPosV
Definition d_meter2_info.h:216
void setMapDrugFlag(u8 flag)
Definition d_meter2_info.h:181
void setMapKeyDirection(u16 direction)
Definition d_meter2_info.h:124
void offLifeGaugeSE()
Definition d_meter2_info.h:140
void warpInProc(void)
Definition d_meter2_info.cpp:343
u8 getGameOverType()
Definition d_meter2_info.h:152
f32 m2DPosH
Definition d_meter2_info.h:215
void setMaxCount(u8 count)
Definition d_meter2_info.h:109
void onBlinkButton(int i_flag)
Definition d_meter2_info.h:167
u8 mWarpStatus
Definition d_meter2_info.h:246
u16 mSub2DStatus
Definition d_meter2_info.h:226
u8 mSaveArrowNumMG
Definition d_meter2_info.h:259
void setMiniGameItem(u8)
Definition d_meter2_info.cpp:979
void setPauseStatus(u8 status)
Definition d_meter2_info.h:117
f32 m2DHeight
Definition d_meter2_info.h:214
bool isTouchKeyCheck_alt(int i_status)
Definition d_meter2_info.h:123
u8 mLifeGaugeSE
Definition d_meter2_info.h:270
bool isTempBit(int bit)
Definition d_meter2_info.h:182
u32 mTempBits
Definition d_meter2_info.h:221
void set2DPosH(float posH)
Definition d_meter2_info.h:187
u8 & getDirectUseItem()
Definition d_meter2_info.h:93
int setMeterString(s32)
Definition d_meter2_info.cpp:312
u8 mMaxCount
Definition d_meter2_info.h:241
void decMsgKeyWaitTimer(void)
Definition d_meter2_info.cpp:183
void offUseButton(int pButton)
Definition d_meter2_info.h:98
s16 getHorseLifeCount()
Definition d_meter2_info.h:172
u8 unk190
Definition d_meter2_info.h:244
f32 unk96
Definition d_meter2_info.h:209
s16 mHorseLifeCount
Definition d_meter2_info.h:223
void set2DPosV(float posV)
Definition d_meter2_info.h:188
Definition d_meter2.h:30
Definition d_meter_map.h:8
Definition d_menu_window.h:109
bool dMeter2Info_isFloatingMessageWakuVisible()
Definition d_meter2_info.h:687
u32 dMeter2Info_getMsgTimeMs()
Definition d_meter2_info.h:619
void dMeter2Info_set2DHeight(float height)
Definition d_meter2_info.h:751
void dMeter2Info_set2DVibration()
Definition d_meter2_info.cpp:1328
void dMeter2Info_setMsgUnitResource(void *res)
Definition d_meter2_info.h:503
bool dMeter2Info_isMapOpenCheck()
Definition d_meter2_info.cpp:1202
const char * dMeter2Info_getNumberTextureName(int pIndex)
Definition d_meter2_info.cpp:1102
bool dMeter2Info_isShopTalkFlag()
Definition d_meter2_info.h:727
int dMeter2Info_getMaxCount()
Definition d_meter2_info.h:639
void dMeter2Info_getStringKana(u32 param_0, char *param_1, JMSMesgEntry_c *param_2)
Definition d_meter2_info.h:321
bool dMeter2Info_getPixel(f32 param_0, f32 param_1, f32 param_2, f32 param_3, f32 param_4, f32 param_5, struct ResTIMG const *param_6)
void dMeter2Info_setMapDrugFlag(u8 flag)
Definition d_meter2_info.h:731
bool dMeter2Info_isBlinkButton(int i_flag)
Definition d_meter2_info.h:691
u8 dMeter2Info_getWarpPlayerNo()
Definition d_meter2_info.h:378
u16 dMeter2Info_getOilGaugeBackUp()
Definition d_meter2_info.h:337
void * dMeter2Info_getMsgUnitResource()
Definition d_meter2_info.h:515
void dMeter2Info_resetPauseStatus()
Definition d_meter2_info.h:442
void dMeter2Info_setFloatingFlow(u16 param_0, s16 param_1, bool param_2)
Definition d_meter2_info.h:603
const char * dMeter2Info_getPlusTextureName()
Definition d_meter2_info.cpp:1114
void dMeter2Info_setItemColor(u8 param_0, J2DPicture *param_1, J2DPicture *param_2, J2DPicture *param_3, J2DPicture *param_4)
Definition d_meter2_info.h:369
void dMeter2Info_setTimeMs(s32 i_time)
Definition d_meter2_info.h:631
void dMeter2Info_setGameOverType(u8 i_gameoverType)
Definition d_meter2_info.h:611
void dMeter2Info_setHotSpringTimer(u8 time)
Definition d_meter2_info.h:333
u8 dMeter2Info_getGameOverType()
Definition d_meter2_info.h:607
u8 dMeter2Info_getTableMapRegionNo()
Definition d_meter2_info.h:784
void dMeter2Info_setSword(u8, bool)
Definition d_meter2_info.cpp:1153
void dMeter2Info_set2DVibrationM()
Definition d_meter2_info.cpp:1332
f32 dMeter2Info_get2DHeight()
Definition d_meter2_info.h:775
void dMeter2Info_setScopeZoomPointer(u8 param_0)
Definition d_meter2_info.h:643
const char * dMeter2Info_getSaveStageName()
Definition d_meter2_info.h:543
void dMeter2Info_changeWater(u8 bottleIdx)
Definition d_meter2_info.h:579
s16 dMeter2Info_getMsgKeyWaitTimer()
Definition d_meter2_info.h:595
void dMeter2Info_warpOutProc()
Definition d_meter2_info.h:587
void dMeter2Info_setMapStatus(u8 status)
Definition d_meter2_info.h:430
void dMeter2Info_offMenuInForce(int flag)
Definition d_meter2_info.h:471
dMeterMap_c * dMeter2Info_getMeterMapClass()
Definition d_meter2_info.h:297
void dMeter2Info_setMsgResource(void *res)
Definition d_meter2_info.h:495
void dMeter2Info_setStageMsgResource(void *res)
Definition d_meter2_info.h:499
void dMeter2Info_warpInProc()
Definition d_meter2_info.h:583
void dMeter2Info_decHotSpringTimer()
Definition d_meter2_info.h:410
u8 dMeter2Info_getInsectSelectType()
Definition d_meter2_info.h:345
bool dMeter2Info_isGameStatus(int status)
Definition d_meter2_info.h:450
void i_dMeter2Info_offUseButton(int flag)
Definition d_meter2_info.h:418
void dMeter2Info_setSaveStageName(const char *name)
Definition d_meter2_info.h:341
cXyz & dMeter2Info_getWarpPos()
Definition d_meter2_info.h:382
const char * dMeter2Info_getWarpStageName()
Definition d_meter2_info.h:386
int dMeter2Info_recieveLetter()
Definition d_meter2_info.cpp:1304
void dMeter2Info_setInsectSelectType(u8 i_type)
Definition d_meter2_info.h:349
BOOL dMeter2Info_isDirectUseItem(int param_0)
Definition d_meter2_info.h:398
CPaneMgr * dMeter2Info_getMeterItemPanePtr(s32 i_idx)
Definition d_meter2_info.h:309
void dMeter2Info_setNowCount(u8 count)
Definition d_meter2_info.h:390
u8 dMeter2Info_getPauseStatus()
Definition d_meter2_info.h:446
static void dMeter2Info_setFloatingMessage(u16 pMessageID, s16 pMessageTimer, bool pWakuVisible)
u8 dMeter2Info_getLifeGaugeSE()
Definition d_meter2_info.h:539
u32 dMeter2Info_getTimeMs()
Definition d_meter2_info.h:623
void dMeter2Info_setPauseStatus(u8 status)
Definition d_meter2_info.h:438
void dMeter2Info_setMapKeyDirection(u16 direction)
Definition d_meter2_info.h:463
void dMeter2Info_setShield(u8 i_itemId, bool param_1)
Definition d_meter2_info.cpp:1175
u8 dMeter2Info_getWarpStatus()
Definition d_meter2_info.h:353
bool dMeter2Info_isSub2DStatus(int flag)
Definition d_meter2_info.h:467
s16 dMeter2Info_getFloatingMessageTimer()
Definition d_meter2_info.h:707
u8 dMeter2Info_getItemExplainWindowStatus()
Definition d_meter2_info.h:655
f32 dMeter2Info_get2DWidth()
Definition d_meter2_info.h:771
void dMeter2Info_getStringKanji(u32 param_0, char *param_1, JMSMesgEntry_c *param_2)
Definition d_meter2_info.h:317
void dMeter2Info_onDirectUseItem(int param_0)
Definition d_meter2_info.h:599
void dMeter2Info_offSub2DStatus(int bit)
Definition d_meter2_info.h:739
bool dMeter2Info_isTempBit(int bit)
Definition d_meter2_info.h:735
dMw_c * dMeter2Info_getMenuWindowClass()
Definition d_meter2_info.h:301
u8 dMeter2Info_getCollectCursorPosY()
Definition d_meter2_info.h:675
void dMeter2Info_setWarpStatus(u8 status)
Definition d_meter2_info.h:357
void dMeter2Info_setMsgKeyWaitTimer(s16 i_waitTimer)
Definition d_meter2_info.h:615
void dMeter2Info_resetFloatingMessage()
Definition d_meter2_info.h:699
void dMeter2Info_offLifeGaugeSE()
Definition d_meter2_info.h:535
u8 dMeter2Info_getMiniGameItemSetFlag()
Definition d_meter2_info.h:559
void dMeter2Info_Initialize()
Definition d_meter2_info.h:293
void dMeter2Info_getString(u32 param_0, char *param_1, JMSMesgEntry_c *param_2)
Definition d_meter2_info.h:313
void dMeter2Info_resetWarpStatus()
Definition d_meter2_info.h:483
u8 dMeter2Info_getGoldWolfMapType()
Definition d_meter2_info.h:788
s32 dMeter2Info_getMeterStringType()
Definition d_meter2_info.h:523
u8 dMeter2Info_getWindowStatus()
Definition d_meter2_info.h:491
void dMeter2Info_offShopTalkFlag()
Definition d_meter2_info.h:763
u8 dMeter2Info_getRentalBombBag()
Definition d_meter2_info.h:555
void dMeter2Info_setWindowStatus(u8 status)
Definition d_meter2_info.h:305
void dMeter2Info_setWarpInfo(const char *i_stageName, const cXyz &i_position, s16 i_angle, u8 i_roomNo, u8 param_4, u8 i_warpPlayerNo)
Definition d_meter2_info.h:779
int dMeter2Info_setNewLetterSender()
Definition d_meter2_info.cpp:1282
void * dMeter2Info_getStageMsgResource()
Definition d_meter2_info.h:511
u16 dMeter2Info_getMapKeyDirection()
Definition d_meter2_info.h:487
void dMeter2Info_set2DPosH(float posH)
Definition d_meter2_info.h:755
void dMeter2Info_setLightDropGetFlag(int index, u8 flag)
Definition d_meter2_info.h:551
int dMeter2Info_readItemTexture(u8 i_itemNo, void *param_1, J2DPicture *param_2, void *param_3, J2DPicture *param_4, void *param_5, J2DPicture *param_6, void *param_7, J2DPicture *param_8, int param_9)
Definition d_meter2_info.h:361
u8 dMeter2Info_getNewLetterNum()
Definition d_meter2_info.cpp:1266
static void dMeter2Info_offUseButton(int pButton)
bool dMeter2Info_isMenuInForce(int flag)
Definition d_meter2_info.h:475
void dMeter2Info_decMsgKeyWaitTimer()
Definition d_meter2_info.h:647
dMeter2Info_warpStatus
Definition d_meter2_info.h:32
@ WARP_STATUS_DECIDED_e
Definition d_meter2_info.h:33
void dMeter2Info_setMeterMapClass(dMeterMap_c *p_map)
Definition d_meter2_info.h:406
void dMeter2Info_resetGameStatus()
Definition d_meter2_info.h:422
dMeter2_c * dMeter2Info_getMeterClass()
Definition d_meter2_info.h:591
void dMeter2Info_setMiniGameItem(u8 item)
Definition d_meter2_info.h:563
u8 dMeter2Info_getRecieveLetterNum()
Definition d_meter2_info.cpp:1254
bool dMeter2Info_isTouchKeyCheck(int i_status)
Definition d_meter2_info.h:454
bool dMeter2Info_is2DActiveTouchArea()
Definition d_meter2_info.cpp:1197
bool dMeter2Info_isItemOpenCheck()
Definition d_meter2_info.cpp:1207
void dMeter2Info_setMaxCount(u8 count)
Definition d_meter2_info.h:394
void dMeter2Info_setMsgTimeMs(u32 msgTime)
Definition d_meter2_info.h:627
void dMeter2Info_setCloth(u8 i_clothId, bool param_1)
Definition d_meter2_info.cpp:1132
bool dMeter2Info_isTouchKeyCheck_alt(int i_status)
Definition d_meter2_info.h:459
void dMeter2Info_setGoldWolfMapType(u8 i_mapType)
Definition d_meter2_info.h:575
u8 dMeter2Info_getWarpRoomNo()
Definition d_meter2_info.h:374
void dMeter2Info_onSub2DStatus(int bit)
Definition d_meter2_info.h:743
void dMeter2Info_resetDirectUseItem()
Definition d_meter2_info.h:663
u16 dMeter2Info_getFloatingFlowID()
Definition d_meter2_info.h:667
void dMeter2Info_setTableMapRegionNo(u8 regionNo)
Definition d_meter2_info.h:571
dMeter2Info_c g_meter2_info
Definition d_meter2_info.cpp:308
s16 dMeter2Info_getHorseLifeCount()
Definition d_meter2_info.h:715
bool dMeter2Info_isFloatingMessageVisible()
Definition d_meter2_info.h:651
void dMeter2Info_setItemExplainWindowStatus(u8 i_value)
Definition d_meter2_info.h:659
u32 dMeter2Info_getFloatingMessageID()
Definition d_meter2_info.h:711
void dMeter2Info_onBlinkButton(int i_flag)
Definition d_meter2_info.h:683
void dMeter2Info_resetMeterString()
Definition d_meter2_info.h:719
void dMeter2Info_resetMiniGameItem(bool param_0)
Definition d_meter2_info.h:567
void dMeter2Info_resetBlinkButton()
Definition d_meter2_info.h:695
s16 dMeter2Info_decFloatingMessageTimer()
Definition d_meter2_info.h:703
void dMeter2Info_onGameStatus(int status)
Definition d_meter2_info.h:426
int dMeter2Info_getNowCount()
Definition d_meter2_info.h:635
void dMeter2Info_setMenuWindowClass(dMw_c *p_menu)
Definition d_meter2_info.h:479
void dMeter2Info_onLifeGaugeSE()
Definition d_meter2_info.h:531
void dMeter2Info_set2DPosV(float posV)
Definition d_meter2_info.h:759
void * dMeter2Info_getMsgResource()
Definition d_meter2_info.h:507
f32 dMeter2Info_getStringLength(JUTFont *param_0, f32 param_1, f32 param_2, char *param_3)
Definition d_meter2_info.h:325
void dMeter2Info_onShopTalkFlag()
Definition d_meter2_info.h:547
void dMeter2Info_set2DWidth(float width)
Definition d_meter2_info.h:747
void dMeter2Info_setMeterItemPanePtr(int i_no, CPaneMgr *i_pane)
Definition d_meter2_info.h:723
void dMeter2Info_allUseButton()
Definition d_meter2_info.h:414
u8 dMeter2Info_getMapStatus()
Definition d_meter2_info.h:434
void dMeter2Info_setCollectCursorPosXY(u8 x, u8 y)
Definition d_meter2_info.h:679
void dMeter2Info_setMeterClass(dMeter2_c *meter)
Definition d_meter2_info.h:527
bool dMeter2Info_isUseButton(int param_0)
Definition d_meter2_info.h:402
void dMeter2Info_onUseButton(int i_button)
Definition d_meter2_info.h:767
u8 dMeter2Info_getLightDropGetFlag(int i)
Definition d_meter2_info.h:519
u8 dMeter2Info_getCollectCursorPosX()
Definition d_meter2_info.h:671
static volatile BOOL flag
Definition dspproc.cpp:20
double x double x
Definition e_atan2.c:58
double x double y
Definition e_atan2.c:58
int i
Definition e_pow.c:165
static s32 status
Definition fstload.c:6
Image data header.
Definition d_menu_dmap_map.cpp:109
Definition d_a_hozelda.cpp:20
Definition d_meter2_info.h:11
u16 mText
Definition d_meter2_info.h:14
u16 mEventFlag
Definition d_meter2_info.h:15
u16 mSubject
Definition d_meter2_info.h:12
u16 mName
Definition d_meter2_info.h:13
Definition d_meter2_info.h:18
static u16 getLetterEventFlag(int idx)
Definition d_meter2_info.h:22
static dMenu_LetterData letter_data[64]
Definition d_meter2_info.h:1217
static u16 getLetterText(int idx)
Definition d_meter2_info.h:21
static u16 getLetterName(int idx)
Definition d_meter2_info.h:20
static u16 getLetterSubject(int idx)
Definition d_meter2_info.h:19
int BOOL
Definition types.h:27
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned long long u64
Definition types.h:11
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8