Skip to content

Commit 0efb630

Browse files
committed
Camera index from sub_8263FE60
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
1 parent 5a142bd commit 0efb630

7 files changed

Lines changed: 12 additions & 7 deletions

File tree

MarathonRecomp/api/Sonicteam/RenderAction/AutoSetAspect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Sonicteam::RenderAction
88
class ApplyAutoAspect : public MyRenderProcess
99
{
1010
public:
11-
MARATHON_INSERT_PADDING(0x4);
11+
be<uint32_t> m_CameraIndex;
1212
};
1313

1414
MARATHON_ASSERT_SIZEOF(ApplyAutoAspect, 0x3C);

MarathonRecomp/api/Sonicteam/RenderAction/RunCommandBuffer.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ namespace Sonicteam::RenderAction
88
class RunCommandBuffer : public MyRenderProcess
99
{
1010
public:
11-
MARATHON_INSERT_PADDING(0x8);
11+
be<uint32_t> m_CameraIndex;
12+
MARATHON_INSERT_PADDING(0x4);
1213
};
1314

1415
MARATHON_ASSERT_SIZEOF(RunCommandBuffer, 0x40);

MarathonRecomp/api/Sonicteam/RenderAction/SetClip.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ namespace Sonicteam::RenderAction
88
class SetClip : public MyRenderProcess
99
{
1010
public:
11-
MARATHON_INSERT_PADDING(0xC);
11+
be<uint32_t> m_CameraIndex;
12+
MARATHON_INSERT_PADDING(0x8);
1213
};
1314

1415
MARATHON_ASSERT_SIZEOF(SetClip, 0x44);

MarathonRecomp/api/Sonicteam/RenderAction/SetFovY.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ namespace Sonicteam::RenderAction
88
class SetFovY : public MyRenderProcess
99
{
1010
public:
11-
MARATHON_INSERT_PADDING(0x8);
11+
be<uint32_t> m_CameraIndex;
12+
MARATHON_INSERT_PADDING(0x4);
1213
};
1314

1415
MARATHON_ASSERT_SIZEOF(SetFovY, 0x40);

MarathonRecomp/api/Sonicteam/RenderAction/SetScreen.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ namespace Sonicteam::RenderAction
88
class SetScreen : public MyRenderProcess
99
{
1010
public:
11-
MARATHON_INSERT_PADDING(0xC);
11+
be<uint32_t> m_CameraIndex;
12+
MARATHON_INSERT_PADDING(0x8);
1213
};
1314

1415
MARATHON_ASSERT_SIZEOF(SetScreen, 0x44);

MarathonRecomp/api/Sonicteam/RenderAction/SetUserClipPlaneEnable.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ namespace Sonicteam::RenderAction
88
class SetUserClipPlaneEnable : public MyRenderProcess
99
{
1010
public:
11-
MARATHON_INSERT_PADDING(0x8);
11+
be<uint32_t> m_CameraIndex;
12+
MARATHON_INSERT_PADDING(0x4);
1213
};
1314

1415
MARATHON_ASSERT_SIZEOF(SetUserClipPlaneEnable, 0x40);

MarathonRecomp/api/Sonicteam/WorldRenderTask.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Sonicteam
99
{
1010
public:
1111
be<uint32_t> m_PassIndex;
12-
xpointer<void> m_Camera;
12+
be<uint32_t> m_CameraIndex;
1313
bool m_Sectors;
1414
bool m_Drawables;
1515
be<uint32_t> m_Flags;

0 commit comments

Comments
 (0)