Loading [MathJax]/extensions/tex2jax.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
d_a_tag_schedule.h
Go to the documentation of this file.
1#ifndef D_A_TAG_SCHEDULE_H
2#define D_A_TAG_SCHEDULE_H
3
5
6class daTagSchedule_c : public fopAc_ac_c {
7public:
8 int create() {
9 fopAcM_SetupActor(this, daTagSchedule_c);
10 return cPhs_COMPLEATE_e;
11 }
12
13 int getSeqNum() { return (fopAcM_GetParam(this) >> 6) & 0x3f; }
14 u16 getStartTime() { return (fopAcM_GetParam(this) >> 12) & 0xff; }
15 u8 getStartEnd() { return (fopAcM_GetParam(this) >> 20) & 0xff; }
16 int getGroupID() { return fopAcM_GetParam(this) & 0x3f; }
17 int getWeekNum() { return mWeekNum; }
18 void setWeekNum(int weekNum) { mWeekNum = weekNum; }
19 u8 getPathID() { return shape_angle.x & 0xff; }
21
22 /* 0x568 */ int mWeekNum;
23};
24
25#endif /* D_A_TAG_SCHEDULE_H */
@ cPhs_COMPLEATE_e
Definition c_phase.h:13
Definition d_a_tag_schedule.h:6
int getGroupID()
Definition d_a_tag_schedule.h:16
int getWeekNum()
Definition d_a_tag_schedule.h:17
u16 getStartTime()
Definition d_a_tag_schedule.h:14
u8 getStartEnd()
Definition d_a_tag_schedule.h:15
s16 getFlowNodeNum()
Definition d_a_tag_schedule.h:20
u8 getPathID()
Definition d_a_tag_schedule.h:19
int mWeekNum
Definition d_a_tag_schedule.h:22
int getSeqNum()
Definition d_a_tag_schedule.h:13
int create()
Definition d_a_tag_schedule.h:8
void setWeekNum(int weekNum)
Definition d_a_tag_schedule.h:18
u32 fopAcM_GetParam(const void *i_actor)
Definition f_op_actor_mng.h:182
s16 x
Definition c_sxyz.h:7
s16 z
Definition c_sxyz.h:7
Definition d_a_hozelda.cpp:74
csXyz shape_angle
Definition f_op_actor.h:222
signed short int s16
Definition types.h:6
unsigned short int u16
Definition types.h:7
unsigned char u8
Definition types.h:5