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 bool isWindowAccept(int param_0) { return mWindowAccept & (1 << param_0); }
196
197public:
198 /* 0x04 */ u8 unk4[4];
199 /* 0x08 */ u64 unk8;
200 /* 0x10 */ void* mMsgResource;
201 /* 0x14 */ void* mStageMsgResource;
202 /* 0x18 */ void* mMsgUnitResource;
208 /* 0x54 */ f32 unk84;
209 /* 0x58 */ f32 unk88;
210 /* 0x5C */ f32 unk92;
211 /* 0x60 */ f32 unk96;
212 /* 0x64 */ f32 unk100;
213 /* 0x68 */ f32 unk104;
214 /* 0x6C */ f32 unk108;
215 /* 0x70 */ f32 m2DWidth;
216 /* 0x74 */ f32 m2DHeight;
217 /* 0x78 */ f32 m2DPosH;
218 /* 0x7C */ f32 m2DPosV;
219 /* 0x80 */ f32 unk128;
220 /* 0x84 */ s32 mTimeMs;
221 /* 0x88 */ u32 mMsgTimeMs;
222 /* 0x8C */ s32 mMeterString;
223 /* 0x90 */ u32 mTempBits;
226 /* 0x98 */ u16 unk152;
227 /* 0x9A */ u16 mHotSpringTimer[4];
228 /* 0xA2 */ u16 mSub2DStatus;
233 /* 0xAC */ u16 mBlinkButton;
234 /* 0xAE */ u16 mUseButton;
235 /* 0xB0 */ u16 mGameStatus;
236 /* 0xB2 */ u16 mTouchKeyCheck;
237 /* 0xB4 */ u16 mWindowAccept;
239 /* 0xB8 */ u8 mDirectUseItem;
240 /* 0xB9 */ u8 mWindowStatus; // 0: normal play, 2: item wheel, 3: pause menu, 4: map, 10: pause
241 // menu submenus, 11: map in dungeon
242 /* 0xBA */ u8 unk186;
243 /* 0xBB */ u8 mMaxCount;
244 /* 0xBC */ u8 mNowCount;
245 /* 0xBD */ bool mShopTalkFlag;
246 /* 0xBE */ u8 unk190;
247 /* 0xBF */ u8 mMapStatus;
248 /* 0xC0 */ u8 mWarpStatus;
249 /* 0xC1 */ u8 mPauseStatus;
250 /* 0xC2 */ u8 mGameOverType;
252 /* 0xC4 */ u8 mSaveSelItemIdx[4];
253 /* 0xC8 */ u8 mSaveMixItemIdx[4];
254 /* 0xCC */ u8 mSaveBombNum;
255 /* 0xCD */ u8 mSaveArrowNum;
256 /* 0xCE */ u8 mSaveBowItem;
257 /* 0xCF */ u8 mSaveBombItem;
258 /* 0xD0 */ u8 mSaveSelItemIdxMG[4];
259 /* 0xD4 */ u8 mSaveMixItemIdxMG[4];
260 /* 0xD8 */ u8 mSaveBombNumMG;
261 /* 0xD9 */ u8 mSaveArrowNumMG;
262 /* 0xDA */ u8 mSaveBowItemMG;
263 /* 0xDB */ u8 mSaveBombItemMG;
265 /* 0xDD */ u8 mMiniGameItemSetFlag; // 1: rented in game, 3: rented not in game
266 /* 0xDE */ u8 mMiniGameCount;
271 /* 0xE3 */ u8 mLightDropGetFlag[3];
272 /* 0xE6 */ u8 mLifeGaugeSE;
275 /* 0xE9 */ char mSaveStageName[8];
277 /* 0xF2 */ u8 mMapDrugFlag;
278 /* 0xF3 */ u8 unk243[5];
279};
280
282
283void dMeter2Info_setSword(u8, bool);
293 f32 param_5, struct ResTIMG const* param_6);
294
297}
298
302
306
310
314
318
322
326
330
334
338
342
343inline void dMeter2Info_setSaveStageName(const char* name) {
345}
346
350
354
358
362
364 void* param_3, J2DPicture* param_4, void* param_5,
366 int param_9) {
367 return g_meter2_info.readItemTexture(i_itemNo, param_1, param_2, param_3, param_4, param_5,
369}
370
375
379
383
387
388inline const char* dMeter2Info_getWarpStageName() {
390}
391
392inline void dMeter2Info_setNowCount(u8 count) {
394}
395
396inline void dMeter2Info_setMaxCount(u8 count) {
398}
399
403
407
411
415
419
423
427
431
435
439
443
447
451
455
459
460// fake function, should be dMeter2Info_isTouchKeyCheck
464
465inline void dMeter2Info_setMapKeyDirection(u16 direction) {
467}
468
471}
472
476
479}
480
484
488
492
496
500
504
508
511}
512
516
520
524
528
532
536
540
544
545inline const char* dMeter2Info_getSaveStageName() {
547}
548
552
556
560
564
568
572
576
580
584
588
592
596
600
604
608
612
616
620
624
626 return g_meter2_info.getTimeMs();
627}
628
632
636
638 return g_meter2_info.getNowCount();
639}
640
642 return g_meter2_info.getMaxCount();
643}
644
648
652
656
660
664
668
672
676
680
684
688
692
696
700
704
708
712
716
720
724
728
731}
732
736
737inline bool dMeter2Info_isTempBit(int bit) {
739}
740
744
748
749inline void dMeter2Info_set2DWidth(float width) {
751}
752
753inline void dMeter2Info_set2DHeight(float height) {
755}
756
757inline void dMeter2Info_set2DPosH(float posH) {
759}
760
761inline void dMeter2Info_set2DPosV(float posV) {
763}
764
768
772
776
780
785
789
793
797
801
809
810#endif /* D_METER_D_METER2_INFO_H */
OSTime time
Definition GXInit.c:61
T cLib_calcTimer(T *value)
Definition c_lib.h:79
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:200
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:242
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:214
u32 mMsgTimeMs
Definition d_meter2_info.h:221
u16 mUseButton
Definition d_meter2_info.h:234
s32 mMeterString
Definition d_meter2_info.h:222
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:220
u8 getMiniGameItemSetFlag()
Definition d_meter2_info.h:150
bool isFloatingMessageWakuVisible()
Definition d_meter2_info.h:166
u8 mSaveMixItemIdx[4]
Definition d_meter2_info.h:253
void * mMsgUnitResource
Definition d_meter2_info.h:202
f32 unk100
Definition d_meter2_info.h:212
void set2ndColor(u8, J2DPicture *)
Definition d_meter2_info.cpp:805
u8 mItemExplainWindowStatus
Definition d_meter2_info.h:274
f32 unk84
Definition d_meter2_info.h:208
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:275
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:203
bool isWindowAccept(int param_0)
Definition d_meter2_info.h:194
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:249
bool isShopTalkFlag()
Definition d_meter2_info.h:174
u8 mDirectUseItem
Definition d_meter2_info.h:239
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:256
u8 mInsectSelectType
Definition d_meter2_info.h:251
bool isBlinkButton(int i_flag)
Definition d_meter2_info.h:168
u8 mSaveBombItem
Definition d_meter2_info.h:257
s16 get4thTexture(u8)
Definition d_meter2_info.cpp:681
u8 mMapStatus
Definition d_meter2_info.h:247
u16 mTouchKeyCheck
Definition d_meter2_info.h:236
u8 mCollectCursorPosX
Definition d_meter2_info.h:267
void setMenuWindowClass(dMw_c *p_menu)
Definition d_meter2_info.h:95
u8 mSaveMixItemIdxMG[4]
Definition d_meter2_info.h:259
int setFloatingMessage(u16, s16, bool)
Definition d_meter2_info.cpp:126
u16 mOilGaugeBackUp
Definition d_meter2_info.h:238
u32 getTimeMs()
Definition d_meter2_info.h:158
s16 decFloatingMessageTimer(void)
Definition d_meter2_info.cpp:165
u16 mBlinkButton
Definition d_meter2_info.h:233
u16 unk152
Definition d_meter2_info.h:226
u8 mCollectCursorPosY
Definition d_meter2_info.h:268
void getStringKana(u32, char *, JMSMesgEntry_c *)
Definition d_meter2_info.cpp:231
u8 mMiniGameCount
Definition d_meter2_info.h:266
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:201
u16 mFloatingMessageID
Definition d_meter2_info.h:230
void setMsgKeyWaitTimer(s16 i_waitTimer)
Definition d_meter2_info.h:154
u16 mGameStatus
Definition d_meter2_info.h:235
f32 unk128
Definition d_meter2_info.h:219
f32 unk92
Definition d_meter2_info.h:210
void resetMeterString(void)
Definition d_meter2_info.cpp:387
void resetBlinkButton()
Definition d_meter2_info.h:169
u8 mSaveBowItemMG
Definition d_meter2_info.h:262
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:276
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:245
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:277
void onUseButton(int i_button)
Definition d_meter2_info.h:189
dMw_c * mMenuWindowClass
Definition d_meter2_info.h:205
s16 getMsgKeyWaitTimer()
Definition d_meter2_info.h:151
WarpInfo_c mWarpInfo
Definition d_meter2_info.h:207
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:265
u8 unk4[4]
Definition d_meter2_info.h:198
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:232
u16 mWindowAccept
Definition d_meter2_info.h:237
u8 mSaveBombItemMG
Definition d_meter2_info.h:263
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:254
u8 unk243[5]
Definition d_meter2_info.h:278
s16 mMsgKeyWaitTimer
Definition d_meter2_info.h:224
u16 mHotSpringTimer[4]
Definition d_meter2_info.h:227
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:252
u8 getCollectCursorPosX()
Definition d_meter2_info.h:175
u8 mWindowStatus
Definition d_meter2_info.h:240
u16 mFloatingFlowID
Definition d_meter2_info.h:229
dMeterMap_c * getMeterMapClass()
Definition d_meter2_info.h:94
u8 mSaveBombNumMG
Definition d_meter2_info.h:260
dMeterMap_c * mMeterMap
Definition d_meter2_info.h:204
u8 mLightDropGetFlag[3]
Definition d_meter2_info.h:271
CPaneMgr * mMeterItemPanePtr[4]
Definition d_meter2_info.h:206
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:255
u8 mScopeZoomPointer
Definition d_meter2_info.h:273
void onSub2DStatus(int bit)
Definition d_meter2_info.h:184
u8 mGoldWolfMapType
Definition d_meter2_info.h:270
u8 getLightDropGetFlag(int i)
Definition d_meter2_info.h:136
u8 mTableMapRegionNo
Definition d_meter2_info.h:269
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:209
u8 mSaveSelItemIdxMG[4]
Definition d_meter2_info.h:258
void setHorseLifeCount(s16 i_count)
Definition d_meter2_info.h:195
u8 getWarpStatus()
Definition d_meter2_info.h:102
u8 mGameOverType
Definition d_meter2_info.h:250
void set2DHeight(float height)
Definition d_meter2_info.h:186
s16 mFloatingMessageTimer
Definition d_meter2_info.h:231
f32 m2DWidth
Definition d_meter2_info.h:215
f32 unk104
Definition d_meter2_info.h:213
u8 mRentalBombBagIdx
Definition d_meter2_info.h:264
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:244
void setCollectCursorPosXY(u8 x, u8 y)
Definition d_meter2_info.h:177
u64 unk8
Definition d_meter2_info.h:199
f32 m2DPosV
Definition d_meter2_info.h:218
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:217
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:248
u16 mSub2DStatus
Definition d_meter2_info.h:228
u8 mSaveArrowNumMG
Definition d_meter2_info.h:261
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:216
bool isTouchKeyCheck_alt(int i_status)
Definition d_meter2_info.h:123
u8 mLifeGaugeSE
Definition d_meter2_info.h:272
bool isTempBit(int bit)
Definition d_meter2_info.h:182
u32 mTempBits
Definition d_meter2_info.h:223
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:243
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:246
f32 unk96
Definition d_meter2_info.h:211
s16 mHorseLifeCount
Definition d_meter2_info.h:225
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:112
bool dMeter2Info_isFloatingMessageWakuVisible()
Definition d_meter2_info.h:689
u32 dMeter2Info_getMsgTimeMs()
Definition d_meter2_info.h:621
void dMeter2Info_set2DHeight(float height)
Definition d_meter2_info.h:753
void dMeter2Info_setHorseLifeCount(s16 i_count)
Definition d_meter2_info.h:798
void dMeter2Info_set2DVibration()
Definition d_meter2_info.cpp:1328
void dMeter2Info_setMsgUnitResource(void *res)
Definition d_meter2_info.h:505
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:729
int dMeter2Info_getMaxCount()
Definition d_meter2_info.h:641
void dMeter2Info_getStringKana(u32 param_0, char *param_1, JMSMesgEntry_c *param_2)
Definition d_meter2_info.h:323
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:733
bool dMeter2Info_isBlinkButton(int i_flag)
Definition d_meter2_info.h:693
u8 dMeter2Info_getWarpPlayerNo()
Definition d_meter2_info.h:380
u16 dMeter2Info_getOilGaugeBackUp()
Definition d_meter2_info.h:339
void * dMeter2Info_getMsgUnitResource()
Definition d_meter2_info.h:517
void dMeter2Info_resetPauseStatus()
Definition d_meter2_info.h:444
void dMeter2Info_setFloatingFlow(u16 param_0, s16 param_1, bool param_2)
Definition d_meter2_info.h:605
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:371
void dMeter2Info_setTimeMs(s32 i_time)
Definition d_meter2_info.h:633
void dMeter2Info_setGameOverType(u8 i_gameoverType)
Definition d_meter2_info.h:613
void dMeter2Info_setHotSpringTimer(u8 time)
Definition d_meter2_info.h:335
u8 dMeter2Info_getGameOverType()
Definition d_meter2_info.h:609
u8 dMeter2Info_getTableMapRegionNo()
Definition d_meter2_info.h:786
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:777
void dMeter2Info_setScopeZoomPointer(u8 param_0)
Definition d_meter2_info.h:645
const char * dMeter2Info_getSaveStageName()
Definition d_meter2_info.h:545
void dMeter2Info_changeWater(u8 bottleIdx)
Definition d_meter2_info.h:581
s16 dMeter2Info_getMsgKeyWaitTimer()
Definition d_meter2_info.h:597
void dMeter2Info_warpOutProc()
Definition d_meter2_info.h:589
void dMeter2Info_setMapStatus(u8 status)
Definition d_meter2_info.h:432
void dMeter2Info_offMenuInForce(int flag)
Definition d_meter2_info.h:473
dMeterMap_c * dMeter2Info_getMeterMapClass()
Definition d_meter2_info.h:299
void dMeter2Info_setMsgResource(void *res)
Definition d_meter2_info.h:497
void dMeter2Info_setStageMsgResource(void *res)
Definition d_meter2_info.h:501
void dMeter2Info_warpInProc()
Definition d_meter2_info.h:585
void dMeter2Info_decHotSpringTimer()
Definition d_meter2_info.h:412
u8 dMeter2Info_getInsectSelectType()
Definition d_meter2_info.h:347
bool dMeter2Info_isGameStatus(int status)
Definition d_meter2_info.h:452
void i_dMeter2Info_offUseButton(int flag)
Definition d_meter2_info.h:420
void dMeter2Info_setSaveStageName(const char *name)
Definition d_meter2_info.h:343
cXyz & dMeter2Info_getWarpPos()
Definition d_meter2_info.h:384
const char * dMeter2Info_getWarpStageName()
Definition d_meter2_info.h:388
int dMeter2Info_recieveLetter()
Definition d_meter2_info.cpp:1304
void dMeter2Info_setInsectSelectType(u8 i_type)
Definition d_meter2_info.h:351
BOOL dMeter2Info_isDirectUseItem(int param_0)
Definition d_meter2_info.h:400
CPaneMgr * dMeter2Info_getMeterItemPanePtr(s32 i_idx)
Definition d_meter2_info.h:311
void dMeter2Info_setNowCount(u8 count)
Definition d_meter2_info.h:392
u8 dMeter2Info_getPauseStatus()
Definition d_meter2_info.h:448
static void dMeter2Info_setFloatingMessage(u16 pMessageID, s16 pMessageTimer, bool pWakuVisible)
u8 dMeter2Info_getLifeGaugeSE()
Definition d_meter2_info.h:541
u32 dMeter2Info_getTimeMs()
Definition d_meter2_info.h:625
void dMeter2Info_setPauseStatus(u8 status)
Definition d_meter2_info.h:440
void dMeter2Info_setMapKeyDirection(u16 direction)
Definition d_meter2_info.h:465
void dMeter2Info_setShield(u8 i_itemId, bool param_1)
Definition d_meter2_info.cpp:1175
u8 dMeter2Info_getWarpStatus()
Definition d_meter2_info.h:355
bool dMeter2Info_isSub2DStatus(int flag)
Definition d_meter2_info.h:469
s16 dMeter2Info_getFloatingMessageTimer()
Definition d_meter2_info.h:709
u8 dMeter2Info_getItemExplainWindowStatus()
Definition d_meter2_info.h:657
f32 dMeter2Info_get2DWidth()
Definition d_meter2_info.h:773
void dMeter2Info_getStringKanji(u32 param_0, char *param_1, JMSMesgEntry_c *param_2)
Definition d_meter2_info.h:319
void dMeter2Info_onDirectUseItem(int param_0)
Definition d_meter2_info.h:601
void dMeter2Info_offSub2DStatus(int bit)
Definition d_meter2_info.h:741
bool dMeter2Info_isTempBit(int bit)
Definition d_meter2_info.h:737
dMw_c * dMeter2Info_getMenuWindowClass()
Definition d_meter2_info.h:303
u8 dMeter2Info_getCollectCursorPosY()
Definition d_meter2_info.h:677
void dMeter2Info_setWarpStatus(u8 status)
Definition d_meter2_info.h:359
void dMeter2Info_setMsgKeyWaitTimer(s16 i_waitTimer)
Definition d_meter2_info.h:617
void dMeter2Info_resetFloatingMessage()
Definition d_meter2_info.h:701
void dMeter2Info_offLifeGaugeSE()
Definition d_meter2_info.h:537
u8 dMeter2Info_getMiniGameItemSetFlag()
Definition d_meter2_info.h:561
void dMeter2Info_Initialize()
Definition d_meter2_info.h:295
void dMeter2Info_getString(u32 param_0, char *param_1, JMSMesgEntry_c *param_2)
Definition d_meter2_info.h:315
void dMeter2Info_resetWarpStatus()
Definition d_meter2_info.h:485
u8 dMeter2Info_getGoldWolfMapType()
Definition d_meter2_info.h:790
s32 dMeter2Info_getMeterStringType()
Definition d_meter2_info.h:525
u8 dMeter2Info_getWindowStatus()
Definition d_meter2_info.h:493
void dMeter2Info_offShopTalkFlag()
Definition d_meter2_info.h:765
u8 dMeter2Info_getRentalBombBag()
Definition d_meter2_info.h:557
void dMeter2Info_setWindowStatus(u8 status)
Definition d_meter2_info.h:307
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:781
int dMeter2Info_setNewLetterSender()
Definition d_meter2_info.cpp:1282
void * dMeter2Info_getStageMsgResource()
Definition d_meter2_info.h:513
u16 dMeter2Info_getMapKeyDirection()
Definition d_meter2_info.h:489
void dMeter2Info_set2DPosH(float posH)
Definition d_meter2_info.h:757
void dMeter2Info_setLightDropGetFlag(int index, u8 flag)
Definition d_meter2_info.h:553
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:363
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:477
void dMeter2Info_decMsgKeyWaitTimer()
Definition d_meter2_info.h:649
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:408
void dMeter2Info_resetGameStatus()
Definition d_meter2_info.h:424
dMeter2_c * dMeter2Info_getMeterClass()
Definition d_meter2_info.h:593
void dMeter2Info_setMiniGameItem(u8 item)
Definition d_meter2_info.h:565
u8 dMeter2Info_getRecieveLetterNum()
Definition d_meter2_info.cpp:1254
bool dMeter2Info_isTouchKeyCheck(int i_status)
Definition d_meter2_info.h:456
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:396
void dMeter2Info_setMsgTimeMs(u32 msgTime)
Definition d_meter2_info.h:629
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:461
void dMeter2Info_setGoldWolfMapType(u8 i_mapType)
Definition d_meter2_info.h:577
u8 dMeter2Info_getWarpRoomNo()
Definition d_meter2_info.h:376
void dMeter2Info_onSub2DStatus(int bit)
Definition d_meter2_info.h:745
void dMeter2Info_resetDirectUseItem()
Definition d_meter2_info.h:665
u16 dMeter2Info_getFloatingFlowID()
Definition d_meter2_info.h:669
void dMeter2Info_setTableMapRegionNo(u8 regionNo)
Definition d_meter2_info.h:573
dMeter2Info_c g_meter2_info
Definition d_meter2_info.cpp:308
s16 dMeter2Info_getHorseLifeCount()
Definition d_meter2_info.h:717
bool dMeter2Info_isFloatingMessageVisible()
Definition d_meter2_info.h:653
void dMeter2Info_setItemExplainWindowStatus(u8 i_value)
Definition d_meter2_info.h:661
u32 dMeter2Info_getFloatingMessageID()
Definition d_meter2_info.h:713
void dMeter2Info_onBlinkButton(int i_flag)
Definition d_meter2_info.h:685
void dMeter2Info_resetMeterString()
Definition d_meter2_info.h:721
void dMeter2Info_resetMiniGameItem(bool param_0)
Definition d_meter2_info.h:569
void dMeter2Info_resetBlinkButton()
Definition d_meter2_info.h:697
s16 dMeter2Info_decFloatingMessageTimer()
Definition d_meter2_info.h:705
void dMeter2Info_onGameStatus(int status)
Definition d_meter2_info.h:428
int dMeter2Info_getNowCount()
Definition d_meter2_info.h:637
void dMeter2Info_setMenuWindowClass(dMw_c *p_menu)
Definition d_meter2_info.h:481
void dMeter2Info_onLifeGaugeSE()
Definition d_meter2_info.h:533
bool dMeter2Info_isWindowAccept(int param_0)
Definition d_meter2_info.h:794
void dMeter2Info_set2DPosV(float posV)
Definition d_meter2_info.h:761
void * dMeter2Info_getMsgResource()
Definition d_meter2_info.h:509
f32 dMeter2Info_getStringLength(JUTFont *param_0, f32 param_1, f32 param_2, char *param_3)
Definition d_meter2_info.h:327
void dMeter2Info_onShopTalkFlag()
Definition d_meter2_info.h:549
void dMeter2Info_set2DWidth(float width)
Definition d_meter2_info.h:749
void dMeter2Info_setMeterItemPanePtr(int i_no, CPaneMgr *i_pane)
Definition d_meter2_info.h:725
void dMeter2Info_allUseButton()
Definition d_meter2_info.h:416
u8 dMeter2Info_getMapStatus()
Definition d_meter2_info.h:436
void dMeter2Info_setCollectCursorPosXY(u8 x, u8 y)
Definition d_meter2_info.h:681
void dMeter2Info_setMeterClass(dMeter2_c *meter)
Definition d_meter2_info.h:529
bool dMeter2Info_isUseButton(int param_0)
Definition d_meter2_info.h:404
void dMeter2Info_onUseButton(int i_button)
Definition d_meter2_info.h:769
u8 dMeter2Info_getLightDropGetFlag(int i)
Definition d_meter2_info.h:521
u8 dMeter2Info_getCollectCursorPosX()
Definition d_meter2_info.h:673
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