mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-22 10:38:16 -05:00
Implemented Unleash gauge hooks
- Implements "Unleash Cancel" to allow cancelling Unleash after activating it. - Implements out of control fixes to prevent the gauge from draining when the player cannot utilise it.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "SWA.inl"
|
||||
#include "SWA/Player/Character/EvilSonic/EvilSonicContext.h"
|
||||
|
||||
namespace SWA::Player
|
||||
{
|
||||
class CEvilSonic
|
||||
{
|
||||
public:
|
||||
SWA_INSERT_PADDING(0xC4);
|
||||
xpointer<CEvilSonicContext> m_spContext;
|
||||
};
|
||||
}
|
||||
@@ -11,5 +11,7 @@ namespace SWA::Player
|
||||
be<float> m_DarkGaiaEnergy;
|
||||
SWA_INSERT_PADDING(0x138);
|
||||
be<uint32_t> m_AnimationID;
|
||||
SWA_INSERT_PADDING(0x104);
|
||||
be<uint32_t> m_OutOfControlCount;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user