mirror of
https://github.com/Ragora/T2-CPP.git
synced 2026-05-21 14:05:55 +00:00
Restructured project structure to use a singular SLN; made the T2API common to all projects; adjusted watchdog timer to 8 seconds
This commit is contained in:
parent
e1c5d1dead
commit
527474ff24
79 changed files with 469 additions and 626 deletions
14
CommonAPI/Common/source/DXAPI/Player.cpp
Normal file
14
CommonAPI/Common/source/DXAPI/Player.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include <DXAPI/Player.h>
|
||||
|
||||
namespace DX
|
||||
{
|
||||
Player::Player(unsigned int obj) : ShapeBase(obj),
|
||||
name(0x00), id(*(unsigned int*)(obj + 32)),
|
||||
is_jetting(*(bool*)(obj + 735)),
|
||||
is_jumping(*(bool*)(obj + 734)),
|
||||
is_using_toggledpack(*(bool*)(obj + 1172)),
|
||||
velocity(*(float*)(obj + 2392), *(float*)(obj + 2396), *(float*)(obj + 2400))
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue