Index: trunk/src/world_entities/camera.cc
===================================================================
--- trunk/src/world_entities/camera.cc	(revision 5356)
+++ trunk/src/world_entities/camera.cc	(revision 5357)
@@ -15,4 +15,5 @@
    co-programmer: ...
 */
+#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY
 
 #include "camera.h"
Index: trunk/src/world_entities/environment.cc
===================================================================
--- trunk/src/world_entities/environment.cc	(revision 5356)
+++ trunk/src/world_entities/environment.cc	(revision 5357)
@@ -15,4 +15,5 @@
    co-programmer:
 */
+#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY
 
 
Index: trunk/src/world_entities/npc.cc
===================================================================
--- trunk/src/world_entities/npc.cc	(revision 5356)
+++ trunk/src/world_entities/npc.cc	(revision 5357)
@@ -15,4 +15,5 @@
    co-programmer:
 */
+#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY
 
 
Index: trunk/src/world_entities/npc2.cc
===================================================================
--- trunk/src/world_entities/npc2.cc	(revision 5356)
+++ trunk/src/world_entities/npc2.cc	(revision 5357)
@@ -15,4 +15,5 @@
    co-programmer:
 */
+#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY
 
 
Index: trunk/src/world_entities/player.cc
===================================================================
--- trunk/src/world_entities/player.cc	(revision 5356)
+++ trunk/src/world_entities/player.cc	(revision 5357)
@@ -14,5 +14,5 @@
 */
 
-#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_PLAYER
+#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY
 
 #include "player.h"
Index: trunk/src/world_entities/satellite.cc
===================================================================
--- trunk/src/world_entities/satellite.cc	(revision 5356)
+++ trunk/src/world_entities/satellite.cc	(revision 5357)
@@ -15,4 +15,5 @@
    co-programmer:
 */
+#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY
 
 
Index: trunk/src/world_entities/skybox.cc
===================================================================
--- trunk/src/world_entities/skybox.cc	(revision 5356)
+++ trunk/src/world_entities/skybox.cc	(revision 5357)
@@ -1,3 +1,2 @@
-
 /*
    orxonox - the future of 3D-vertical-scrollers
@@ -17,16 +16,15 @@
 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY
 
-
 #include "skybox.h"
 
 #include "load_param.h"
 #include "factory.h"
-#include "list.h"
 
 using namespace std;
+
 CREATE_FACTORY(SkyBox);
 
 /**
- *  Constructs a SkyBox and takes fileName as a map.
+ * Constructs a SkyBox and takes fileName as a map.
  * @param fileName the file to take as input for the SkyBox
 */
Index: trunk/src/world_entities/skybox.h
===================================================================
--- trunk/src/world_entities/skybox.h	(revision 5356)
+++ trunk/src/world_entities/skybox.h	(revision 5357)
@@ -1,8 +1,8 @@
 /*!
  * @file skybox.h
-  *  Definition of the SkyBox, that handles the Display of an atmosphere for orxonox.
-
-    A SkyBox is always centered at the current working Camera, and will only obey the cameras
-    movment but not its rotation.
+ *  Definition of the SkyBox, that handles the Display of an atmosphere for orxonox.
+ *
+ * A SkyBox is always centered at the current working Camera, and will only obey the cameras
+ * movment but not its rotation.
 */
 
@@ -14,6 +14,4 @@
 
 /* FORWARD DEFINITION */
-class Material;
-class Vector;
 
 //! A Class to handle a SkyBox
@@ -26,4 +24,5 @@
   virtual ~SkyBox();
 
+  void init();
   void preInit();
 
@@ -35,5 +34,5 @@
   void setSize(float size);
   /** assumes jpg as input-format */
-  void setTexture(const char* name) { setTextureAndType (name, "jpg"); };
+  void setTexture(const char* name) { this->setTextureAndType (name, "jpg"); };
 
   void setTextureAndType(const char* name, const char* extension);
Index: trunk/src/world_entities/terrain.cc
===================================================================
--- trunk/src/world_entities/terrain.cc	(revision 5356)
+++ trunk/src/world_entities/terrain.cc	(revision 5357)
@@ -13,4 +13,5 @@
    co-programmer: ...
 */
