Changeset 10733 for code/branches/cpp11_v2/src/modules/invader
- Timestamp:
- Oct 31, 2015, 6:11:53 PM (9 years ago)
- Location:
- code/branches/cpp11_v2
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2
- Property svn:mergeinfo changed
/code/branches/cpp11 (added) merged: 10439-10441,10443,10545
- Property svn:mergeinfo changed
-
code/branches/cpp11_v2/src/modules/invader/Invader.cc
r10624 r10733 129 129 } 130 130 131 void Invader::setCenterpoint(InvaderCenterPoint* center) 132 { 133 this->center_ = center; 134 } 135 131 136 void Invader::costLife() 132 137 { -
code/branches/cpp11_v2/src/modules/invader/Invader.h
r10624 r10733 39 39 40 40 #include "gametypes/Deathmatch.h" 41 42 #include "InvaderCenterPoint.h"43 44 41 #include "tools/Timer.h" 45 42 … … 58 55 void spawnEnemy(); 59 56 60 void setCenterpoint(InvaderCenterPoint* center) 61 { this->center_ = center; } 57 void setCenterpoint(InvaderCenterPoint* center); 62 58 63 59 int getLives(){return this->lives;} -
code/branches/cpp11_v2/src/modules/invader/InvaderEnemy.cc
r10625 r10733 32 32 */ 33 33 34 #include "invader/InvaderPrereqs.h"35 34 #include "InvaderEnemy.h" 35 36 #include "core/CoreIncludes.h" 37 #include "Invader.h" 36 38 #include "InvaderShip.h" 37 39 -
code/branches/cpp11_v2/src/modules/invader/InvaderEnemy.h
r10625 r10733 37 37 #include "invader/InvaderPrereqs.h" 38 38 39 #include "worldentities/pawns/ SpaceShip.h"39 #include "worldentities/pawns/Pawn.h" 40 40 41 41 namespace orxonox -
code/branches/cpp11_v2/src/modules/invader/InvaderEnemyShooter.cc
r10628 r10733 32 32 */ 33 33 34 #include "invader/InvaderPrereqs.h"35 34 #include "InvaderEnemyShooter.h" 36 // #include "worldentities/pawns/SpaceShip.h" 35 36 #include "core/CoreIncludes.h" 37 #include "core/command/Executor.h" 38 #include "Invader.h" 39 #include "InvaderShip.h" 37 40 38 41 namespace orxonox -
code/branches/cpp11_v2/src/modules/invader/InvaderHUDinfo.cc
r10624 r10733 30 30 #include "core/XMLPort.h" 31 31 #include "util/Convert.h" 32 //#include "Invader.h"32 #include "Invader.h" 33 33 34 34 namespace orxonox -
code/branches/cpp11_v2/src/modules/invader/InvaderShip.cc
r10624 r10733 37 37 #include "core/XMLPort.h" 38 38 #include "Invader.h" 39 #include "InvaderEnemy.h" 40 #include "graphics/Camera.h" 41 #include "weapons/projectiles/Projectile.h" 39 42 40 43 namespace orxonox … … 139 142 isFireing = bBoost; 140 143 } 144 void InvaderShip::rotateRoll(const Vector2& value) 145 { 146 if (getGame()) 147 if (getGame()->bEndGame) 148 getGame()->end(); 149 } 141 150 inline bool InvaderShip::collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint) 142 151 { -
code/branches/cpp11_v2/src/modules/invader/InvaderShip.h
r10624 r10733 37 37 #include "invader/InvaderPrereqs.h" 38 38 39 #include "weapons/WeaponsPrereqs.h" 39 40 #include "worldentities/pawns/SpaceShip.h" 40 #include "graphics/Camera.h"41 #include "weapons/projectiles/Projectile.h"42 41 43 42 namespace orxonox … … 61 60 virtual void rotatePitch(const Vector2& value){}; 62 61 //return to main menu if game has ended. 63 virtual void rotateRoll(const Vector2& value) {if (getGame()) if (getGame()->bEndGame) getGame()->end();};62 virtual void rotateRoll(const Vector2& value); 64 63 65 64 virtual void updateLevel(); -
code/branches/cpp11_v2/src/modules/invader/InvaderWeapon.h
r9943 r10733 35 35 #define _InvaderWeapon_H__ 36 36 37 #include "invader/InvaderPrereqs.h" 38 39 #include "weapons/WeaponsPrereqs.h" 37 40 #include "weapons/weaponmodes/HsW01.h" 38 #include "weapons/WeaponsPrereqs.h"39 40 #include "tools/Timer.h"41 41 42 42 namespace orxonox -
code/branches/cpp11_v2/src/modules/invader/InvaderWeaponEnemy.cc
r9945 r10733 34 34 #include "InvaderWeaponEnemy.h" 35 35 36 #include "core/CoreIncludes.h" 37 #include "weapons/projectiles/Projectile.h" 38 36 39 namespace orxonox 37 40 { -
code/branches/cpp11_v2/src/modules/invader/InvaderWeaponEnemy.h
r9943 r10733 35 35 #define _InvaderWeaponEnemy_H__ 36 36 37 // #include "weapons/weaponmodes/HsW01.h"38 // #include "weapons/WeaponsPrereqs.h" 39 #include " invader/InvaderWeapon.h"37 #include "invader/InvaderPrereqs.h" 38 39 #include "InvaderWeapon.h" 40 40 #include "tools/Timer.h" 41 41
Note: See TracChangeset
for help on using the changeset viewer.