Index: code/trunk/src/modules/objects/SpaceBoundaries.cc
===================================================================
--- code/trunk/src/modules/objects/SpaceBoundaries.cc	(revision 8729)
+++ code/trunk/src/modules/objects/SpaceBoundaries.cc	(revision 8767)
@@ -58,5 +58,5 @@
         {
             this->pawnsIn_.clear();
-        
+
             for( std::vector<BillboardAdministration>::iterator current = this->billboards_.begin(); current != this->billboards_.end(); current++)
             {
@@ -69,5 +69,5 @@
         }
     }
-    
+
     void SpaceBoundaries::checkWhoIsIn()
     {
@@ -94,5 +94,5 @@
         }
     }
-    
+
     void SpaceBoundaries::positionBillboard(const Vector3& position, float alpha)
     {
@@ -124,5 +124,5 @@
         this->billboards_[current].billy->setCommonUpVector(upVector);
     }
-    
+
     void SpaceBoundaries::setBillboardOptions(Billboard *billy)
     {
@@ -135,5 +135,5 @@
         }
     }
-    
+
     void SpaceBoundaries::removeAllBillboards()
     {
@@ -144,5 +144,5 @@
         }
     }
-    
+
     void SpaceBoundaries::setMaxDistance(float r)
     {
@@ -153,5 +153,5 @@
         return this->maxDistance_;
     }
-    
+
     void SpaceBoundaries::setWarnDistance(float r)
     {
@@ -162,5 +162,5 @@
         return this->warnDistance_;
     }
-    
+
     void SpaceBoundaries::setShowDistance(float r)
     {
@@ -171,5 +171,5 @@
         return this->showDistance_;
     }
-    
+
     void SpaceBoundaries::setHealthDecrease(float amount)
     {
@@ -180,5 +180,5 @@
         return this->healthDecrease_;
     }
-    
+
     void SpaceBoundaries::setReaction(int mode)
     {
@@ -200,10 +200,10 @@
         XMLPortParam(SpaceBoundaries, "reactionMode", setReaction, getReaction, xmlelement, mode);
     }
-    
+
     void SpaceBoundaries::tick(float dt)
     {
         this->checkWhoIsIn();
         this->removeAllBillboards();
-        
+
         float distance;
         bool humanItem;
@@ -247,5 +247,5 @@
         }
     }
-    
+
     float SpaceBoundaries::computeDistance(WorldEntity *item)
     {
@@ -258,21 +258,21 @@
         }
     }
-    
+
     void SpaceBoundaries::displayWarning(const std::string warnText)
-    {   
+    {
         // TODO
     }
-    
+
     void SpaceBoundaries::displayBoundaries(Pawn *item, float alpha)
     {
-        
+
         Vector3 direction = item->getPosition() - this->getPosition();
         direction.normalise();
-        
+
         Vector3 boundaryPosition = this->getPosition() + direction * this->maxDistance_;
-        
+
         this->positionBillboard(boundaryPosition, alpha);
     }
-    
+
     void SpaceBoundaries::conditionalBounceBack(Pawn *item, float currentDistance, float dt)
     {
@@ -281,5 +281,5 @@
         Vector3 velocity = item->getVelocity();
         float normalSpeed = item->getVelocity().dotProduct(normal);
-        
+
         /* Check, whether the Pawn would leave the boundary in the next tick, if so send it back. */
         if( this->reaction_ == 0 && currentDistance + normalSpeed * dt > this->maxDistance_ - 10 ) // -10: "security measure"
@@ -292,5 +292,5 @@
         }
     }
-    
+
     void SpaceBoundaries::bounceBack(Pawn *item, Vector3 *normal, Vector3 *velocity)
     {
@@ -299,13 +299,13 @@
         Vector3 acceleration = item->getAcceleration();
         acceleration = acceleration.reflect(*normal);
-        
+
         item->lookAt( *velocity + this->getPosition() );
-        
+
         item->setAcceleration(acceleration * dampingFactor);
         item->setVelocity(*velocity * dampingFactor);
-        
+
         item->setPosition( item->getPosition() - *normal * 10 ); // Set the position of the Pawn to be well inside the boundary.
     }
-    
+
     bool SpaceBoundaries::isHumanPlayer(Pawn *item)
     {
@@ -319,4 +319,4 @@
         return false;
     }
-    
+
 }
