Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions MarathonRecomp/api/Marathon.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
#include "Sonicteam/MyCueAttenuate.h"
#include "Sonicteam/MyGraphicsDevice.h"
#include "Sonicteam/MyPhantom.h"
#include "Sonicteam/MyRenderProcess.h"
#include "Sonicteam/MyTexture.h"
#include "Sonicteam/MyTransforms.h"
#include "Sonicteam/NamedActor.h"
Expand Down Expand Up @@ -136,6 +137,53 @@
#include "Sonicteam/Player/Zock.h"
#include "Sonicteam/PropFixture.h"
#include "Sonicteam/RaderMapManager.h"
#include "Sonicteam/RenderAction/ApplyBloom.h"
#include "Sonicteam/RenderAction/ApplyDevice.h"
#include "Sonicteam/RenderAction/ApplySceneParams.h"
#include "Sonicteam/RenderAction/AutoSetAspect.h"
#include "Sonicteam/RenderAction/Capture.h"
#include "Sonicteam/RenderAction/ClearRenderTarget.h"
#include "Sonicteam/RenderAction/ColorFill.h"
#include "Sonicteam/RenderAction/CopyTexture.h"
#include "Sonicteam/RenderAction/LockBlendMode.h"
#include "Sonicteam/RenderAction/LockCullMode.h"
#include "Sonicteam/RenderAction/LockZMode.h"
#include "Sonicteam/RenderAction/MakeBloom.h"
#include "Sonicteam/RenderAction/Movie.h"
#include "Sonicteam/RenderAction/PrepareCalculateCSM.h"
#include "Sonicteam/RenderAction/Rasterize.h"
#include "Sonicteam/RenderAction/RasterizeBurnoutBlur.h"
#include "Sonicteam/RenderAction/ResetRenderStates.h"
#include "Sonicteam/RenderAction/ResetScissorRect.h"
#include "Sonicteam/RenderAction/ResetViewport.h"
#include "Sonicteam/RenderAction/Resolve.h"
#include "Sonicteam/RenderAction/RunCommandBuffer.h"
#include "Sonicteam/RenderAction/SetAutoZPass.h"
#include "Sonicteam/RenderAction/SetBackStencilOp.h"
#include "Sonicteam/RenderAction/SetBlendMode.h"
#include "Sonicteam/RenderAction/SetCSMTextures.h"
#include "Sonicteam/RenderAction/SetClip.h"
#include "Sonicteam/RenderAction/SetColorWriteEnable.h"
#include "Sonicteam/RenderAction/SetConstantShader.h"
#include "Sonicteam/RenderAction/SetCullMode.h"
#include "Sonicteam/RenderAction/SetCurrentScreen.h"
#include "Sonicteam/RenderAction/SetDepthTextures.h"
#include "Sonicteam/RenderAction/SetFovY.h"
#include "Sonicteam/RenderAction/SetFrameBufferObject.h"
#include "Sonicteam/RenderAction/SetReflectionTextures.h"
#include "Sonicteam/RenderAction/SetScissorRect.h"
#include "Sonicteam/RenderAction/SetScissorTest.h"
#include "Sonicteam/RenderAction/SetScreen.h"
#include "Sonicteam/RenderAction/SetShaderGPRAllocation.h"
#include "Sonicteam/RenderAction/SetStencilEnable.h"
#include "Sonicteam/RenderAction/SetStencilFunc.h"
#include "Sonicteam/RenderAction/SetStencilOp.h"
#include "Sonicteam/RenderAction/SetStencilWriteMask.h"
#include "Sonicteam/RenderAction/SetTexture.h"
#include "Sonicteam/RenderAction/SetUserClipPlaneEnable.h"
#include "Sonicteam/RenderAction/SetViewport.h"
#include "Sonicteam/RenderAction/SetZMode.h"
#include "Sonicteam/RenderPostprocess.h"
#include "Sonicteam/SaveDataTask.h"
#include "Sonicteam/SaveDataTaskXENON.h"
#include "Sonicteam/SelectWindowTask.h"
Expand All @@ -149,6 +197,7 @@
#include "Sonicteam/SoX/Engine/Application.h"
#include "Sonicteam/SoX/Engine/Doc.h"
#include "Sonicteam/SoX/Engine/DocMode.h"
#include "Sonicteam/SoX/Engine/RenderProcess.h"
#include "Sonicteam/SoX/Engine/Task.h"
#include "Sonicteam/SoX/Graphics/Device.h"
#include "Sonicteam/SoX/Graphics/Frame.h"
Expand Down Expand Up @@ -206,9 +255,11 @@
#include "Sonicteam/VehicleMissileCtrl.h"
#include "Sonicteam/VehicleMissileCtrlAutomatic.h"
#include "Sonicteam/VehicleMissileCtrlSingle.h"
#include "Sonicteam/WorldRenderProcess.h"
#include "Sonicteam/sonicXmaPlayer.h"
#include "boost/smart_ptr/make_shared_object.h"
#include "boost/smart_ptr/shared_ptr.h"
#include "d3dxb.h"
#include "hk330/hkArray.h"
#include "hk330/hkReferencedObject.h"
#include "hk330/hkpBroadPhaseHandle.h"
Expand Down
19 changes: 19 additions & 0 deletions MarathonRecomp/api/Sonicteam/MyRenderProcess.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyGraphicsDevice.h>
#include <Sonicteam/SoX/Engine/RenderProcess.h>

