Index: branches/network/src/lib/graphics/effects/graphics_effect.cc
===================================================================
--- branches/network/src/lib/graphics/effects/graphics_effect.cc	(revision 6774)
+++ branches/network/src/lib/graphics/effects/graphics_effect.cc	(revision 6776)
@@ -72,2 +72,10 @@
 bool GraphicsEffect::init()
 {}
+
+
+
+/**
+ * draws the effect, if needed
+ */
+void GraphicsEffect::draw() const
+{}
Index: branches/network/src/lib/graphics/effects/graphics_effect.h
===================================================================
--- branches/network/src/lib/graphics/effects/graphics_effect.h	(revision 6774)
+++ branches/network/src/lib/graphics/effects/graphics_effect.h	(revision 6776)
@@ -25,5 +25,7 @@
     virtual bool deactivate() = 0;
 
-    inline bool isActivated() { return this->bActivated; }
+    virtual bool draw() const;
+
+    inline bool isActivated() const { return this->bActivated; }
 
 
Index: branches/network/src/lib/graphics/effects/lense_flare.cc
===================================================================
--- branches/network/src/lib/graphics/effects/lense_flare.cc	(revision 6776)
+++ branches/network/src/lib/graphics/effects/lense_flare.cc	(revision 6776)
@@ -0,0 +1,99 @@
+
+
+/*
+   orxonox - the future of 3D-vertical-scrollers
+
+   Copyright (C) 2004 orx
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+### File Specific:
+   main-programmer: Patrick Boenzli
+*/
+
+#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GRAPHICS
+
+#include "lense_flare.h"
+
+#include "load_param.h"
+#include "factory.h"
+
+#include "glincl.h"
+
+
+
+using namespace std;
+
+CREATE_FACTORY(LenseFlare, CL_LENSE_FLARE);
+
+
+
+/**
+ *  default constructor
+ * @param root The XML-element to load the LenseFlare from
+ */
+ LenseFlare::LenseFlare(const TiXmlElement* root)
+{
+
+  if (root != NULL)
+    this->loadParams(root);
+}
+
+
+/**
+ *  destroys a LenseFlare
+ */
+LenseFlare::~LenseFlare()
+{}
+
+
+/**
+ * @param root The XML-element to load the LenseFlare from
+ */
+void LenseFlare::loadParams(const TiXmlElement* root)
+{
+  GraphicsEffect::loadParams(root);
+
+//    LoadParam(root, "fog-effect", this, LenseFlare, setFogMode)
+//        .describe("sets the the fog mode {GL_LINEAR, GL_EXP, GL_EXP2}");
+
+}
+
+
+/**
+ * initializes the fog effect
+ */
+bool LenseFlare::init()
+{
+
+}
+
+
+/**
+ * activates the fog effect
+ */
+bool LenseFlare::activate()
+{
+
+}
+
+
+/**
+ * deactivates the fog effect
+ */
+bool LenseFlare::deactivate()
+{
+
+}
+
+
+/**
+ * converts a gl mode char to a GLint
+ * @param mode the mode character
+ */
+GLint LenseFlare::charToFogMode(const char* mode)
+{}
+
Index: branches/network/src/lib/graphics/effects/lense_flare.h
===================================================================
--- branches/network/src/lib/graphics/effects/lense_flare.h	(revision 6776)
+++ branches/network/src/lib/graphics/effects/lense_flare.h	(revision 6776)
@@ -0,0 +1,43 @@
+/**
+ * @file lense_flare.h
+ *  lense flare effect
+ */
+
+#ifndef _LENSE_FLARE
+#define _LENSE_FLARE
+
+#include "graphics_effect.h"
+
+#include <list>
+
+
+class TiXmlElement;
+
+//! A class that handles LenseFlares. The LenseFlareManager operates on this.
+class LenseFlare : public GraphicsEffect
+{
+  public:
+    LenseFlare(const TiXmlElement* root = NULL);
+    virtual ~LenseFlare();
+
+    virtual void loadParams(const TiXmlElement* root);
+
+    virtual bool init();
+
+    virtual bool activate();
+    virtual bool deactivate();
+
+    virtual void draw() const;
+
+
+  private:
+    GLint charToFogMode(const char* mode);
+
+
+  private:
+    Light*                   lightSource;        //!< reference to the sun (or primary light source)
+    std::vector<Element2D*>  flares;             //!< the flares array
+};
+
+
+#endif /* _LENSE_FLARE */
