Changeset 6779 in orxonox.OLD for branches/network/src/lib/graphics
- Timestamp:
- Jan 26, 2006, 6:47:01 PM (19 years ago)
- Location:
- branches/network/src/lib/graphics
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/graphics/Makefile.am
r6753 r6779 13 13 text_engine/font.cc \ 14 14 effects/graphics_effect.cc \ 15 effects/fog_effect.cc 15 effects/fog_effect.cc \ 16 effects/lense_flare.cc 16 17 17 18 noinst_HEADERS = graphics_engine.h \ … … 24 25 text_engine/font.h \ 25 26 effects/graphics_effect.h \ 26 effects/fog_effect.h 27 effects/fog_effect.h \ 28 effects/lense_flare.h 27 29 28 30 -
branches/network/src/lib/graphics/effects/lense_flare.cc
r6776 r6779 23 23 24 24 #include "glincl.h" 25 25 #include "texture.h" 26 26 27 27 … … 58 58 GraphicsEffect::loadParams(root); 59 59 60 // LoadParam(root, "fog-effect", this, LenseFlare, setFogMode)61 // .describe("sets the the fog mode {GL_LINEAR, GL_EXP, GL_EXP2}");60 LoadParam(root, "add-flare-texture", this, LenseFlare, addFlare) 61 .describe("adds a lensflare texture to the engine"); 62 62 63 63 } … … 98 98 {} 99 99 100 101 /** 102 * adds a texture flare 103 * @param textureName the name of the flare texture 104 */ 105 void addFlare(const char* textureName) 106 { 107 Texture* texture = new Texture (textureName, GL_TEXTURE); 108 109 110 } 111 112 -
branches/network/src/lib/graphics/effects/lense_flare.h
r6776 r6779 9 9 #include "graphics_effect.h" 10 10 11 #include < list>11 #include <vector> 12 12 13 13 14 14 class TiXmlElement; 15 class Light; 16 class Element2D; 15 17 16 18 //! A class that handles LenseFlares. The LenseFlareManager operates on this. … … 30 32 virtual void draw() const; 31 33 34 void addFlare(const char* textureName); 35 32 36 33 37 private:
Note: See TracChangeset
for help on using the changeset viewer.