- Timestamp:
- Jan 26, 2006, 6:47:01 PM (19 years ago)
- Location:
- branches/network/src
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/defs/class_id.h
r6772 r6779 118 118 CL_VERTEX_ARRAY_MODEL = 0x00004000, 119 119 120 121 CL_BILLBOARD = 0x10000001, 120 122 121 123 // subsuper-classes derivations taken : 1, 2, 5, a, b, c. << THIS IS A LIST OF ALL THE DCL_MASK_SUBSUPERCLASS_ID's taken … … 262 264 CL_SHADER = 0x00000822, 263 265 CL_FOG_EFFECT = 0x70000001, 266 CL_LENSE_FLARE = 0x70000002, 264 267 265 268 // GL-GUI -
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: -
branches/network/src/world_entities/image_entity.h
r6634 r6779 1 1 /*! 2 * @file crosshair.h 3 * Definition of ... 4 5 */ 2 * @file image_entity.h 3 * Definition of an ImageEntity 4 */ 6 5 7 6 #ifndef _IMAGE_ENTITY_H
Note: See TracChangeset
for help on using the changeset viewer.