Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/core/shoot_laser.h @ 1902

Last change on this file since 1902 was 1900, checked in by patrick, 21 years ago

orxonox/trunk: hardware independant game speed, more shoots, more speed - see mail

File size: 693 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
10class 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  shoot* lastShoot;
27
28  ShootLaser ();
29  ~ShootLaser ();
30
31  void drawShoot(void);
32  void addShoot(shoot* sh);
33  void addShoot(float x, float y, float z);
34  void addShootExt(float x, float y, float z, float xInc, float yInc, float zInc);
35  void setShootStep(float step);
36  void removeShoot(shoot* sh);
37
38
39 private:
40
41  float step;
42
43};
44
45#endif
Note: See TracBrowser for help on using the repository browser.