Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
b165c21
Dynamic UI aspect ratio and controller icons support (WIP)
hyperbx Aug 5, 2025
6ed120b
Apply config controller icons first before auto
hyperbx Aug 5, 2025
b6ec373
Merge remote-tracking branch 'upstream/main' into csd-aspect-ratio
hyperbx Aug 6, 2025
119b05c
Merge remote-tracking branch 'upstream/main' into csd-aspect-ratio
hyperbx Aug 11, 2025
463fbaf
Merge remote-tracking branch 'upstream/main' into csd-aspect-ratio
hyperbx Aug 11, 2025
a9b239d
CsdManager: use Sonicteam::System::Singleton
hyperbx Aug 11, 2025
ec5dfd6
Implement pillarboxing on loading screens and CSD repeat modifiers
hyperbx Aug 19, 2025
3190f6c
Merge remote-tracking branch 'upstream/main' into csd-aspect-ratio
hyperbx Aug 19, 2025
31ff1a0
Fix macOS build
hyperbx Aug 19, 2025
7f02073
Align main menu plates to bottom
hyperbx Aug 19, 2025
9f0f70e
Apply scaling to main HUD and radar
hyperbx Aug 19, 2025
d4b8adf
Fix main menu seams and boss name alignment
hyperbx Aug 20, 2025
035a892
Merge remote-tracking branch 'upstream/main' into csd-aspect-ratio
hyperbx Aug 23, 2025
c78290c
Clean-up, added CSD alignment for multiplayer HUDs
hyperbx Aug 23, 2025
a6a94a0
Fix radar and controller icons, aligned main menu titlebar effect
hyperbx Aug 23, 2025
92775f4
Truncate XNCPs with language names to redirect CSD modifiers
hyperbx Aug 24, 2025
0d65772
Results CSD adjustments
hyperbx Aug 24, 2025
c7741ef
Check suffix against XNCP name case insensitive
hyperbx Aug 24, 2025
9c9d4e1
Remove battle_result language suffix
hyperbx Aug 24, 2025
4092228
Fix Audio/Theatre Room "pod" box fill
hyperbx Aug 24, 2025
8af2280
Implement ultrawide main menu chevron animation (WIP)
hyperbx Aug 25, 2025
b3b6506
Added ultrawide-only CSD modifier
hyperbx Aug 25, 2025
48d8b69
Improve ultrawide chevron offset and alpha motion
hyperbx Aug 26, 2025
f6e663c
Improve text scaling
hyperbx Aug 28, 2025
7a5f6e9
Improve narrow UI scaling
hyperbx Aug 28, 2025
e0477d5
Fixed button prompts with short strings not changing platform
hyperbx Aug 28, 2025
418d92a
Fixed 2P UI element not extending properly at ultrawide
hyperbx Aug 28, 2025
6f94fa5
Align CRI technology logos to the bottom right corner
hyperbx Aug 30, 2025
6315dad
Merge remote-tracking branch 'upstream/main' into csd-aspect-ratio
hyperbx Sep 3, 2025
9f4d3cc
Fix chevron animation offset with centred UI Alignment Mode
hyperbx Sep 3, 2025
e5038c4
Remove result debug key
hyperbx Sep 3, 2025
0ef0108
Scale town NPC balloon icons
hyperbx Sep 3, 2025
8ec5e5a
Merge remote-tracking branch 'upstream/main' into csd-aspect-ratio
hyperbx Sep 4, 2025
6311e51
Merge remote-tracking branch 'upstream/main' into csd-aspect-ratio
hyperbx Sep 5, 2025
91905f1
Clean-up
hyperbx Sep 5, 2025
bd73869
API: radar research
hyperbx Sep 5, 2025
0e70a43
API: TextBook research
hyperbx Sep 5, 2025
ad6a9f8
Align mission timer to the top of the screen
hyperbx Sep 5, 2025
373d009
Move Unicode string functions to Marathon.inl
hyperbx Sep 5, 2025
4607d60
Implement text entity modifiers
hyperbx Sep 6, 2025
03b417d
Fix message window vertical alignment
hyperbx Sep 6, 2025
c53ff64
Support letterboxing in ImGui black bar
hyperbx Sep 6, 2025
32e1f95
Remove main menu vertical alignments
hyperbx Sep 6, 2025
3905115
Remove mission timer alignment for centred mode at narrow aspect ratios
hyperbx Sep 6, 2025
dddfc60
Align talk window to bottom and fix loading screen scaling
hyperbx Sep 6, 2025
56a7664
Implement VERT+
hyperbx Sep 7, 2025
30aa682
Fix NPC balloon icon scale at narrow aspect ratios
hyperbx Sep 7, 2025
2a4ef10
Merge remote-tracking branch 'upstream/main' into csd-aspect-ratio
hyperbx Sep 7, 2025
0785e45
Align NPC dialogue window text to bottom
hyperbx Sep 7, 2025
e7b5647
API: mapped cameras in GameImp
hyperbx Sep 9, 2025
ceb6f0b
Scale main menu borders for narrow aspect ratios
hyperbx Sep 13, 2025
4a5d017
Fix multiplayer main menu text lingering at ultrawide
hyperbx Sep 13, 2025
758bbf1
Fix multiplayer gauge and itembox alignment
hyperbx Sep 13, 2025
ab63805
Draw letter/pillarbox for credits
hyperbx Sep 13, 2025
618c3ac
API: remove self include from FrameObserver
hyperbx Sep 13, 2025
f3b2a19
API: fix camera mappings in GameImp
hyperbx Sep 13, 2025
dc0ed5f
API: rename field in HudTextParts
hyperbx Sep 13, 2025
f64b4ab
Copy font picture on resource load
hyperbx Sep 13, 2025
2a65b50
Only store font picture texture dimensions
hyperbx Sep 13, 2025
1fb9c68
Fix overlapping vertices
hyperbx Sep 13, 2025
1a4793f
Only extend metal borders at aspect ratios narrower than 4:3
hyperbx Sep 13, 2025
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
2 changes: 2 additions & 0 deletions MarathonRecomp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ set(MARATHON_RECOMP_PATCHES_CXX_SOURCES
"patches/camera_patches.cpp"
"patches/fps_patches.cpp"
"patches/frontend_listener.cpp"
"patches/loading_patches.cpp"
"patches/MainMenuTask_patches.cpp"
"patches/misc_patches.cpp"
"patches/player_patches.cpp"
"patches/SaveDataTask_patches.cpp"
Expand Down
12 changes: 0 additions & 12 deletions MarathonRecomp/api/CSD/Manager/csdmNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,5 @@ namespace Chao::CSD
MARATHON_INSERT_PADDING(0x34);
xpointer<CMotionPattern> m_pMotionPattern;
MARATHON_INSERT_PADDING(0x18);

~CNode();

void SetText(const char* in_pText);
void SetText(const wchar_t* in_pText);
void SetPosition(float in_X, float in_Y);
void SetHideFlag(uint32_t in_HideFlag);
void SetRotation(float in_Rotation);
void SetScale(float in_X, float in_Y);
void SetPatternIndex(uint32_t in_PatternIndex);
};
}

