mirror of https://github.com/zeldaret/tp.git
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
#ifndef Z2STATUSMGR_H
|
|
#define Z2STATUSMGR_H
|
|
|
|
#include "dolphin/mtx/vec.h"
|
|
#include "dolphin/types.h"
|
|
|
|
struct Z2StatusMgr {
|
|
Z2StatusMgr();
|
|
void heartGaugeOn();
|
|
void processHeartGaugeSound();
|
|
void talkIn();
|
|
void talkOut();
|
|
void menuIn();
|
|
void menuOut();
|
|
bool isMovieDemo();
|
|
void setDemoName(char*);
|
|
void processTime();
|
|
bool checkDayTime();
|
|
void setEventBit(void*);
|
|
void setCameraPolygonPos(Vec*);
|
|
void setCameraGroupInfo(u8);
|
|
void setCameraInWaterDepth(float);
|
|
|
|
//! @todo there are a number of inlines only called from rels: see CHN_debug
|
|
|
|
/* 0x00 */ u8 mHour;
|
|
/* 0x01 */ u8 mMinute;
|
|
/* 0x02 */ u8 mWeekday;
|
|
/* 0x03 */ u8 field_0x03;
|
|
/* 0x04 */ s16 mTime;
|
|
/* 0x08 */ void* mEventBit;
|
|
/* 0x0C */ bool mIsMenuIn;
|
|
/* 0x10 */ u32 mCameraMapInfo;
|
|
/* 0x14 */ u32 field_0x14;
|
|
/* 0x18 */ float mUnderwaterDepth;
|
|
/* 0x1C */ float mCameraInWaterDepthRatio;
|
|
/* 0x20 */ Vec mPolygonPosition;
|
|
/* 0x2C */ u8 mDemoStatus;
|
|
/* 0x2D */ u8 mHeartGaugeOn;
|
|
}; // Size = 0x30
|
|
|
|
#endif /* Z2STATUSMGR_H */
|