-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnobject.hpp
58 lines (50 loc) · 994 Bytes
/
nobject.hpp
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
#ifndef LIERO_NOBJECT_HPP
#define LIERO_NOBJECT_HPP
#include "math.hpp"
#include "objectList.hpp"
struct Worm;
struct NObjectType
{
void create1(fixed velX, fixed velY, int x, int y, int colour, Worm* owner);
void create2(int angle, fixed velX, fixed velY, fixed x, fixed y, int colour, Worm* owner);
int detectDistance;
fixed gravity;
int speed;
int speedV;
int distribution;
int blowAway;
int bounce;
int hitDamage;
bool wormExplode;
bool explGround;
bool wormDestroy;
int bloodOnHit;
int startFrame;
int numFrames;
bool drawOnMap;
int colourBullets;
int createOnExp;
bool affectByExplosions;
int dirtEffect;
int splinterAmount;
int splinterColour;
int splinterType;
bool bloodTrail;
int bloodTrailDelay;
int leaveObj;
int leaveObjDelay;
int timeToExplo;
int timeToExploV;
int id;
};
struct NObject : ObjectListBase
{
void process();
fixed x, y;
fixed velX, velY;
int timeLeft;
int id;
Worm* owner;
int curFrame;
};
#endif // LIERO_NOBJECT_HPP