T2-CPP/CommonAPI/Common/source/DXAPI/Player.cpp
Robert MacGregor 0410000234 * Minor cleanups.
* Add preprocessor macros for resolving member field offsets in a standard, easy to read way.
2019-07-14 17:00:46 -07:00

17 lines
378 B
C++

#include <DXAPI/Player.h>
namespace DX
{
Player::Player(unsigned int obj) : ShapeBase(obj),
is_jetting(MEMBER_FIELD(obj, bool, 735)),
is_jumping(MEMBER_FIELD(obj, bool, 734)),
headRotationZ(MEMBER_FIELD(obj, float, 2376)),
mRotZ(MEMBER_FIELD(obj, float, 2388)),
is_using_toggledpack(MEMBER_FIELD(obj, bool, 1172)),
velocity(MEMBER_POINT3F(obj, 2392, 4))
{
}
}