mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-05-08 03:49:39 -05:00
Rebase branch to main
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
#include <api/SWA.h>
|
#include <api/SWA.h>
|
||||||
|
#include <ui/reddog/debug_draw.h>
|
||||||
#include <ui/game_window.h>
|
#include <ui/game_window.h>
|
||||||
#include <user/achievement_data.h>
|
#include <user/achievement_data.h>
|
||||||
#include <user/config.h>
|
#include <user/config.h>
|
||||||
@@ -106,22 +107,3 @@ PPC_FUNC(sub_82586698)
|
|||||||
|
|
||||||
__imp__sub_82586698(ctx, base);
|
__imp__sub_82586698(ctx, base);
|
||||||
}
|
}
|
||||||
|
|
||||||
PPC_FUNC_IMPL(__imp__sub_822C9398);
|
|
||||||
PPC_FUNC(sub_822C9398)
|
|
||||||
{
|
|
||||||
auto a2 = (Hedgehog::Math::CVector*)g_memory.Translate(ctx.r4.u32);
|
|
||||||
auto a3 = (Hedgehog::Math::CVector*)g_memory.Translate(ctx.r5.u32);
|
|
||||||
auto a4 = (be<unsigned int>*)g_memory.Translate(ctx.r6.u32);
|
|
||||||
|
|
||||||
Reddog::Vector3 start(a2->X, a2->Y, a2->Z);
|
|
||||||
Reddog::Vector3 end(a3->X, a3->Y, a3->Z);
|
|
||||||
|
|
||||||
const Reddog::SDrawLine line{
|
|
||||||
start, end, a4->value
|
|
||||||
};
|
|
||||||
|
|
||||||
Reddog::DebugDraw::DrawLine(line);
|
|
||||||
|
|
||||||
__imp__sub_822C9398(ctx, base);
|
|
||||||
}
|
|
||||||
@@ -10,6 +10,8 @@ void ExportsWindow::Draw()
|
|||||||
{
|
{
|
||||||
ImGui::TextColored({ 1, 0, 0, 1 }, "For testing purposes only, use Hedge Mod Manager to toggle these.");
|
ImGui::TextColored({ 1, 0, 0, 1 }, "For testing purposes only, use Hedge Mod Manager to toggle these.");
|
||||||
Reddog::Checkbox("Allow Cancelling Unleash", &Config::AllowCancellingUnleash.Value);
|
Reddog::Checkbox("Allow Cancelling Unleash", &Config::AllowCancellingUnleash.Value);
|
||||||
|
Reddog::Checkbox("Disable Auto Save Warning", &Config::DisableAutoSaveWarning.Value);
|
||||||
|
Reddog::Checkbox("Disable DLC Icon", &Config::DisableDLCIcon.Value);
|
||||||
Reddog::Checkbox("Fix Unleash Out of Control Drain", &Config::FixUnleashOutOfControlDrain.Value);
|
Reddog::Checkbox("Fix Unleash Out of Control Drain", &Config::FixUnleashOutOfControlDrain.Value);
|
||||||
Reddog::Checkbox("Homing Attack on Boost", &Config::HomingAttackOnBoost.Value);
|
Reddog::Checkbox("Homing Attack on Boost", &Config::HomingAttackOnBoost.Value);
|
||||||
Reddog::Checkbox("Save Score at Checkpoints", &Config::SaveScoreAtCheckpoints.Value);
|
Reddog::Checkbox("Save Score at Checkpoints", &Config::SaveScoreAtCheckpoints.Value);
|
||||||
|
|||||||
+1
-1
Submodule UnleashedRecompResources updated: 775f0bb026...263812fd18
+1
-1
Submodule tools/PowerRecomp updated: de2840970f...7fb8af1bad
Reference in New Issue
Block a user