#include <CSD/Manager/csdmNode.inl>
44 changes: 0 additions & 44 deletions MarathonRecomp/api/CSD/Manager/csdmNode.inl

This file was deleted.

2 changes: 1 addition & 1 deletion MarathonRecomp/api/CSD/Manager/csdmNodeObserver.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "CSD/Manager/csdmObserverBase.h"
#include <CSD/Manager/csdmObserverBase.h>

namespace Chao::CSD
{
Expand Down
8 changes: 2 additions & 6 deletions MarathonRecomp/api/CSD/Manager/csdmObserverBase.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "Marathon.inl"
#include <Marathon.inl>

namespace Chao::CSD
{
Expand All @@ -10,14 +10,10 @@ namespace Chao::CSD
public:
struct Vftable
{
be<uint32_t> m_fpDtor;
be<uint32_t> fpDestroy;
};

xpointer<Vftable> m_pVftable;
MARATHON_INSERT_PADDING(0x08);

~CObserverBase();
};
}

#include "CSD/Manager/csdmObserverBase.inl"
8 changes: 0 additions & 8 deletions MarathonRecomp/api/CSD/Manager/csdmObserverBase.inl

This file was deleted.

23 changes: 9 additions & 14 deletions MarathonRecomp/api/CSD/Manager/csdmProject.h
Original file line number Diff line number Diff line change
@@ -1,31 +1,26 @@
#pragma once

