Add CTweakPlayerControl

Former-commit-id: eec8e29044
This commit is contained in:
Henrique Gemignani Passos Lima
2022-10-16 18:59:40 +03:00
parent fef02639bf
commit b6b39b7412
4 changed files with 82 additions and 6 deletions

View File

@@ -0,0 +1,26 @@
#ifndef _CTWEAKPLAYERCONTROL
#define _CTWEAKPLAYERCONTROL
#include "MetroidPrime/Tweaks/ITweakObject.hpp"
#include "MetroidPrime/CControlMapper.hpp"
#include "Kyoto/TOneStatic.hpp"
#include "rstl/reserved_vector.hpp"
class CInputStream;
class CTweakPlayerControl;
class CTweakPlayerControl : public ITweakObject, public TOneStatic< CTweakPlayerControl > {
public:
CTweakPlayerControl(CInputStream&);
~CTweakPlayerControl() override;
ControlMapper::EFunctionList GetMapping(ControlMapper::ECommands command) const;
private:
rstl::reserved_vector<ControlMapper::EFunctionList, 67> m_mappings;
};
#endif // _CTWEAKPLAYERCONTROL