summaryrefslogtreecommitdiff
path: root/include/m_clip.h
diff options
context:
space:
mode:
authorPrakxo <87568477+Prakxo@users.noreply.github.com>2024-10-09 17:46:35 +0200
committerGitHub <noreply@github.com>2024-10-09 08:46:35 -0700
commitc7a6aa2b880c34fafc10fd8238ee3b7c222fee8c (patch)
treefe8a760d848610f7b2168194cd0a647d3b80c59a /include/m_clip.h
parent8639fa43c74e7052d94eaaa4c5b13218f5006621 (diff)
ac_arrange_room OK (#220)
* ac_arrange_room OK * fix?
Diffstat (limited to 'include/m_clip.h')
-rw-r--r--include/m_clip.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/include/m_clip.h b/include/m_clip.h
index a49205d..0b56f69 100644
--- a/include/m_clip.h
+++ b/include/m_clip.h
@@ -22,6 +22,7 @@ struct StructureClip;
struct ToolClip;
struct WeatherClip;
struct xyz_t;
+struct Arrange_Room;
typedef UNK_RET (*Clip_unk_040_unk_04)(struct ActorOverlay*, const u8*, size_t, s32);
typedef UNK_RET (*Clip_unk_040_unk_08)(void);
@@ -221,14 +222,15 @@ typedef struct Clip_unk_0A8 {
typedef void (*Clip_unk_0B4_unk_4)(void);
typedef struct Clip_unk_0B4 {
/* 0x00 */ UNK_TYPE1 unk_00[0x04];
- /* 0x04 */ Clip_unk_0B4_unk_4 unk_4;
+ /* 0x04 */ Clip_unk_0B4_unk_4 unk_4;
} Clip_unk_0B4; // size >= 0x8
-typedef void (*Clip_unk_0B8_unk_4)(void);
-typedef struct Clip_unk_0B8 {
- /* 0x00 */ UNK_TYPE1 unk_00[0x04];
- /* 0x04 */ Clip_unk_0B8_unk_4 unk_4;
-} Clip_unk_0B8; // size >= 0x8
+typedef void (*RedmaProc)(void);
+
+typedef struct Arrange_RoomClip{
+ /* 0x0 */ struct Arrange_Room* arrangeRoomActor;
+ /* 0x4 */ RedmaProc proc;
+} Arrange_RoomClip; // size = 0x8
typedef void (*Clip_unk_0D0)(void);
@@ -269,7 +271,7 @@ typedef struct Clip {
/* 0x0A8 */ Clip_unk_0A8* unk_0A8;
/* 0x0AC */ s8 unk_0AC[0x8];
/* 0x0B4 */ Clip_unk_0B4* unk_0B4;
- /* 0x0B8 */ Clip_unk_0B8* unk_0B8;
+ /* 0x0B8 */ Arrange_RoomClip* arrangeRoomClip;
/* 0x0BC */ s8 unk_0BC[0x14];
/* 0x0D0 */ Clip_unk_0D0 unk_0D0;
/* 0x0D4 */ s8 unk_0D4[0x4];