mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 03:07:43 +00:00
more input implementation
This commit is contained in:
24
DataSpec/DNAMP1/Tweaks/CTweakPlayer.hpp
Normal file
24
DataSpec/DNAMP1/Tweaks/CTweakPlayer.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef _DNAMP1_CTWEAKPLAYER_HPP_
|
||||
#define _DNAMP1_CTWEAKPLAYER_HPP_
|
||||
|
||||
#include "../../DNACommon/Tweaks/ITweakPlayer.hpp"
|
||||
|
||||
namespace Retro
|
||||
{
|
||||
namespace DNAMP1
|
||||
{
|
||||
|
||||
struct CTweakPlayer : ITweakPlayer
|
||||
{
|
||||
DECL_YAML
|
||||
Value<float> m_leftDiv;
|
||||
Value<float> m_rightDiv;
|
||||
float GetLeftLogicalThreshold() const {return m_leftDiv;}
|
||||
float GetRightLogicalThreshold() const {return m_rightDiv;}
|
||||
CTweakPlayer(Athena::io::IStreamReader& reader) {this->read(reader);}
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif // _DNAMP1_CTWEAKPLAYER_HPP_
|
||||
Reference in New Issue
Block a user