summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-04-02 13:26:06 -0400
committerhuderlem <huderlem@gmail.com>2019-04-03 17:04:42 -0500
commit28646ea64ea628596dc1cd9496febf6f46cc9e41 (patch)
treedb85dae4bb711a68ff5ed852fb2aa7cbd5d4633c /include
parent6c12d154e7a6a0bc60c988497b3daa4f8126a5b2 (diff)
Decompile mevent server scripts
Diffstat (limited to 'include')
-rwxr-xr-xinclude/mevent.h4
-rw-r--r--include/mevent_server.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/include/mevent.h b/include/mevent.h
index 9c5d559bf..68c19abfc 100755
--- a/include/mevent.h
+++ b/include/mevent.h
@@ -52,8 +52,8 @@ bool32 CheckReceivedGiftFromWonderCard(void);
bool32 sub_801B508(const u16 *data);
void sub_801B580(struct MEventStruct_Unk1442CC *data, bool32 a1);
bool32 sub_801B6A0(const struct MEventStruct_Unk1442CC *data, bool32 a1);
-u32 sub_801B6EC(const u16 *a0, const struct MEventStruct_Unk1442CC *a1, void *unused);
-u32 sub_801B708(const u16 *a0, const struct MEventStruct_Unk1442CC *a1, void *unused);
+u32 sub_801B6EC(const u16 *a0, const struct MEventStruct_Unk1442CC *a1, const void *unused);
+u32 sub_801B708(const u16 *a0, const struct MEventStruct_Unk1442CC *a1, const void *unused);
bool32 sub_801B748(const struct MEventStruct_Unk1442CC *a0, const u16 *a1);
u16 sub_801B784(const struct MEventStruct_Unk1442CC *a0, u32 command);
u16 mevent_081445C0(u32 command);
diff --git a/include/mevent_server.h b/include/mevent_server.h
index ed9812d8a..019f3c685 100644
--- a/include/mevent_server.h
+++ b/include/mevent_server.h
@@ -7,7 +7,7 @@ struct mevent_cmd
{
u32 instr;
bool32 flag;
- void * parameter;
+ const void * parameter;
};
struct mevent_srv_common
@@ -21,9 +21,9 @@ struct mevent_srv_common
struct MEventBuffer_32E0_Sub * mevent_32e0;
struct MEventBuffer_3120_Sub * mevent_3120;
struct MEventStruct_Unk1442CC * mevent_unk1442cc;
- void * sendBuffer1;
+ const void * sendBuffer1;
u32 sendBuffer1Size;
- void * sendBuffer2;
+ const void * sendBuffer2;
u32 sendBuffer2Size;
u32 sendWord;
struct mevent_srv_sub manager;