Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
Z2StatusMgr.h
Go to the documentation of this file.
1#ifndef Z2STATUSMGR_H
2#define Z2STATUSMGR_H
3
5#include "dolphin/mtx/vec.h"
6
7struct Z2StatusMgr : public JASGlobalInstance<Z2StatusMgr> {
9 void heartGaugeOn();
11 void talkIn();
12 void talkOut();
13 void menuIn();
14 void menuOut();
15 bool isMovieDemo();
16 void setDemoName(char*);
17 void processTime();
18 bool checkDayTime();
19 void setEventBit(void*);
22 void setCameraInWaterDepth(float);
23
24 u8 getDemoStatus() const { return mDemoStatus; }
25 void setHour(s32 hour) { mHour = hour; }
30 u8 getHour() { return mHour; }
31 bool isPaused() { return mPauseFlag; }
32 bool isHeartGuageOn() { return mHeartGaugeOn; }
33 void getCameraMapInfo(u32 info) { mCameraMapInfo = info; }
35
36 /* 0x00 */ u8 mHour;
37 /* 0x01 */ u8 mMinute;
38 /* 0x02 */ u8 mWeekday;
39 /* 0x03 */ u8 field_0x03;
40 /* 0x04 */ s16 mTime;
41 /* 0x08 */ void* mEventBit;
42 /* 0x0C */ u8 mPauseFlag;
43 /* 0x10 */ u32 mCameraMapInfo;
44 /* 0x14 */ u32 field_0x14;
48 /* 0x2C */ u8 mDemoStatus;
49 /* 0x2D */ u8 mHeartGaugeOn;
50}; // Size = 0x30
51
55
56#endif /* Z2STATUSMGR_H */
Z2StatusMgr * Z2GetStatusMgr()
Definition Z2StatusMgr.h:52
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JASGadget.h:12
static T * getInstance()
Definition JASGadget.h:31
static volatile BOOL flag
Definition dspproc.cpp:20
static u8 min[12]
Definition f_op_actor_mng.cpp:1773
Definition d_a_hozelda.cpp:18
Definition Z2StatusMgr.h:7
void menuOut()
Definition Z2StatusMgr.cpp:90
u8 mWeekday
Definition Z2StatusMgr.h:38
void setCameraGroupInfo(u8)
Definition Z2StatusMgr.cpp:315
u8 mHour
Definition Z2StatusMgr.h:36
Z2StatusMgr()
Definition Z2StatusMgr.cpp:12
bool isPaused()
Definition Z2StatusMgr.h:31
void talkOut()
Definition Z2StatusMgr.cpp:74
f32 getCameraInWaterDepth()
Definition Z2StatusMgr.h:28
void setCameraPolygonPos(Vec *)
Definition Z2StatusMgr.cpp:308
void talkIn()
Definition Z2StatusMgr.cpp:66
void setCameraInWaterDepth(float)
Definition Z2StatusMgr.cpp:318
u8 mHeartGaugeOn
Definition Z2StatusMgr.h:49
u8 getDemoStatus() const
Definition Z2StatusMgr.h:24
void setDemoName(char *)
Definition Z2StatusMgr.cpp:187
bool checkDayTime()
Definition Z2StatusMgr.cpp:294
void menuIn()
Definition Z2StatusMgr.cpp:82
void processTime()
Definition Z2StatusMgr.cpp:288
u8 getHour()
Definition Z2StatusMgr.h:30
void setPauseFlag(u8 flag)
Definition Z2StatusMgr.h:34
bool isMovieDemo()
Definition Z2StatusMgr.cpp:98
u8 mPauseFlag
Definition Z2StatusMgr.h:42
void processHeartGaugeSound()
Definition Z2StatusMgr.cpp:39
void setHour(s32 hour)
Definition Z2StatusMgr.h:25
f32 getCameraInWaterDepthRatio() const
Definition Z2StatusMgr.h:29
s16 mTime
Definition Z2StatusMgr.h:40
u32 field_0x14
Definition Z2StatusMgr.h:44
f32 mUnderwaterDepth
Definition Z2StatusMgr.h:45
u8 field_0x03
Definition Z2StatusMgr.h:39
u32 mCameraMapInfo
Definition Z2StatusMgr.h:43
Vec mPolygonPosition
Definition Z2StatusMgr.h:47
void heartGaugeOn()
Definition Z2StatusMgr.cpp:34
void getCameraMapInfo(u32 info)
Definition Z2StatusMgr.h:33
void setMinute(s32 min)
Definition Z2StatusMgr.h:26
f32 mCameraInWaterDepthRatio
Definition Z2StatusMgr.h:46
void * mEventBit
Definition Z2StatusMgr.h:41
void setEventBit(void *)
Definition Z2StatusMgr.cpp:303
u8 mDemoStatus
Definition Z2StatusMgr.h:48
void setWeekday(s32 day)
Definition Z2StatusMgr.h:27
u8 mMinute
Definition Z2StatusMgr.h:37
bool isHeartGuageOn()
Definition Z2StatusMgr.h:32
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8