Changeset 5500 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- Nov 8, 2005, 12:03:18 AM (19 years ago)
- Location:
- trunk/src/world_entities/weapons
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/laser.cc
r5465 r5500 144 144 145 145 146 void Laser::draw () 146 void Laser::draw () const 147 147 { 148 148 glMatrixMode(GL_MODELVIEW); -
trunk/src/world_entities/weapons/laser.h
r5456 r5500 30 30 31 31 virtual void tick (float time); 32 virtual void draw () ;32 virtual void draw () const; 33 33 34 34 -
trunk/src/world_entities/weapons/projectile.cc
r5357 r5500 127 127 128 128 129 void Projectile::draw () 129 void Projectile::draw () const 130 130 { 131 131 glMatrixMode(GL_MODELVIEW); -
trunk/src/world_entities/weapons/projectile.h
r5498 r5500 40 40 41 41 virtual void tick (float time); 42 virtual void draw () ;42 virtual void draw () const; 43 43 44 44 protected: -
trunk/src/world_entities/weapons/rocket.cc
r5499 r5500 177 177 178 178 179 void Rocket::draw () 179 void Rocket::draw () const 180 180 { 181 181 glMatrixMode(GL_MODELVIEW); -
trunk/src/world_entities/weapons/rocket.h
r5456 r5500 30 30 31 31 virtual void tick (float time); 32 virtual void draw () ;32 virtual void draw () const; 33 33 34 34 -
trunk/src/world_entities/weapons/test_bullet.cc
r5499 r5500 171 171 172 172 173 void TestBullet::draw () 173 void TestBullet::draw () const 174 174 { 175 175 glMatrixMode(GL_MODELVIEW); -
trunk/src/world_entities/weapons/test_bullet.h
r5447 r5500 30 30 31 31 virtual void tick (float time); 32 virtual void draw () ;32 virtual void draw () const; 33 33 34 34 -
trunk/src/world_entities/weapons/test_gun.cc
r5498 r5500 204 204 * this will draw the weapon 205 205 */ 206 void TestGun::draw () 206 void TestGun::draw () const 207 207 { 208 208 /* draw gun body */ -
trunk/src/world_entities/weapons/test_gun.h
r5498 r5500 51 51 virtual void destroy(); 52 52 53 virtual void draw() ;53 virtual void draw() const; 54 54 55 55 private: -
trunk/src/world_entities/weapons/turret.cc
r5456 r5500 156 156 * draws the Turret 157 157 */ 158 void Turret::draw () 158 void Turret::draw () const 159 159 { 160 160 this->getWeaponManager()->getFixedTarget()->debugDraw(10); -
trunk/src/world_entities/weapons/turret.h
r4973 r5500 26 26 virtual void destroy(); 27 27 28 virtual void draw() ;28 virtual void draw() const; 29 29 30 30 private: -
trunk/src/world_entities/weapons/weapon.cc
r5498 r5500 533 533 * this will draw the weapon 534 534 */ 535 void Weapon::draw () 535 void Weapon::draw () const 536 536 {} 537 537 -
trunk/src/world_entities/weapons/weapon.h
r5441 r5500 150 150 void tickW(float dt); //!< this is a function that must be called by the weaponManager, or any other weaponHandler, all other functions are handled from within 151 151 virtual void tick(float dt) {}; 152 virtual void draw() ;152 virtual void draw() const; 153 153 154 154 bool check() const;
Note: See TracChangeset
for help on using the changeset viewer.