Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_event_lib.h
Go to the documentation of this file.
1#ifndef D_EVENT_D_EVENT_LIB_H
2#define D_EVENT_D_EVENT_LIB_H
3
4#include "dolphin/types.h"
5
6class fopAc_ac_c;
7
8template <typename A0>
10 typedef BOOL (A0::*fptr)();
13
18
19 fptr& getInit() { return init; }
20
21 fptr& getExecute() { return execute; }
22};
23
25public:
30
31 /* 8004886C */ BOOL eventUpdate();
32 /* 800488A4 */ BOOL setEvent(int, int, int);
33 /* 80048940 */ void orderEvent(int, int, int);
35 /* 800489A8 */ BOOL initAction();
36 /* 800489F8 */ BOOL executeAction();
37 /* 80048A50 */ BOOL initStart();
38 /* 80048A70 */ BOOL executeStart();
39 /* 80048B1C */ BOOL initRun();
40 /* 80048B48 */ BOOL executeRun();
41
42 virtual ~dEvLib_callback_c() {}
43 virtual BOOL eventStart() { return TRUE; }
44 virtual BOOL eventRun() { return TRUE; }
45 virtual BOOL eventEnd() { return TRUE; }
46
47 /* 0x4 */ fopAc_ac_c* mActor;
49 /* 0xC */ u16 _C;
50};
51
52#endif /* D_EVENT_D_EVENT_LIB_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_event_lib.h:24
BOOL eventUpdate()
Definition d_event_lib.cpp:15
BOOL initStart()
Definition d_event_lib.cpp:26
virtual BOOL eventStart()
Definition d_event_lib.h:43
BOOL executeStart()
Definition d_event_lib.cpp:90
void orderEvent(int, int, int)
Definition d_event_lib.cpp:49
virtual BOOL eventEnd()
Definition d_event_lib.h:45
dEvLib_callback_c(fopAc_ac_c *param_0)
Definition d_event_lib.h:26
virtual ~dEvLib_callback_c()
Definition d_event_lib.h:42
fopAc_ac_c * mActor
Definition d_event_lib.h:47
BOOL initAction()
Definition d_event_lib.cpp:66
u16 _C
Definition d_event_lib.h:49
BOOL setEvent(int, int, int)
Definition d_event_lib.cpp:34
BOOL initRun()
Definition d_event_lib.cpp:29
BOOL executeRun()
Definition d_event_lib.cpp:113
action_class< dEvLib_callback_c > * mAction
Definition d_event_lib.h:48
virtual BOOL eventRun()
Definition d_event_lib.h:44
BOOL executeAction()
Definition d_event_lib.cpp:75
BOOL setAction(action_class< dEvLib_callback_c > *)
Definition d_event_lib.cpp:55
Definition d_event_lib.h:9
fptr & getExecute()
Definition d_event_lib.h:21
action_class(fptr pInit, fptr pExecute)
Definition d_event_lib.h:14
BOOL(A0::* fptr)()
Definition d_event_lib.h:10
fptr & getInit()
Definition d_event_lib.h:19
fptr init
Definition d_event_lib.h:11
fptr execute
Definition d_event_lib.h:12
Definition d_a_ep.cpp:19
int BOOL
Definition types.h:27
unsigned short u16
Definition types.h:9