Implemented camera aspect ratio hooks

This commit is contained in:
Hyper
2024-10-17 19:15:36 +01:00
parent 02c9484c9c
commit 3c1c13e4ce
17 changed files with 307 additions and 7 deletions
@@ -0,0 +1,26 @@
#pragma once
#include "SWA.inl"
#include "PadState.h"
namespace SWA
{
class CInputState // : public Hedgehog::Base::CSynchronizedObject
{
public:
// TODO: Hedgehog::Base::TSynchronizedPtr<CInputState>*
inline static xpointer<CInputState>* ms_pInstance = (xpointer<CInputState>*)g_memory.Translate(0x833671EC);
// TODO: Hedgehog::Base::TSynchronizedPtr<CInputState>
static CInputState* GetInstance();
SPadState m_PadStates[40];
SWA_INSERT_PADDING(0x50);
be<uint32_t> m_CurrentPadStateIndex;
SWA_INSERT_PADDING(0x04);
const SPadState& GetPadState() const;
};
}
#include "InputState.inl"