forked from Phobos-developers/YRpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LineTrail.h
43 lines (31 loc) · 825 Bytes
/
LineTrail.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
#pragma once
#include <GeneralDefinitions.h>
#include <Helpers/CompileTime.h>
struct LineTrailNode
{
CoordStruct Position;
int Value;
};
class LineTrail
{
public:
static constexpr constant_ptr<DynamicVectorClass<LineTrail*>, 0xABCB78u> const Array{};
//Constructor, Destructor
LineTrail()
{ JMP_THIS(0x556A20); }
~LineTrail()
{ JMP_THIS(0x556B30); }
void SetDecrement(int val)
{ JMP_THIS(0x556B50); }
static void DeleteAll()
{ JMP_STD(0x556DF0); }
//===========================================================================
//===== Properties ==========================================================
//===========================================================================
public:
ColorStruct Color;
ObjectClass* Owner;
int Decrement;
int ActiveSlot;
LineTrailNode Trails[32];
};