Last change
on this file since 1897 was
1896,
checked in by patrick, 21 years ago
|
orxonox/trunk: added ability to shoot. so check out the new release and shoot the fuck up
|
File size:
526 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 | |
---|
10 | class ShootLaser { |
---|
11 | |
---|
12 | |
---|
13 | public: |
---|
14 | |
---|
15 | /* a list of all shoot-amental objects */ |
---|
16 | struct shoot { |
---|
17 | shoot *next; |
---|
18 | float xCor; |
---|
19 | float yCor; |
---|
20 | float zCor; |
---|
21 | float xInc; |
---|
22 | float yInc; |
---|
23 | float zInc; |
---|
24 | float collisionRadius; |
---|
25 | }; |
---|
26 | |
---|
27 | ShootLaser (); |
---|
28 | ~ShootLaser (); |
---|
29 | |
---|
30 | void drawShoot(); |
---|
31 | void addShoot(shoot* sh); |
---|
32 | void addShoot(float x, float y, float z); |
---|
33 | |
---|
34 | |
---|
35 | private: |
---|
36 | shoot* lastShoot; |
---|
37 | }; |
---|
38 | |
---|
39 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.