forked from ACreTeam/ac-decomp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathac_event_manager.h
65 lines (53 loc) · 1.28 KB
/
ac_event_manager.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#ifndef AC_EVENT_MANAGER_H
#define AC_EVENT_MANAGER_H
#include "types.h"
#include "m_actor.h"
#include "m_npc.h"
#include "m_olib.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct event_manager_actor_s EVENT_MANAGER_ACTOR;
enum {
aEvMgr_EVENT_PLACE_SHRINE = 4,
};
typedef int (*aEvMgr_TITLE_FADE_PROC)(EVENT_MANAGER_ACTOR*, int, u8, int);
typedef struct event_manager_clip_s {
EVENT_MANAGER_ACTOR* event_manager_actor;
aEvMgr_TITLE_FADE_PROC title_fade_proc;
} aEvMgr_Clip_c;
typedef struct event_manager_field_info_s {
BlockOrUnit_c block_max;
Anmhome_c* reserve_buf;
int reserve_num;
} aEvMgr_field_info_c;
struct event_manager_actor_s {
ACTOR actor_class;
int player_bx;
int player_bz;
int player_last_bx;
int player_last_bz;
u8 _184[0x1E8 - 0x184];
aEvMgr_field_info_c field_info;
u8 _1F8[0x208 - 0x1F8];
int change;
BlockOrUnit_c next_block;
BlockOrUnit_c pool_block;
int pool_block_exists;
BlockOrUnit_c station_block;
int station_block_exists;
BlockOrUnit_c shrine_block;
int shrine_block_exists;
BlockOrUnit_c player_home_block;
int player_home_exists;
BlockOrUnit_c dock_block;
int dock_block_exists;
int _250;
int _254;
aEvMgr_Clip_c clip;
};
extern ACTOR_PROFILE Event_Manager_Profile;
#ifdef __cplusplus
}
#endif
#endif