namespace Sonicteam
{
class MyRenderProcess : public SoX::Engine::RenderProcess
{
public:
xpointer<DocMarathonState> m_pDocMarathonState;
xpointer<MyGraphicsDevice> m_pMyGraphicsDevice;
};

MARATHON_ASSERT_SIZEOF(MyRenderProcess, 0x38);
MARATHON_ASSERT_OFFSETOF(MyRenderProcess, m_pDocMarathonState, 0x30);
MARATHON_ASSERT_OFFSETOF(MyRenderProcess, m_pMyGraphicsDevice, 0x34);
}
15 changes: 15 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/ApplyBloom.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class ApplyBloom : public MyRenderProcess
{
public:
MARATHON_INSERT_PADDING(0x4);
};

MARATHON_ASSERT_SIZEOF(ApplyBloom, 0x3C);
}
11 changes: 11 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/ApplyDevice.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class ApplyDevice : public MyRenderProcess {};

MARATHON_ASSERT_SIZEOF(ApplyDevice, 0x38);
}
11 changes: 11 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/ApplySceneParams.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class ApplySceneParams : public MyRenderProcess {};

MARATHON_ASSERT_SIZEOF(ApplySceneParams, 0x38);
}
16 changes: 16 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/AutoSetAspect.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class ApplyAutoAspect : public MyRenderProcess
{
public:
be<uint32_t> m_CameraIndex;
};

MARATHON_ASSERT_OFFSETOF(ApplyAutoAspect, m_CameraIndex, 0x38);
MARATHON_ASSERT_SIZEOF(ApplyAutoAspect, 0x3C);
}
23 changes: 23 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/Capture.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class Capture : public MyRenderProcess
{
public:
MARATHON_INSERT_PADDING(0x4);
xpointer<void> m_pFramebufferHDR;
MARATHON_INSERT_PADDING(0x14);
xpointer<void> m_pFBO1;
MARATHON_INSERT_PADDING(0x10);
xpointer<void> m_pFBO2;
};

MARATHON_ASSERT_OFFSETOF(Capture, m_pFramebufferHDR, 0x3C);
MARATHON_ASSERT_OFFSETOF(Capture, m_pFBO1, 0x54);
MARATHON_ASSERT_OFFSETOF(Capture, m_pFBO2, 0x68);
MARATHON_ASSERT_SIZEOF(Capture, 0x6C);
}
15 changes: 15 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/ClearRenderTarget.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class ClearRenderTarget : public MyRenderProcess
{
public:
MARATHON_INSERT_PADDING(0x8);
};