+#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY
 
 
@@ -27,6 +28,5 @@
 /**
  *  standard constructor
-
-*/
+ */
 Terrain::Terrain (const TiXmlElement* root)
 {
Index: trunk/src/world_entities/terrain.h
===================================================================
--- trunk/src/world_entities/terrain.h	(revision 5356)
+++ trunk/src/world_entities/terrain.h	(revision 5357)
@@ -13,6 +13,5 @@
 #include "world_entity.h"
 
-// FORWARD DEFINITION \\
-class TiXmlElement;
+// FORWARD DEFINITION
 class SpatialSeparation;
 
Index: trunk/src/world_entities/test_entity.cc
===================================================================
--- trunk/src/world_entities/test_entity.cc	(revision 5356)
+++ trunk/src/world_entities/test_entity.cc	(revision 5357)
@@ -15,4 +15,5 @@
    co-programmer:
 */
+#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY
 
 
Index: trunk/src/world_entities/weapons/crosshair.cc
===================================================================
--- trunk/src/world_entities/weapons/crosshair.cc	(revision 5356)
+++ trunk/src/world_entities/weapons/crosshair.cc	(revision 5357)
@@ -14,5 +14,5 @@
 */
 
-//#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_
+#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WEAPON
 
 #include "crosshair.h"
Index: trunk/src/world_entities/weapons/projectile.cc
===================================================================
--- trunk/src/world_entities/weapons/projectile.cc	(revision 5356)
+++ trunk/src/world_entities/weapons/projectile.cc	(revision 5357)
@@ -15,5 +15,5 @@
    co-programmer:
 */
-
+#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WEAPON
 
 #include "projectile.h"
Index: trunk/src/world_entities/weapons/test_bullet.cc
===================================================================
--- trunk/src/world_entities/weapons/test_bullet.cc	(revision 5356)
+++ trunk/src/world_entities/weapons/test_bullet.cc	(revision 5357)
@@ -15,5 +15,5 @@
    co-programmer:
 */
-
+#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WEAPON
 
 #include "test_bullet.h"
Index: trunk/src/world_entities/weapons/test_gun.cc
===================================================================
--- trunk/src/world_entities/weapons/test_gun.cc	(revision 5356)
+++ trunk/src/world_entities/weapons/test_gun.cc	(revision 5357)
@@ -19,5 +19,5 @@
    @todo: a target to set/hit
 */
-
+#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WEAPON
 
 #include "test_gun.h"
Index: trunk/src/world_entities/weapons/turret.cc
===================================================================
--- trunk/src/world_entities/weapons/turret.cc	(revision 5356)
+++ trunk/src/world_entities/weapons/turret.cc	(revision 5357)
@@ -13,5 +13,5 @@
    co-programmer:
 */
-
+#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WEAPON
 
 #include "turret.h"
Index: trunk/src/world_entities/weapons/weapon.cc
===================================================================
--- trunk/src/world_entities/weapons/weapon.cc	(revision 5356)
+++ trunk/src/world_entities/weapons/weapon.cc	(revision 5357)
@@ -169,8 +169,8 @@
 void Weapon::prepareProjectiles(unsigned int count)
 {
-  if (this->projectileFactory != NULL)
+  if (likely(this->projectileFactory != NULL))
     projectileFactory->prepare(count);
   else
-    PRINTF(2)("unable to create %d projectile for Weapon %s\n", count, this->getName());
+    PRINTF(2)("unable to create %d projectile for Weapon %s (%s)\n", count, this->getName(), this->getClassName());
 }
 
@@ -181,9 +181,9 @@
 Projectile* Weapon::getProjectile()
 {
-  if (this->projectileFactory)
+  if (likely (this->projectileFactory != NULL))
     return dynamic_cast<Projectile*>(this->projectileFactory->resurrect());
   else
   {
-    PRINTF(2)("No projectile defined for Weapon %s cant return any\n", this->getName());
+    PRINTF(2)("No projectile defined for Weapon %s(%s) cant return any\n", this->getName(), this->getClassName());
     return NULL;
   }
