Changeset 1616
- Timestamp:
- Jun 22, 2008, 12:30:06 AM (16 years ago)
- Location:
- code/branches/hud/src/orxonox
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud/src/orxonox/OrxonoxStableHeaders.h
r1543 r1616 37 37 #include "util/OrxonoxPlatform.h" 38 38 39 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC 39 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC && 0 40 40 41 41 // including std headers here is useless since they're already precompiled -
code/branches/hud/src/orxonox/Radar.cc
r1614 r1616 38 38 #include "objects/SpaceShip.h" 39 39 #include "core/CoreIncludes.h" 40 #include "core/ConsoleCommand.h" 40 41 #include "RadarListener.h" 41 //#include "core/ConfigValueIncludes.h"42 42 43 43 namespace orxonox -
code/branches/hud/src/orxonox/RadarListener.cc
r1614 r1616 29 29 #include "OrxonoxStableHeaders.h" 30 30 #include "RadarListener.h" 31 #include "core/CoreIncludes.h" 31 32 32 33 namespace orxonox -
code/branches/hud/src/orxonox/RadarViewable.cc
r1614 r1616 30 30 #include "RadarViewable.h" 31 31 #include "core/Debug.h" 32 #include "core/CoreIncludes.h" 33 #include "objects/WorldEntity.h" 32 34 #include "Radar.h" 33 35 … … 57 59 this->radarObjectDescription_ = str; 58 60 } 61 62 const Vector3& RadarViewable::getWorldPosition() const 63 { 64 validate(); 65 return this->radarObject_->getWorldPosition(); 66 } 67 68 Vector3 RadarViewable::getOrientedVelocity() const 69 { 70 validate(); 71 return this->radarObject_->getOrientation() * this->radarObject_->getVelocity(); 72 } 59 73 } -
code/branches/hud/src/orxonox/RadarViewable.h
r1614 r1616 32 32 #include "OrxonoxPrereqs.h" 33 33 #include <string> 34 #include "util/Math.h" 35 #include "core/Debug.h" 34 36 #include "core/OrxonoxClass.h" 35 #include "util/Math.h"36 37 37 38 namespace orxonox … … 64 65 65 66 const WorldEntity* getWorldEntity() const { return this->radarObject_; } 66 const Vector3& getWorldPosition() const { validate(); return this->radarObject_->getWorldPosition(); } 67 Vector3 getOrientedVelocity() const 68 { validate(); return this->radarObject_->getOrientation() * this->radarObject_->getVelocity(); } 67 const Vector3& getWorldPosition() const; 68 Vector3 getOrientedVelocity() const; 69 69 70 70 Shape getRadarObjectType() const { return this->radarObjectType_; } -
code/branches/hud/src/orxonox/overlays/OrxonoxOverlay.cc
r1615 r1616 36 36 #include "util/String.h" 37 37 #include "core/CoreIncludes.h" 38 #include "core/XMLPort.h" 39 #include "core/ConsoleCommand.h" 38 40 #include "GraphicsEngine.h" 39 41 -
code/branches/hud/src/orxonox/overlays/OverlayGroup.cc
r1615 r1616 33 33 #include "core/ConsoleCommand.h" 34 34 #include "core/CoreIncludes.h" 35 #include "core/XMLPort.h" 35 36 #include "OrxonoxOverlay.h" 36 37 -
code/branches/hud/src/orxonox/overlays/OverlayText.cc
r1615 r1616 36 36 #include "util/Convert.h" 37 37 #include "util/String.h" 38 #include "core/CoreIncludes.h" 39 #include "core/XMLPort.h" 38 40 39 41 namespace orxonox -
code/branches/hud/src/orxonox/overlays/hud/HUDBar.cc
r1615 r1616 38 38 39 39 #include "util/Convert.h" 40 #include "core/CoreIncludes.h" 41 #include "core/XMLPort.h" 40 42 41 43 namespace orxonox -
code/branches/hud/src/orxonox/overlays/hud/HUDFPSText.cc
r1615 r1616 30 30 #include "HUDFPSText.h" 31 31 #include <OgreTextAreaOverlayElement.h> 32 #include "core/CoreIncludes.h" 32 33 #include "GraphicsEngine.h" 33 34 #include "util/Convert.h" -
code/branches/hud/src/orxonox/overlays/hud/HUDFPSText.h
r1615 r1616 33 33 34 34 #include "overlays/OverlayText.h" 35 #include "objects/Tickable.h" 35 36 36 37 namespace orxonox -
code/branches/hud/src/orxonox/overlays/hud/HUDNavigation.cc
r1615 r1616 36 36 #include "util/Math.h" 37 37 #include "util/String.h" 38 #include "util/Convert.h" 38 39 #include "core/ConsoleCommand.h" 40 #include "core/CoreIncludes.h" 41 #include "core/XMLPort.h" 39 42 #include "objects/SpaceShip.h" 40 43 #include "objects/Projectile.h" -
code/branches/hud/src/orxonox/overlays/hud/HUDNavigation.h
r1615 r1616 34 34 #include <OgrePrerequisites.h> 35 35 #include "overlays/OrxonoxOverlay.h" 36 #include "objects/Tickable.h" 36 37 37 38 namespace orxonox -
code/branches/hud/src/orxonox/overlays/hud/HUDRTRText.cc
r1615 r1616 30 30 #include "HUDRTRText.h" 31 31 #include <OgreTextAreaOverlayElement.h> 32 #include "core/CoreIncludes.h" 33 #include "util/Convert.h" 32 34 #include "GraphicsEngine.h" 33 #include "util/Convert.h"34 35 35 36 namespace orxonox -
code/branches/hud/src/orxonox/overlays/hud/HUDRTRText.h
r1615 r1616 33 33 34 34 #include "overlays/OverlayText.h" 35 #include "objects/Tickable.h" 35 36 36 37 namespace orxonox -
code/branches/hud/src/orxonox/overlays/hud/HUDRadar.cc
r1615 r1616 36 36 #include "util/Math.h" 37 37 #include "core/ConsoleCommand.h" 38 #include "core/CoreIncludes.h" 39 #include "core/XMLPort.h" 38 40 #include "objects/SpaceShip.h" 39 41 #include "objects/WorldEntity.h" -
code/branches/hud/src/orxonox/overlays/hud/HUDSpeedBar.cc
r1615 r1616 30 30 #include "OrxonoxStableHeaders.h" 31 31 #include "HUDSpeedBar.h" 32 #include "core/CoreIncludes.h" 32 33 #include "objects/SpaceShip.h" 33 34 -
code/branches/hud/src/orxonox/overlays/hud/HUDSpeedBar.h
r1615 r1616 34 34 35 35 #include "HUDBar.h" 36 #include "objects/Tickable.h" 36 37 37 38 namespace orxonox -
code/branches/hud/src/orxonox/tools/WindowEventListener.cc
r1590 r1616 29 29 #include "OrxonoxStableHeaders.h" 30 30 #include "WindowEventListener.h" 31 #include "core/CoreIncludes.h" 31 32 32 33 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.