-
Notifications
You must be signed in to change notification settings - Fork 3
/
PLAYER.h
executable file
·85 lines (75 loc) · 2.1 KB
/
PLAYER.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#ifndef _PLAYER_H_
#define _PLAYER_H_
#include "INSTANCE.h"
#include "DRAW.h"
typedef struct __AttackItem {
unsigned char anim;
unsigned char framesIn;
unsigned char framesOut;
unsigned char switchDelay;
unsigned char ignoreDelay;
unsigned char segmentToGlow;
unsigned char startCollisionFrame;
unsigned char handsToCollide;
unsigned char endCollisionFrame;
unsigned char ribbonStartFrame;
unsigned char ribbonStartSegment;
unsigned char ribbonEndSegement;
unsigned char ribbonLifeTime;
unsigned char ribbonFaceLifeTime;
unsigned char knockBackFrames;
unsigned char glowFadeInFrames;
unsigned char glowFadeOutFrames;
unsigned short ribbonStartOpacity;
unsigned long ribbonStartColor;
unsigned long ribbonEndColor;
unsigned long glowColor;
unsigned short knockBackDistance;
unsigned short hitPowerScale;
} AttackItem;
typedef struct __ThrowItem {
unsigned char prepAnim;
unsigned char perpAnimFramesIn;
unsigned char prepAnimAlphaIn;
unsigned char coilAnim;
unsigned char coilAnimFramesIn;
unsigned char coilAnimAlphaIn;
unsigned char throwAnim;
unsigned char throwAnimFramesInFactor;
unsigned char throwFrameToLaunch;
unsigned char framesOut;
short launchPointX;
short launchPointY;
short launchPointZ;
short maxXRotation;
short minXRotation;
short maxZRotation;
short minZRotation;
short velocity;
short gravity;
short coilRot;
short pad;
} ThrowItem;
typedef struct __EngagedInstance {
Instance* instance;
unsigned long distance;
} EngagedInstance;
typedef struct __FitPoint {
short x;
short y;
} FitPoint;
typedef struct __SensoryData {
int Flags;
SVector ForwardNormal;
SVector AboveNormal;
SVector BelowNormal;
SVector BelowPoint;
SVector Delta;
Instance* HitMonster;
Instance* CurrentAutoFace;
Instance* LastAutoFace;
struct __EngagedInstance* EngagedList;
unsigned long EngagedMask;
Vector lookAtPoint;
};
#endif