- Timestamp:
- May 17, 2015, 9:45:02 PM (10 years ago)
- Location:
- code/branches/cpp11/src
- Files:
-
- 49 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11/src/libraries/tools/BulletDebugDrawer.h
r10277 r10443 13 13 #include <btBulletCollisionCommon.h> 14 14 #include <OgreFrameListener.h> 15 #include <OgreVector3.h> 16 #include <OgreColourValue.h> 15 17 16 18 namespace orxonox -
code/branches/cpp11/src/libraries/tools/OgreBulletUtils.h
r10262 r10443 10 10 11 11 #include "tools/ToolsPrereqs.h" 12 #include <OgreVector3.h> 13 #include <OgreQuaternion.h> 14 #include <OgreColourValue.h> 15 #include <OgreMatrix3.h> 16 #include <OgreMatrix4.h> 12 17 13 18 namespace orxonox … … 42 47 inline Ogre::Matrix3 matrix3(const btMatrix3x3& matrix) 43 48 { 44 return Matrix3(49 return Ogre::Matrix3( 45 50 matrix[0][0], matrix[0][1], matrix[0][2], 46 51 matrix[1][0], matrix[1][1], matrix[1][2], -
code/branches/cpp11/src/libraries/util/SmallObjectAllocator.h
r7401 r10443 77 77 #include "UtilPrereqs.h" 78 78 #include <vector> 79 #include <cstdio> 79 80 80 81 namespace orxonox -
code/branches/cpp11/src/modules/invader/Invader.cc
r9961 r10443 134 134 } 135 135 136 void Invader::setCenterpoint(InvaderCenterPoint* center) 137 { 138 this->center_ = center; 139 } 140 136 141 void Invader::costLife() 137 142 { -
code/branches/cpp11/src/modules/invader/Invader.h
r9943 r10443 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/src/modules/invader/InvaderEnemy.cc
r9961 r10443 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/src/modules/invader/InvaderEnemy.h
r9943 r10443 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/src/modules/invader/InvaderEnemyShooter.cc
r9961 r10443 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/src/modules/invader/InvaderHUDinfo.cc
r9961 r10443 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/src/modules/invader/InvaderShip.cc
r9943 r10443 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/src/modules/invader/InvaderShip.h
r9943 r10443 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/src/modules/invader/InvaderWeapon.h
r9943 r10443 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/src/modules/invader/InvaderWeaponEnemy.cc
r9945 r10443 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/src/modules/invader/InvaderWeaponEnemy.h
r9943 r10443 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 -
code/branches/cpp11/src/modules/jump/Jump.cc
r10262 r10443 34 34 #include "Jump.h" 35 35 #include "core/CoreIncludes.h" 36 #include "core/EventIncludes.h" 37 #include "core/command/Executor.h" 38 #include "core/config/ConfigValueIncludes.h" 39 #include "gamestates/GSLevel.h" 40 #include "chat/ChatManager.h" 36 41 37 #include "JumpCenterpoint.h" 42 38 #include "JumpPlatform.h" … … 56 52 #include "JumpBoots.h" 57 53 #include "JumpShield.h" 54 55 #include "gamestates/GSLevel.h" 58 56 #include "infos/PlayerInfo.h" 57 #include "graphics/Camera.h" 59 58 60 59 namespace orxonox … … 70 69 camera = 0; 71 70 setHUDTemplate("JumpHUD"); 72 73 setConfigValues();74 71 } 75 72 … … 1300 1297 return figure_->dead_; 1301 1298 } 1299 1300 void Jump::setCenterpoint(JumpCenterpoint* center) 1301 { 1302 center_ = center; 1303 } 1304 1302 1305 } -
code/branches/cpp11/src/modules/jump/Jump.h
r10262 r10443 31 31 32 32 #include "jump/JumpPrereqs.h" 33 #include "tools/Timer.h"34 #include "graphics/Camera.h"35 33 #include "gametypes/Deathmatch.h" 36 #include "JumpCenterpoint.h"37 #include <list>38 34 39 35 namespace orxonox … … 51 47 float getFuel() const; 52 48 bool getDead(PlayerInfo* player) const; 53 void setCenterpoint(JumpCenterpoint* center) 54 { center_ = center; } 49 void setCenterpoint(JumpCenterpoint* center); 55 50 PlayerInfo* getPlayer() const; 56 51 -
code/branches/cpp11/src/modules/jump/JumpBoots.cc
r10262 r10443 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/GameMode.h" 38 #include "graphics/Model.h" 39 #include "gametypes/Gametype.h" 40 37 #include "core/XMLPort.h" 41 38 #include "JumpFigure.h" 42 43 #include "sound/WorldSound.h"44 #include "core/XMLPort.h"45 39 46 40 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpBoots.h
r10262 r10443 30 30 #define _JumpBoots_H__ 31 31 32 #include "jump/JumpPrereqs.h" 33 #include "util/Math.h" 34 #include "worldentities/MovableEntity.h" 35 32 #include "JumpPrereqs.h" 33 #include "JumpItem.h" 36 34 37 35 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpCenterpoint.cc
r10262 r10443 33 33 34 34 #include "JumpCenterpoint.h" 35 35 36 #include "core/CoreIncludes.h" 36 37 #include "core/XMLPort.h" -
code/branches/cpp11/src/modules/jump/JumpCenterpoint.h
r10262 r10443 31 31 32 32 #include "jump/JumpPrereqs.h" 33 34 #include <string>35 36 #include <util/Math.h>37 38 33 #include "worldentities/StaticEntity.h" 39 34 -
code/branches/cpp11/src/modules/jump/JumpEnemy.cc
r10262 r10443 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/GameMode.h" 38 #include "graphics/Model.h" 39 #include "gametypes/Gametype.h" 40 37 #include "core/XMLPort.h" 41 38 #include "JumpFigure.h" 42 43 #include "sound/WorldSound.h"44 #include "core/XMLPort.h"45 39 46 40 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpEnemy.h
r10262 r10443 37 37 38 38 #include "jump/JumpPrereqs.h" 39 40 #include "util/Math.h"41 42 39 #include "worldentities/MovableEntity.h" 43 44 40 45 41 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpFigure.cc
r10262 r10443 36 36 #include "core/CoreIncludes.h" 37 37 #include "core/XMLPort.h" 38 #include "graphics/Model.h" 39 #include "JumpRocket.h" 40 #include "JumpPropeller.h" 41 #include "JumpBoots.h" 42 #include "JumpShield.h" 38 43 39 44 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpItem.cc
r10262 r10443 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/GameMode.h" 38 #include "graphics/Model.h" 39 #include "gametypes/Gametype.h" 40 37 #include "core/XMLPort.h" 41 38 #include "JumpFigure.h" 42 43 #include "sound/WorldSound.h"44 #include "core/XMLPort.h"45 39 46 40 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpItem.h
r10262 r10443 37 37 38 38 #include "jump/JumpPrereqs.h" 39 40 #include "util/Math.h"41 42 39 #include "worldentities/MovableEntity.h" 43 40 -
code/branches/cpp11/src/modules/jump/JumpPlatform.cc
r10262 r10443 36 36 #include "core/CoreIncludes.h" 37 37 #include "core/GameMode.h" 38 #include "graphics/Model.h" 39 #include "gametypes/Gametype.h" 40 38 #include "core/XMLPort.h" 39 #include "sound/WorldSound.h" 41 40 #include "JumpFigure.h" 42 43 #include "sound/WorldSound.h"44 #include "core/XMLPort.h"45 41 46 42 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpPlatform.h
r10262 r10443 36 36 #define _JumpPlatform_H__ 37 37 38 #include "jump/JumpPrereqs.h" 39 #include "util/Math.h" 38 #include "JumpPrereqs.h" 40 39 #include "worldentities/MovableEntity.h" 41 40 -
code/branches/cpp11/src/modules/jump/JumpPlatformDisappear.cc
r10262 r10443 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/GameMode.h" 38 39 #include "gametypes/Gametype.h" 40 37 #include "core/XMLPort.h" 41 38 #include "JumpFigure.h" 42 43 #include "sound/WorldSound.h"44 #include "core/XMLPort.h"45 39 46 40 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpPlatformDisappear.h
r10262 r10443 36 36 #define _JumpPlatformDisappear_H__ 37 37 38 #include "jump/JumpPrereqs.h" 39 #include "util/Math.h" 40 #include "worldentities/MovableEntity.h" 38 #include "JumpPrereqs.h" 39 #include "JumpPlatform.h" 41 40 42 41 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpPlatformFake.cc
r10262 r10443 33 33 34 34 #include "JumpPlatformFake.h" 35 35 36 #include "core/CoreIncludes.h" 36 #include "core/GameMode.h"37 #include "gametypes/Gametype.h"38 #include "JumpFigure.h"39 #include "sound/WorldSound.h"40 37 #include "core/XMLPort.h" 41 38 -
code/branches/cpp11/src/modules/jump/JumpPlatformFake.h
r10262 r10443 36 36 #define _JumpPlatformFake_H__ 37 37 38 #include "jump/JumpPrereqs.h" 39 40 #include "util/Math.h" 41 42 #include "worldentities/MovableEntity.h" 43 38 #include "JumpPrereqs.h" 39 #include "JumpPlatform.h" 44 40 45 41 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpPlatformHMove.cc
r10262 r10443 33 33 34 34 #include "JumpPlatformHMove.h" 35 35 36 #include "core/CoreIncludes.h" 36 #include "core/GameMode.h" 37 #include "gametypes/Gametype.h" 37 #include "core/XMLPort.h" 38 38 #include "JumpFigure.h" 39 #include "sound/WorldSound.h"40 #include "core/XMLPort.h"41 39 42 40 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpPlatformHMove.h
r10262 r10443 30 30 #define _JumpPlatformHMove_H__ 31 31 32 #include "jump/JumpPrereqs.h" 33 34 #include "util/Math.h" 35 36 #include "worldentities/MovableEntity.h" 37 32 #include "JumpPrereqs.h" 33 #include "JumpPlatform.h" 38 34 39 35 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpPlatformStatic.cc
r10262 r10443 33 33 34 34 #include "JumpPlatformStatic.h" 35 35 36 #include "core/CoreIncludes.h" 36 #include "core/GameMode.h" 37 #include "gametypes/Gametype.h" 37 #include "core/XMLPort.h" 38 38 #include "JumpFigure.h" 39 #include "sound/WorldSound.h"40 #include "core/XMLPort.h"41 39 42 40 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpPlatformStatic.h
r10262 r10443 30 30 #define _JumpPlatformStatic_H__ 31 31 32 #include "jump/JumpPrereqs.h" 33 34 #include "util/Math.h" 35 36 #include "worldentities/MovableEntity.h" 37 32 #include "JumpPrereqs.h" 33 #include "JumpPlatform.h" 38 34 39 35 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpPlatformTimer.cc
r10262 r10443 33 33 34 34 #include "JumpPlatformTimer.h" 35 35 36 #include "core/CoreIncludes.h" 36 #include "core/ GameMode.h"37 #include "g ametypes/Gametype.h"37 #include "core/XMLPort.h" 38 #include "graphics/ParticleSpawner.h" 38 39 #include "JumpFigure.h" 39 #include "sound/WorldSound.h"40 #include "core/XMLPort.h"41 40 42 41 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpPlatformTimer.h
r10262 r10443 36 36 #define _JumpPlatformTimer_H__ 37 37 38 #include "jump/JumpPrereqs.h" 39 40 #include "util/Math.h" 41 42 #include "worldentities/MovableEntity.h" 43 #include "graphics/ParticleSpawner.h" 44 38 #include "JumpPrereqs.h" 39 #include "JumpPlatform.h" 45 40 46 41 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpPlatformVMove.cc
r10262 r10443 33 33 34 34 #include "JumpPlatformVMove.h" 35 35 36 #include "core/CoreIncludes.h" 36 #include "core/GameMode.h" 37 #include "gametypes/Gametype.h" 37 #include "core/XMLPort.h" 38 38 #include "JumpFigure.h" 39 #include "sound/WorldSound.h"40 #include "core/XMLPort.h"41 39 42 40 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpPlatformVMove.h
r10262 r10443 30 30 #define _JumpPlatformVMove_H__ 31 31 32 #include "jump/JumpPrereqs.h" 33 #include "util/Math.h" 34 #include "worldentities/MovableEntity.h" 32 #include "JumpPrereqs.h" 33 #include "JumpPlatform.h" 35 34 36 35 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpProjectile.cc
r10262 r10443 33 33 34 34 #include "JumpProjectile.h" 35 35 36 #include "core/CoreIncludes.h" 36 #include "core/GameMode.h" 37 #include "graphics/Model.h" 38 #include "gametypes/Gametype.h" 37 #include "core/XMLPort.h" 39 38 #include "JumpFigure.h" 40 #include "sound/WorldSound.h" 41 #include "core/XMLPort.h" 39 #include "JumpEnemy.h" 42 40 43 41 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpPropeller.cc
r10262 r10443 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/GameMode.h" 38 #include "graphics/Model.h" 39 #include "gametypes/Gametype.h" 40 37 #include "core/XMLPort.h" 41 38 #include "JumpFigure.h" 42 43 #include "sound/WorldSound.h"44 #include "core/XMLPort.h"45 39 46 40 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpPropeller.h
r10262 r10443 30 30 #define _JumpPropeller_H__ 31 31 32 #include "jump/JumpPrereqs.h" 33 34 #include "util/Math.h" 35 36 #include "worldentities/MovableEntity.h" 37 32 #include "JumpPrereqs.h" 33 #include "JumpItem.h" 38 34 39 35 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpRocket.cc
r10262 r10443 33 33 34 34 #include "JumpRocket.h" 35 35 36 #include "core/CoreIncludes.h" 36 #include "core/GameMode.h" 37 #include "graphics/Model.h" 38 #include "gametypes/Gametype.h" 37 #include "core/XMLPort.h" 39 38 #include "JumpFigure.h" 40 #include "sound/WorldSound.h"41 #include "core/XMLPort.h"42 39 43 40 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpRocket.h
r10262 r10443 30 30 #define _JumpRocket_H__ 31 31 32 #include "jump/JumpPrereqs.h" 33 #include "util/Math.h" 34 #include "worldentities/MovableEntity.h" 32 #include "JumpPrereqs.h" 33 #include "JumpItem.h" 35 34 36 35 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpScore.cc
r10437 r10443 33 33 34 34 #include "JumpScore.h" 35 35 36 #include "core/CoreIncludes.h" 36 37 #include "core/XMLPort.h" … … 38 39 #include "infos/PlayerInfo.h" 39 40 #include "Jump.h" 40 #include "sound/WorldSound.h"41 41 42 42 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpShield.cc
r10262 r10443 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/GameMode.h" 38 #include "graphics/Model.h" 39 #include "gametypes/Gametype.h" 40 37 #include "core/XMLPort.h" 41 38 #include "JumpFigure.h" 42 43 #include "sound/WorldSound.h"44 #include "core/XMLPort.h"45 39 46 40 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpShield.h
r10262 r10443 30 30 #define _JumpShield_H__ 31 31 32 #include "jump/JumpPrereqs.h" 33 34 #include "util/Math.h" 35 36 #include "worldentities/MovableEntity.h" 37 32 #include "JumpPrereqs.h" 33 #include "JumpItem.h" 38 34 39 35 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpSpring.cc
r10262 r10443 33 33 34 34 #include "JumpSpring.h" 35 35 36 #include "core/CoreIncludes.h" 36 #include "core/GameMode.h" 37 #include "graphics/Model.h" 38 #include "gametypes/Gametype.h" 37 #include "core/XMLPort.h" 39 38 #include "JumpFigure.h" 40 #include "sound/WorldSound.h"41 #include "core/XMLPort.h"42 39 43 40 namespace orxonox -
code/branches/cpp11/src/modules/jump/JumpSpring.h
r10262 r10443 30 30 #define _JumpSpring_H__ 31 31 32 #include "jump/JumpPrereqs.h" 33 34 #include "util/Math.h" 35 36 #include "worldentities/MovableEntity.h" 37 32 #include "JumpPrereqs.h" 33 #include "JumpItem.h" 38 34 39 35 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.