Last change
on this file since 3088 was
1956,
checked in by bensch, 20 years ago
|
orxonox/trunk: now the Trunk should be merged with the new Makefile. Hopefully it works
|
File size:
734 bytes
|
Line | |
---|
1 | |
---|
2 | #ifndef SHOOT_LASER_H |
---|
3 | #define SHOOT_LASER_H |
---|
4 | |
---|
5 | /* openGL Headers */ |
---|
6 | #include <GL/glut.h> |
---|
7 | |
---|
8 | #include "stdincl.h" |
---|
9 | #include "data_tank.h" |
---|
10 | |
---|
11 | class ShootLaser { |
---|
12 | |
---|
13 | |
---|
14 | public: |
---|
15 | |
---|
16 | /* a list of all shoot-amental objects */ |
---|
17 | struct shoot { |
---|
18 | shoot *next; |
---|
19 | float xCor; |
---|
20 | float yCor; |
---|
21 | float zCor; |
---|
22 | float xVel; |
---|
23 | float yVel; |
---|
24 | float zVel; |
---|
25 | float collisionRadius; |
---|
26 | }; |
---|
27 | shoot* lastShoot; |
---|
28 | |
---|
29 | ShootLaser (); |
---|
30 | ~ShootLaser (); |
---|
31 | |
---|
32 | int inhibitor; |
---|
33 | |
---|
34 | void drawShoot(void); |
---|
35 | void addShoot(shoot* sh); |
---|
36 | void addShoot(float x, float y, float z); |
---|
37 | void addShootExt(float x, float y, float z, float xVel, float yVel, float zVel); |
---|
38 | void setShootStep(float step); |
---|
39 | void removeShoot(shoot* sh); |
---|
40 | |
---|
41 | |
---|
42 | private: |
---|
43 | |
---|
44 | float step; |
---|
45 | |
---|
46 | }; |
---|
47 | |
---|
48 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.