forked from rickyrombo/TileBox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExtension.cpp
More file actions
75 lines (66 loc) · 1.3 KB
/
Extension.cpp
File metadata and controls
75 lines (66 loc) · 1.3 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#include "Common.h"
Extension::Extension(RD *rd, SerializedED *SED, createObjectInfo *COB) : rd(rd), rh(rd->rHo.hoAdRunHeader), Runtime(rd)
{
LinkAction(0, SetTileWidth);
LinkAction(1, SetTileHeight);
LinkAction(2, SetBoxWidth);
LinkAction(3, SetBoxHeight);
LinkAction(4, SetStart);
LinkAction(5, GenerateBox);
LinkCondition(0, LeftTop);
LinkCondition(1, LeftMiddle);
LinkCondition(2, LeftBottom);
LinkCondition(3, MiddleTop);
LinkCondition(4, MiddleMiddle);
LinkCondition(5, MiddleBottom);
LinkCondition(6, RightTop);
LinkCondition(7, RightMiddle);
LinkCondition(8, RightBottom);
LinkExpression(0, LastX);
LinkExpression(1, LastY);
for(size_t i = 0; i < 100; i++)
{
currentX[i] = -1;
currentY[i] = -1;
}
}
Extension::~Extension()
{
}
short Extension::Handle()
{
return REFLAG_ONESHOT;
}
short Extension::Display()
{
return 0;
}
short Extension::Pause()
{
return 0;
}
short Extension::Continue()
{
return 0;
}
bool Extension::Save(HANDLE File)
{
//needs implementing
return false;
}
bool Extension::Load(HANDLE File)
{
//needs implementing
return false;
}
void Extension::Action(int ID, RD *rd, long param1, long param2)
{
}
long Extension::Condition(int ID, RD *rd, long param1, long param2)
{
return false;
}
long Extension::Expression(int ID, RD *rd, long param)
{
return long(_T(""));
}