#include "Marathon.inl"
#include "CSD/Manager/csdmBase.h"
#include "CSD/Manager/csdmResourceBase.h"
#include <Marathon.inl>
#include <CSD/Manager/csdmBase.h>
#include <CSD/Manager/csdmResourceBase.h>

namespace Chao::CSD
{
struct Project;
class SceneNode;
class CProject;
class CScene;
class CTexList;

struct Project
{
xpointer<SceneNode> pRootNode;
};

class CProject : public CResourceBase<Project>, CBase
{
public:
MARATHON_INSERT_PADDING(0x1C);
RCPtr<CTexList> m_rcTexList;
MARATHON_INSERT_PADDING(0x1C);

RCPtr<CScene> CreateScene(const char* in_pName) const;
RCPtr<CScene> CreateScene(const char* in_pName, const char* in_pMotionName) const;

void DestroyScene(CScene* in_pScene);
void DestroyScene(RCPtr<CScene>& inout_rcScene);

static void DestroyScene(CProject* in_pProject, RCPtr<CScene>& inout_rcScene);
};
}

#include "CSD/Manager/csdmProject.inl"
40 changes: 0 additions & 40 deletions MarathonRecomp/api/CSD/Manager/csdmProject.inl

This file was deleted.

12 changes: 3 additions & 9 deletions MarathonRecomp/api/CSD/Manager/csdmRCObject.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "CSD/Manager/csdmRCPtrAbs.h"
#include <CSD/Manager/csdmRCPtrAbs.h>

namespace Chao::CSD
{
Expand All @@ -9,20 +9,14 @@ namespace Chao::CSD
public:
struct Vftable
{
be<uint32_t> m_fpDtor;
be<uint32_t> m_fpDeallocate;
be<uint32_t> fpDestroy;
be<uint32_t> fpDeallocate;
};

xpointer<Vftable> m_pVftable;
xpointer<void> m_pMemory;
be<uint32_t> m_RefCount;
xpointer<void> m_pDealloctor;
be<uint32_t> m_eDealloctor;

~RCObject();
void Deallocate(void* in_pMemory);
void Release();
};
}

#include "CSD/Manager/csdmRCObject.inl"
35 changes: 0 additions & 35 deletions MarathonRecomp/api/CSD/Manager/csdmRCObject.inl

This file was deleted.

2 changes: 1 addition & 1 deletion MarathonRecomp/api/CSD/Manager/csdmRCObjectImp.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "CSD/Manager/csdmRCPtr.h"
#include <CSD/Manager/csdmRCPtr.h>

namespace Chao::CSD
{
Expand Down
14 changes: 0 additions & 14 deletions MarathonRecomp/api/CSD/Manager/csdmRCObjectImp.inl

This file was deleted.

21 changes: 1 addition & 20 deletions MarathonRecomp/api/CSD/Manager/csdmRCPtr.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "CSD/Manager/csdmRCPtrAbs.h"
#include <CSD/Manager/csdmRCPtrAbs.h>

namespace Chao::CSD
{
Expand All @@ -9,24 +9,5 @@ namespace Chao::CSD
{
public:
class RCObjectImp;

RCPtr() : RCPtrAbs() {}
RCPtr(T* in_pMemory) : RCPtrAbs(in_pMemory) {}
RCPtr(const RCPtr& in_rOther) : RCPtrAbs(in_rOther) {}
RCPtr(RCPtr&& in_rOther) : RCPtrAbs(std::move(in_rOther)) {}

void Attach(T* in_pObject);

T* Get() const;
void Set(const RCPtr& in_rOther);

T* operator*() const;
T* operator->() const;

RCPtr& operator=(const RCPtr& in_rOther);

operator bool() const;
};
}

#include "CSD/Manager/csdmRCPtr.inl"
45 changes: 0 additions & 45 deletions MarathonRecomp/api/CSD/Manager/csdmRCPtr.inl

This file was deleted.

Loading
Loading