Index: code/trunk/src/modules/objects/SpaceBoundaries.h
===================================================================
--- code/trunk/src/modules/objects/SpaceBoundaries.h	(revision 8729)
+++ code/trunk/src/modules/objects/SpaceBoundaries.h	(revision 8767)
@@ -45,33 +45,32 @@
 {
 
-/**
-@brief SpaceBoundaries gives level creators the possibility to bar Pawns from leaving a defined area (until now this area is a ball).
+    /**
+    @brief SpaceBoundaries gives level creators the possibility to bar Pawns from leaving a defined area (until now this area is a ball).
 
-       Some attributes can/should be defined in the XML-File:
-       - 'position' : absolute position of the object of SpaceBoundaries in the level (usually 0,0,0) 
-       - 'maxDistance' : defines the area, where a pawn is allowed to be (radius of a ball).
-       - 'warnDistance' : If the distance between the pawn of the human player and 'position' is bigger than 'warnDistance', a message is displayed to
-                          inform the player that he'll soon be leaving the allowed area. (not implemented yet!)
-       - 'showDistance' : If the distance between the pawn and the boundary of the allowed area is smaller than 'showDistance', the boundary is shown. 
-       - 'reactionMode' : Integer-Value. Defines what effect appears if a space ship has crossed the boundaries.
-                            0: Reflect the space ship (default).
-                            1: Decrease Health of the space ship after having left the allowed area.
-                            2: Inverted Version of 0. Prohibit to fly INTO a defined area.
-       - 'healthDecrease' : a measure to define how fast the health of a pawn should decrease after leaving the allowed area (unnecessary if 'reactionMode' == 0).
-                            Recommended values: 0.1 (slow health decrease) to 5 (very fast health decrease)
+        Some attributes can/should be defined in the XML-File:
+        - 'position' : absolute position of the object of SpaceBoundaries in the level (usually 0,0,0)
+        - 'maxDistance' : defines the area, where a pawn is allowed to be (radius of a ball).
+        - 'warnDistance' : If the distance between the pawn of the human player and 'position' is bigger than 'warnDistance', a message is displayed to
+                            inform the player that he'll soon be leaving the allowed area. (not implemented yet!)
+        - 'showDistance' : If the distance between the pawn and the boundary of the allowed area is smaller than 'showDistance', the boundary is shown.
+        - 'reactionMode' : Integer-Value. Defines what effect appears if a space ship has crossed the boundaries.
+                                0: Reflect the space ship (default).
+                                1: Decrease Health of the space ship after having left the allowed area.
+                                2: Inverted Version of 0. Prohibit to fly INTO a defined area.
+        - 'healthDecrease' : a measure to define how fast the health of a pawn should decrease after leaving the allowed area (unnecessary if 'reactionMode' == 0).
+                                Recommended values: 0.1 (slow health decrease) to 5 (very fast health decrease)
 
-Follow http://www.orxonox.net/wiki/SpaceBoundaries to get some further information.
+        Follow http://www.orxonox.net/wiki/SpaceBoundaries to get some further information.
 
-Examples:
-Two examples how one could include SpaceBoundaries in the XML-File. The first one uses reflection, the second one health decrease.
-@code
-<SpaceBoundaries position="0,0,0" maxDistance="1000" warnDistance="800" showDistance="100" reactionMode="0" />
-@endcode
+        Examples:
+        Two examples how one could include SpaceBoundaries in the XML-File. The first one uses reflection, the second one health decrease.
+        @code
+        <SpaceBoundaries position="0,0,0" maxDistance="1000" warnDistance="800" showDistance="100" reactionMode="0" />
+        @endcode
 
-@code
-<SpaceBoundaries position="0,0,0" maxDistance="1000" warnDistance="800" showDistance="100" reactionMode="1" healthDecrease="0.2" />
-@endcode
-*/
-
+        @code
+        <SpaceBoundaries position="0,0,0" maxDistance="1000" warnDistance="800" showDistance="100" reactionMode="1" healthDecrease="0.2" />
+        @endcode
+    */
     class _ObjectsExport SpaceBoundaries : public StaticEntity, public Tickable
     {
@@ -79,32 +78,32 @@
             SpaceBoundaries(BaseObject* creator);
             ~SpaceBoundaries();
-            
+
             void setMaxDistance(float r);
             float getMaxDistance();
-            
+
             void setWarnDistance(float r);
             float getWarnDistance();
-            
+
             void setShowDistance(float r);
             float getShowDistance();
-            
+
             void setHealthDecrease(float amount);
             float getHealthDecrease();
-            
+
             void setReaction(int mode);
             int getReaction();
 
             void XMLPort(Element& xmlelement, XMLPort::Mode mode);
-            
+
             void tick(float dt);
 
         private:
             struct BillboardAdministration{ bool usedYet; Billboard* billy; };
-            
+
             // Variabeln::
             std::list<WeakPtr<Pawn> > pawnsIn_; //!< List of the pawns that this instance of SpaceBoundaries has to handle.
-            
+
             std::vector<BillboardAdministration> billboards_;
-        
+
             int reaction_; //!< Values: 0, 1, 2.
                            //!< 0: Reflection on boundary (Standard).
@@ -114,9 +113,9 @@
             float warnDistance_; //!< Distance in which a warning is displayed.
             float showDistance_; //!< Distance at which the boundaries are displayed.
-            
+
             float healthDecrease_; //!< Rate of health loss.
-            
+
             //RadarViewable* centerRadar_; //!< Representation of the space boundary in the radar.
-        
+
             // Funktionen::
             float computeDistance(WorldEntity *item); //!< Compute distance to center point.
@@ -126,11 +125,10 @@
             void bounceBack(Pawn *item, Vector3 *normal, Vector3 *velocity);
             bool isHumanPlayer(Pawn *item);
-            
+
             void checkWhoIsIn(); //!< Update the list 'pawnsIn_'.
-            
+
             void positionBillboard(const Vector3& position, float alpha); //!< Display a Billboard at the position 'position'.
             void setBillboardOptions(Billboard *billy);
             void removeAllBillboards(); //!< Hide all elements of '*billboard_' and set their attribute 'usedYet' to 0.
-            
     };
 }
