Changeset 10818 for code/branches/cpp11_v2/src/modules
- Timestamp:
- Nov 19, 2015, 7:55:11 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/modules
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/modules/dodgerace/DodgeRaceShip.cc
r10765 r10818 142 142 } 143 143 144 inline bool DodgeRaceShip::collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint)144 inline bool DodgeRaceShip::collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) 145 145 { 146 146 -
code/branches/cpp11_v2/src/modules/dodgerace/DodgeRaceShip.h
r10817 r10818 70 70 virtual void updateLevel(); 71 71 72 virtual inline bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) override; 73 72 74 float speed, damping, posforeward; 73 75 bool isFireing; … … 77 79 78 80 private: 79 virtual inline bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint);80 81 DodgeRace* getGame(); 81 82 WeakPtr<DodgeRace> game; -
code/branches/cpp11_v2/src/modules/invader/InvaderEnemy.cc
r10765 r10818 64 64 } 65 65 66 inline bool InvaderEnemy::collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint)66 inline bool InvaderEnemy::collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) 67 67 { 68 68 if(orxonox_cast<InvaderShip*>(otherObject)) -
code/branches/cpp11_v2/src/modules/invader/InvaderEnemy.h
r10817 r10818 47 47 48 48 virtual void tick(float dt) override; 49 virtual bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint);49 virtual bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) override; 50 50 virtual void damage(float damage, float healthdamage, float shielddamage, Pawn* originator, const btCollisionShape* cs) override; 51 51 virtual void setPlayer(InvaderShip* player){this->player = player;} -
code/branches/cpp11_v2/src/modules/invader/InvaderShip.cc
r10765 r10818 148 148 getGame()->end(); 149 149 } 150 inline bool InvaderShip::collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint)150 inline bool InvaderShip::collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) 151 151 { 152 152 // orxout() << "touch!!! " << endl; //<< otherObject << " at " << contactPoint; -
code/branches/cpp11_v2/src/modules/invader/InvaderShip.h
r10817 r10818 64 64 virtual void updateLevel(); 65 65 66 virtual inline bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint);66 virtual inline bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) override; 67 67 68 68 protected: -
code/branches/cpp11_v2/src/modules/objects/controllers/TeamTargetProxy.cc
r10262 r10818 28 28 29 29 #include "TeamTargetProxy.h" 30 #include "core/CoreIncludes.h" 30 31 #include "worldentities/ControllableEntity.h" 31 32 #include "worldentities/pawns/Pawn.h" -
code/branches/cpp11_v2/src/modules/objects/controllers/TurretController.cc
r10768 r10818 30 30 #include "worldentities/pawns/Pawn.h" 31 31 #include "objects/Turret.h" 32 #include "core/object/ObjectList.h" 33 #include "core/CoreIncludes.h" 32 34 33 35 namespace orxonox -
code/branches/cpp11_v2/src/modules/towerdefense/TowerDefenseEnemy.cc
r10765 r10818 55 55 } 56 56 57 void TowerDefenseEnemy::damage(float damage, float healthdamage, float shielddamage, Pawn* originator )57 void TowerDefenseEnemy::damage(float damage, float healthdamage, float shielddamage, Pawn* originator, const btCollisionShape* cs) 58 58 { 59 59 Pawn::damage(damage, healthdamage, shielddamage, originator); -
code/branches/cpp11_v2/src/modules/towerdefense/TowerDefenseEnemy.h
r10817 r10818 38 38 39 39 virtual void tick(float dt) override; 40 virtual void damage(float damage, float healthdamage, float shielddamage, Pawn* originator );40 virtual void damage(float damage, float healthdamage, float shielddamage, Pawn* originator, const btCollisionShape* cs) override; 41 41 42 42 private:
Note: See TracChangeset
for help on using the changeset viewer.