MARATHON_ASSERT_SIZEOF(ClearRenderTarget, 0x40);
}
15 changes: 15 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/ColorFill.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class ColorFill : public MyRenderProcess
{
public:
MARATHON_INSERT_PADDING(0x10);
};

MARATHON_ASSERT_SIZEOF(ColorFill, 0x48);
}
18 changes: 18 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/CopyTexture.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class CopyTexture : public MyRenderProcess
{
public:
MARATHON_INSERT_PADDING(0x4);
xpointer<SoX::Graphics::Texture> m_pTexture;
MARATHON_INSERT_PADDING(0x4);
};

MARATHON_ASSERT_OFFSETOF(CopyTexture, m_pTexture, 0x3C);
MARATHON_ASSERT_SIZEOF(CopyTexture, 0x44);
}
16 changes: 16 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/LockBlendMode.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class LockBlendMode : public MyRenderProcess
{
public:
bool m_Lock;
};

MARATHON_ASSERT_OFFSETOF(LockBlendMode, m_Lock, 0x38);
MARATHON_ASSERT_SIZEOF(LockBlendMode, 0x3C);
}
16 changes: 16 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/LockCullMode.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class LockCullMode : public MyRenderProcess
{
public:
bool m_Lock;
};

MARATHON_ASSERT_OFFSETOF(LockCullMode, m_Lock, 0x38);
MARATHON_ASSERT_SIZEOF(LockCullMode, 0x3C);
}
16 changes: 16 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/LockZMode.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class LockZMode : public MyRenderProcess
{
public:
bool m_Lock;
};

MARATHON_ASSERT_OFFSETOF(LockZMode, m_Lock, 0x38);
MARATHON_ASSERT_SIZEOF(LockZMode, 0x3C);
}
15 changes: 15 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/MakeBloom.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class MakeBloom : public MyRenderProcess
{
public:
MARATHON_INSERT_PADDING(0x34);
};

MARATHON_ASSERT_SIZEOF(MakeBloom, 0x6C);
}
16 changes: 16 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/Movie.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class Movie : public MyRenderProcess
{
public:
xpointer<MovieObject> m_pMovieObject;
};

MARATHON_ASSERT_OFFSETOF(Movie, m_pMovieObject, 0x38);
MARATHON_ASSERT_SIZEOF(Movie, 0x3C);
}
15 changes: 15 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/PrepareCalculateCSM.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class PrepareCalculateCSM : public MyRenderProcess
{
public:
MARATHON_INSERT_PADDING(0x18);
};

MARATHON_ASSERT_SIZEOF(PrepareCalculateCSM, 0x50);
}
19 changes: 19 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/Rasterize.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class Rasterize : public MyRenderProcess
{
public:
MARATHON_INSERT_PADDING(0x4);
xpointer<SoX::Graphics::Texture> m_pTexture;
bool m_Flag;
};

MARATHON_ASSERT_OFFSETOF(Rasterize, m_pTexture, 0x3C);
MARATHON_ASSERT_OFFSETOF(Rasterize, m_Flag, 0x40);
MARATHON_ASSERT_SIZEOF(Rasterize, 0x44);
}
15 changes: 15 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/RasterizeBurnoutBlur.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class RasterizeBurnoutBlur : public MyRenderProcess
{
public:
MARATHON_INSERT_PADDING(0x10);
};

MARATHON_ASSERT_SIZEOF(RasterizeBurnoutBlur, 0x48);
}
11 changes: 11 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/ResetRenderStates.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class ResetRenderStates : public MyRenderProcess {};

MARATHON_ASSERT_SIZEOF(ResetRenderStates, 0x38);
}
11 changes: 11 additions & 0 deletions MarathonRecomp/api/Sonicteam/RenderAction/ResetScissorRect.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#pragma once

#include <Marathon.inl>
#include <Sonicteam/MyRenderProcess.h>

namespace Sonicteam::RenderAction
{
class ResetScissorRect : public MyRenderProcess {};

MARATHON_ASSERT_SIZEOF(ResetScissorRect, 0x38);
}
Loading
Loading