Changeset 9715 in orxonox.OLD for branches/new_class_id/src/lib/graphics/effects
- Timestamp:
- Sep 1, 2006, 8:06:39 PM (18 years ago)
- Location:
- branches/new_class_id/src/lib/graphics/effects
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/graphics/effects/atmospheric_engine.cc
r9694 r9715 23 23 #include "util/loading/factory.h" 24 24 25 NewObjectListDefinition(AtmosphericEngine);25 ObjectListDefinition(AtmosphericEngine); 26 26 27 27 /** … … 94 94 void AtmosphericEngine::draw() const 95 95 { 96 for ( NewObjectList<WeatherEffect>::const_iterator it = WeatherEffect::objectList().begin();96 for (ObjectList<WeatherEffect>::const_iterator it = WeatherEffect::objectList().begin(); 97 97 it != WeatherEffect::objectList().end(); 98 98 ++it) … … 108 108 { 109 109 110 for ( NewObjectList<WeatherEffect>::const_iterator it = WeatherEffect::objectList().begin();110 for (ObjectList<WeatherEffect>::const_iterator it = WeatherEffect::objectList().begin(); 111 111 it != WeatherEffect::objectList().end(); 112 112 ++it) -
branches/new_class_id/src/lib/graphics/effects/atmospheric_engine.h
r9685 r9715 14 14 class AtmosphericEngine : public BaseObject 15 15 { 16 NewObjectListDeclaration(AtmosphericEngine);16 ObjectListDeclaration(AtmosphericEngine); 17 17 public: 18 18 ~AtmosphericEngine(); -
branches/new_class_id/src/lib/graphics/effects/cloud_effect.cc
r9709 r9715 40 40 float CloudEffect::fadeTime; 41 41 42 NewObjectListDefinitionID(CloudEffect, CL_CLOUD_EFFECT);42 ObjectListDefinitionID(CloudEffect, CL_CLOUD_EFFECT); 43 43 44 44 -
branches/new_class_id/src/lib/graphics/effects/cloud_effect.h
r9686 r9715 37 37 38 38 class CloudEffect : public WeatherEffect { 39 NewObjectListDeclaration(CloudEffect);39 ObjectListDeclaration(CloudEffect); 40 40 41 41 public: -
branches/new_class_id/src/lib/graphics/effects/fog_effect.cc
r9709 r9715 22 22 #include "cloud_effect.h" 23 23 24 NewObjectListDefinition(FogEffect);24 ObjectListDefinition(FogEffect); 25 25 // Define shell commands 26 26 //SHELL_COMMAND(activate, FogEffect, activateFog); -
branches/new_class_id/src/lib/graphics/effects/fog_effect.h
r9686 r9715 15 15 class FogEffect : public WeatherEffect 16 16 { 17 NewObjectListDeclaration(FogEffect);17 ObjectListDeclaration(FogEffect); 18 18 public: 19 19 FogEffect(const TiXmlElement* root = NULL); -
branches/new_class_id/src/lib/graphics/effects/graphics_effect.cc
r9685 r9715 22 22 #include "util/loading/load_param.h" 23 23 24 NewObjectListDefinition(GraphicsEffect);24 ObjectListDefinition(GraphicsEffect); 25 25 26 26 /** -
branches/new_class_id/src/lib/graphics/effects/graphics_effect.h
r9685 r9715 13 13 //! A class that handles GraphicsEffects. The GraphicsEffectManager operates on this. 14 14 class GraphicsEffect : public BaseObject { 15 NewObjectListDeclaration(GraphicsEffect);15 ObjectListDeclaration(GraphicsEffect); 16 16 public: 17 17 GraphicsEffect(const TiXmlElement* root = NULL); -
branches/new_class_id/src/lib/graphics/effects/lense_flare.cc
r9709 r9715 35 35 #include "class_id.h" 36 36 37 NewObjectListDefinitionID(LenseFlare, CL_LENSE_FLARE);37 ObjectListDefinitionID(LenseFlare, CL_LENSE_FLARE); 38 38 CREATE_FACTORY(LenseFlare); 39 39 -
branches/new_class_id/src/lib/graphics/effects/lense_flare.h
r9686 r9715 26 26 class LenseFlare : public GraphicsEffect 27 27 { 28 NewObjectListDeclaration(LenseFlare);28 ObjectListDeclaration(LenseFlare); 29 29 public: 30 30 LenseFlare(const TiXmlElement* root = NULL); -
branches/new_class_id/src/lib/graphics/effects/lightning_effect.cc
r9709 r9715 29 29 #include "class_id.h" 30 30 31 NewObjectListDefinitionID(LightningEffect, CL_LIGHTNING_EFFECT);31 ObjectListDefinitionID(LightningEffect, CL_LIGHTNING_EFFECT); 32 32 33 33 SHELL_COMMAND(activate, LightningEffect, activateLightning); -
branches/new_class_id/src/lib/graphics/effects/lightning_effect.h
r9686 r9715 19 19 class LightningEffect : public WeatherEffect 20 20 { 21 NewObjectListDeclaration(LightningEffect);21 ObjectListDeclaration(LightningEffect); 22 22 public: 23 23 LightningEffect(const TiXmlElement* root = NULL); -
branches/new_class_id/src/lib/graphics/effects/rain_effect.cc
r9709 r9715 33 33 #include "class_id.h" 34 34 35 NewObjectListDefinitionID(RainEffect, CL_RAIN_EFFECT);35 ObjectListDefinitionID(RainEffect, CL_RAIN_EFFECT); 36 36 37 37 // Define shell commands -
branches/new_class_id/src/lib/graphics/effects/rain_effect.h
r9686 r9715 25 25 class RainEffect : public WeatherEffect 26 26 { 27 NewObjectListDeclaration(RainEffect);27 ObjectListDeclaration(RainEffect); 28 28 public: 29 29 RainEffect(const TiXmlElement* root = NULL); -
branches/new_class_id/src/lib/graphics/effects/snow_effect.cc
r9709 r9715 32 32 #include "class_id.h" 33 33 34 NewObjectListDefinitionID(SnowEffect, CL_SNOW_EFFECT);34 ObjectListDefinitionID(SnowEffect, CL_SNOW_EFFECT); 35 35 SHELL_COMMAND(activate, SnowEffect, activateSnow); 36 36 SHELL_COMMAND(deactivate, SnowEffect, deactivateSnow); -
branches/new_class_id/src/lib/graphics/effects/snow_effect.h
r9686 r9715 23 23 class SnowEffect : public WeatherEffect 24 24 { 25 NewObjectListDeclaration(SnowEffect);25 ObjectListDeclaration(SnowEffect); 26 26 public: 27 27 SnowEffect(const TiXmlElement* root = NULL); -
branches/new_class_id/src/lib/graphics/effects/volfog_effect.cc
r9709 r9715 48 48 49 49 #include "class_id.h" 50 NewObjectListDefinitionID(VolFogEffect, CL_VOLFOG_EFFECT);50 ObjectListDefinitionID(VolFogEffect, CL_VOLFOG_EFFECT); 51 51 CREATE_FACTORY(VolFogEffect); 52 52 -
branches/new_class_id/src/lib/graphics/effects/volfog_effect.h
r9686 r9715 13 13 class VolFogEffect : public WeatherEffect 14 14 { 15 NewObjectListDeclaration(VolFogEffect);15 ObjectListDeclaration(VolFogEffect); 16 16 public: 17 17 VolFogEffect(const TiXmlElement* root = NULL); -
branches/new_class_id/src/lib/graphics/effects/weather_effect.cc
r9685 r9715 20 20 #include "util/loading/load_param.h" 21 21 22 NewObjectListDefinition(WeatherEffect);22 ObjectListDefinition(WeatherEffect); 23 23 24 24 /** -
branches/new_class_id/src/lib/graphics/effects/weather_effect.h
r9685 r9715 12 12 class WeatherEffect : public BaseObject 13 13 { 14 NewObjectListDeclaration(WeatherEffect);14 ObjectListDeclaration(WeatherEffect); 15 15 16 16 public:
Note: See TracChangeset
for help on using the changeset viewer.