1#ifndef D_EVENT_D_EVENT_H
2#define D_EVENT_D_EVENT_H
T cLib_calcTimer(T *value)
Definition c_lib.h:74
char * mFlagAuthor
Definition d_event.h:16
u8 field_0x14
Definition d_event.h:19
char * mArea
Definition d_event.h:18
char * mFlagDescription
Definition d_event.h:15
u8 field_0x15
Definition d_event.h:20
u16 mFlagValue
Definition d_event.h:17
char * mFlagName
Definition d_event.h:14
int mBitNum
Definition d_event.h:38
dEvDb_bit_c * mBitTable
Definition d_event.h:36
int mRegNum
Definition d_event.h:39
dEvDb_reg_c * mRegTable
Definition d_event.h:37
int field_0x14
Definition d_event.h:41
int field_0x10
Definition d_event.h:40
u16 mFlagValue
Definition d_event.h:28
u8 field_0x15
Definition d_event.h:31
char * mFlagAuthor
Definition d_event.h:27
u8 field_0x14
Definition d_event.h:30
char * mFlagDescription
Definition d_event.h:26
char * mFlagName
Definition d_event.h:25
char * mArea
Definition d_event.h:29
s8 mNextOrderIdx
Definition d_event.h:57
~dEvt_order_c()
Definition d_event.h:47
s16 mEventId
Definition d_event.h:55
u16 mHindFlag
Definition d_event.h:52
u8 mEventInfoIdx
Definition d_event.h:58
fopAc_ac_c * mActor1
Definition d_event.h:53
fopAc_ac_c * mActor2
Definition d_event.h:54
dEvt_order_c()
Definition d_event.cpp:80
u16 mEventType
Definition d_event.h:50
u16 mFlag
Definition d_event.h:51
u16 mPriority
Definition d_event.h:56
static SECTION_RODATA u32 const itemNo
Definition d_a_obj_poFire.cpp:380
int dEv_noFinishSkipProc(void *, int)
Definition d_event.cpp:729
EventMode
Definition d_event.h:65
@ EVT_MODE_DEMO
Definition d_event.h:68
@ EVT_MODE_NONE
Definition d_event.h:66
@ EVT_MODE_TALK
Definition d_event.h:67
int dEv_defaultSkipProc(void *param_0, int param_1)
Definition d_event.cpp:635
int dEv_defaultSkipStb(void *param_0, int param_1)
Definition d_event.cpp:684
EventType
Definition d_event.h:72
@ EVT_TYPE_TALK
Definition d_event.h:73
@ EVT_TYPE_DOOR
Definition d_event.h:74
@ EVT_TYPE_OTHER
Definition d_event.h:75
@ EVT_TYPE_ITEM
Definition d_event.h:78
@ EVT_TYPE_SHOWITEM_Y
Definition d_event.h:80
@ EVT_TYPE_COMPULSORY
Definition d_event.h:76
@ EVT_TYPE_POTENTIAL
Definition d_event.h:77
@ EVT_TYPE_CATCH
Definition d_event.h:81
@ EVT_TYPE_SHOWITEM_X
Definition d_event.h:79
@ EVT_TYPE_TREASURE
Definition d_event.h:82
int dEv_defaultSkipZev(void *param_0, int param_1)
Definition d_event.cpp:641
STATIC_ASSERT(sizeof(dEvt_order_c)==0x18)
EventStatus
Definition d_event.h:85
@ STATUS_NONE
Definition d_event.h:86
int(* SkipFunc)(void *, int)
Definition d_event.h:63
static volatile BOOL flag
Definition dspproc.cpp:20
unsigned int fpc_ProcID
Definition f_pc_base.h:10
fpc_ProcID mPt1
Definition d_event.h:173
int mSkipTimer
Definition d_event.h:203
u16 mFlag2
Definition d_event.h:179
bool mRoomInfoSet
Definition d_event.h:208
int field_0x10c
Definition d_event.h:204
bool isChangeOK(void *param_0)
Definition d_event.h:164
s32 beforeFlagProc(dEvt_order_c *p_order)
Definition d_event.cpp:198
fopAc_ac_c * getPtI()
Definition d_event.h:162
u8 field_0xe6
Definition d_event.h:187
void setGtItm(u8 itemNo)
Definition d_event.cpp:1216
void setPt1(void *ptr)
Definition d_event.cpp:1192
void setPtD(void *ptr)
Definition d_event.cpp:1212
void setCullRate(f32 f)
Definition d_event.h:155
u8 field_0xe7
Definition d_event.h:188
void startCheckSkipEdge(void *param_0)
Definition d_event.h:167
int commonCheck(dEvt_order_c *p_order, u16 condition, u16 command)
Definition d_event.cpp:222
fopAc_ac_c * getPtT()
Definition d_event.h:161
u8 field_0xec
Definition d_event.h:193
int doorCheck(dEvt_order_c *p_order)
Definition d_event.cpp:438
s16 mSpecifiedEvent
Definition d_event.h:181
void onFlag2(u16 flag)
Definition d_event.h:153
void * mChangeOK
Definition d_event.h:199
u8 mEventStatus
Definition d_event.h:186
u8 getMapToolId()
Definition d_event.h:152
void setPtT(void *ptr)
Definition d_event.cpp:1200
u8 mMode
Definition d_event.h:185
u16 mHindFlag
Definition d_event.h:180
dEvt_control_c()
Definition d_event.cpp:76
void * getStbDemoData(char *resName)
Definition d_event.cpp:1087
int talkCheck(dEvt_order_c *p_order)
Definition d_event.cpp:239
u8 mGtItm
Definition d_event.h:196
u8 mDebugStb
Definition d_event.h:190
s16 runningEventID(s16 eventID)
Definition d_event.cpp:1188
int Step()
Definition d_event.cpp:839
dStage_MapEvent_dt_c * mStageEventDt
Definition d_event.h:198
int demoCheck(dEvt_order_c *p_order)
Definition d_event.cpp:358
u16 chkEventFlag(u16 flag)
Definition d_event.h:144
void clearSkipSystem()
Definition d_event.cpp:622
char * getSkipEventName()
Definition d_event.cpp:734
dEvt_order_c mOrder[8]
Definition d_event.h:172
u8 field_0xed
Definition d_event.h:194
u16 checkHind(u16 flag)
Definition d_event.h:150
fopAc_ac_c * convPId(fpc_ProcID)
Definition d_event.cpp:1081
int change()
Definition d_event.cpp:512
u8 field_0xfc[4]
Definition d_event.h:200
void afterFlagProc(dEvt_order_c *p_order)
Definition d_event.cpp:214
fpc_ProcID mPt2
Definition d_event.h:174
u8 field_0xe8
Definition d_event.h:189
u32 field_0x104
Definition d_event.h:202
u8 field_0xea
Definition d_event.h:191
fopAc_ac_c * getPt2()
Definition d_event.h:160
fpc_ProcID mPtd
Definition d_event.h:177
s16 mEventID
Definition d_event.h:182
u16 mEventFlag
Definition d_event.h:178
u8 field_0x0[4]
Definition d_event.h:171
s8 mNum
Definition d_event.h:183
void setParam(dEvt_order_c *p_order)
Definition d_event.cpp:153
u8 getMode() const
Definition d_event.h:147
BOOL isOrderOK()
Definition d_event.h:158
s32 orderOld(u16 eventType, u16 priority, u16 flag, u16 param_3, void *param_4, void *param_5, void const *param_6)
Definition d_event.cpp:84
int moveApproval(void *)
Definition d_event.cpp:958
static dStage_MapEvent_dt_c * searchMapEventData(u8 mapToolID, s32 roomNo)
Definition d_event.cpp:1158
f32 getCullRate()
Definition d_event.h:143
fpc_ProcID mPtI
Definition d_event.h:176
int demoEnd()
Definition d_event.cpp:404
int mSkipFade
Definition d_event.h:205
void setSkipZev(void *, char *)
void onHindFlag(u16 flag)
Definition d_event.h:148
void setPtI_Id(fpc_ProcID id)
Definition d_event.cpp:1208
s8 mOrderIdx
Definition d_event.h:184
int catchCheck(dEvt_order_c *p_order)
Definition d_event.cpp:309
int talkXyCheck(dEvt_order_c *p_order)
Definition d_event.cpp:269
void setPtI(void *ptr)
Definition d_event.cpp:1204
char mSkipEventName[20]
Definition d_event.h:206
BOOL runCheck()
Definition d_event.h:142
int endProc()
Definition d_event.cpp:487
f32 mCullRate
Definition d_event.h:197
void offSkipFade()
Definition d_event.cpp:753
u8 checkCompulsory()
Definition d_event.h:151
bool skipper()
Definition d_event.cpp:761
int potentialCheck(dEvt_order_c *p_order)
Definition d_event.cpp:422
BOOL chkTalkXY()
Definition d_event.h:156
bool checkSkipEdge()
Definition d_event.h:168
fopAc_ac_c * getPt1()
Definition d_event.h:159
u8 getGtItm()
Definition d_event.h:166
u8 mPreItemNo
Definition d_event.h:195
BOOL compulsory(void *, char const *, u16)
Definition d_event.cpp:1027
u8 mCompulsory
Definition d_event.h:207
void offFlag2(u16 flag)
Definition d_event.h:154
int mRoomNo
Definition d_event.h:209
void offEventFlag(u16 flag)
Definition d_event.h:146
void remove()
Definition d_event.cpp:1038
void onEventFlag(u16 flag)
Definition d_event.h:145
SkipFunc mSkipFunc
Definition d_event.h:201
dStage_MapEvent_dt_c * getStageEventDt()
Definition d_event.cpp:1064
u16 chkFlag2(u16 flag)
Definition d_event.h:141
void sceneChange(int exitId)
Definition d_event.cpp:1068
u8 getPreItemNo()
Definition d_event.h:165
fpc_ProcID mPtT
Definition d_event.h:175
int talkEnd()
Definition d_event.cpp:333
u32 getPId(void *)
Definition d_event.cpp:1072
int entry()
Definition d_event.cpp:536
void setSkipProc(void *, SkipFunc, int)
Definition d_event.cpp:738
int itemCheck(dEvt_order_c *p_order)
Definition d_event.cpp:473
u8 mMapToolId
Definition d_event.h:192
void offHindFlag(u16 flag)
Definition d_event.h:149
s32 order(u16 eventType, u16 priority, u16 flag, u16 param_3, void *param_4, void *param_5, s16 eventID, u8 infoIdx)
Definition d_event.cpp:91
fopAc_ac_c * getPtD()
Definition d_event.h:163
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
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8