metaforce/DataSpec/DNAMP1/Tweaks/CTweakPlayer.hpp

35 lines
967 B
C++
Raw Normal View History

2015-08-29 01:30:47 +00:00
#ifndef _DNAMP1_CTWEAKPLAYER_HPP_
#define _DNAMP1_CTWEAKPLAYER_HPP_
#include "../../DNACommon/Tweaks/ITweakPlayer.hpp"
2016-02-13 09:02:47 +00:00
namespace DataSpec
2015-08-29 01:30:47 +00:00
{
namespace DNAMP1
{
struct CTweakPlayer : ITweakPlayer
{
DECL_YAML
Value<float> m_playerHeight;
Value<float> m_playerXYHalfExtent;
Value<float> m_unk1;
Value<float> m_unk2;
Value<float> m_unk3;
2015-08-29 01:30:47 +00:00
Value<float> m_leftDiv;
Value<float> m_rightDiv;
float GetPlayerHeight() const { return m_playerHeight; }
float GetPlayerXYHalfExtent() const { return m_playerXYHalfExtent; }
float GetPlayerSomething1() const { return m_unk1; }
float GetPlayerSomething2() const { return m_unk2; }
float GetPlayerSomething3() const { return m_unk3; }
2015-08-29 01:30:47 +00:00
float GetLeftLogicalThreshold() const {return m_leftDiv;}
float GetRightLogicalThreshold() const {return m_rightDiv;}
2016-03-04 23:04:53 +00:00
CTweakPlayer(athena::io::IStreamReader& reader) {this->read(reader);}
2015-08-29 01:30:47 +00:00
};
}
}
#endif // _DNAMP1_CTWEAKPLAYER_HPP_