forked from Ares-Developers/YRpp
-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathShipLocomotionClass.h
52 lines (40 loc) · 1.15 KB
/
ShipLocomotionClass.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//Locomotor = {2BEA74E1-7CCA-11d3-BE14-00104B62A16C}
#pragma once
#include <LocomotionClass.h>
class NOVTABLE ShipLocomotionClass : public LocomotionClass, public IPiggyback
{
public:
static constexpr uintptr_t ILocoVTable = 0x7F2D8C;
// TODO stub virtuals implementations
//Destructor
virtual ~ShipLocomotionClass() RX;
//Constructor
ShipLocomotionClass()
: ShipLocomotionClass(noinit_t())
{ JMP_THIS(0x69EC50); }
protected:
explicit __forceinline ShipLocomotionClass(noinit_t)
: LocomotionClass(noinit_t())
{ }
//===========================================================================
//===== Properties ==========================================================
//===========================================================================
public:
DWORD PreviousRamp;
DWORD CurrentRamp;
RateTimer SlopeTimer;
CoordStruct Destination;
CoordStruct HeadToCoord;
int SpeedAccum;
double movementspeed_50;
DWORD TrackNumber;
int TrackIndex;
bool IsOnShortTrack;
BYTE IsTurretLockedDown;
bool IsRotating;
bool IsDriving;
bool IsRocking;
bool IsLocked;
ILocomotion* Piggybackee;
};
static_assert(sizeof(ShipLocomotionClass) == 0x70);