Changeset 6738 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Jan 25, 2006, 9:30:43 PM (19 years ago)
- Location:
- trunk/src/world_entities/weapons
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/aiming_turret.cc
r6724 r6738 120 120 void AimingTurret::tick(float dt) 121 121 { 122 if (!Weapon::tickW(dt)) 123 return; 122 124 Quaternion quat; 123 125 Vector direction = this->target->getAbsCoor() - this->getAbsCoor(); -
trunk/src/world_entities/weapons/targeting_turret.cc
r6724 r6738 124 124 void TargetingTurret::tick(float dt) 125 125 { 126 if (!Weapon::tickW(dt)) 127 return; 128 126 129 if( lockedTime >= neededLockTime ) 127 130 { … … 153 156 pj->setAbsDir(this->getAbsDir()); 154 157 pj->activate(); 155 158 156 159 } 157 160 -
trunk/src/world_entities/weapons/turret.cc
r6724 r6738 116 116 void Turret::tick(float dt) 117 117 { 118 if (!Weapon::tickW(dt)) 119 return; 118 120 119 121 Quaternion quat;
Note: See TracChangeset
for help on using the changeset viewer.