Changeset 9109 in orxonox.OLD for branches/mountain_lake/src/lib/graphics/effects
- Timestamp:
- Jul 4, 2006, 11:15:53 AM (18 years ago)
- Location:
- branches/mountain_lake/src/lib/graphics/effects
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mountain_lake/src/lib/graphics/effects/cloud_effect.cc
r9028 r9109 51 51 addMethod("skyColor", ExecutorLua4<CloudEffect,float,float,float,float>(&CloudEffect::shellSkyColor)) 52 52 ->addMethod("cloudColor", ExecutorLua4<CloudEffect,float,float,float,float>(&CloudEffect::shellCloudColor)) 53 ->addMethod("activate", ExecutorLua0<CloudEffect>(&CloudEffect::activate)) 54 ->addMethod("deactivate", ExecutorLua0<CloudEffect>(&CloudEffect::deactivate)) 53 55 ); 54 56 -
branches/mountain_lake/src/lib/graphics/effects/fog_effect.cc
r9006 r9109 19 19 20 20 #include "shell_command.h" 21 #include "script_class.h" 21 22 22 23 // Define shell commands … … 27 28 28 29 using namespace std; 30 31 CREATE_SCRIPTABLE_CLASS(FogEffect, CL_FOG_EFFECT, 32 addMethod("fadeIn", ExecutorLua0<FogEffect>(&FogEffect::fadeInFog)) 33 ->addMethod("fadeOut", ExecutorLua0<FogEffect>(&FogEffect::fadeOutFog)) 34 ->addMethod("activate", ExecutorLua0<FogEffect>(&FogEffect::activate)) 35 ->addMethod("deactivate", ExecutorLua0<FogEffect>(&FogEffect::deactivate)) 36 ); 29 37 30 38 CREATE_FACTORY(FogEffect, CL_FOG_EFFECT); -
branches/mountain_lake/src/lib/graphics/effects/lightning_effect.cc
r9028 r9109 29 29 #include "light.h" 30 30 #include "cloud_effect.h" 31 #include "script_class.h" 31 32 32 33 SHELL_COMMAND(activate, LightningEffect, activateLightning); … … 34 35 35 36 using namespace std; 37 38 CREATE_SCRIPTABLE_CLASS(LightningEffect, CL_LIGHTNING_EFFECT, 39 addMethod("activate", ExecutorLua0<LightningEffect>(&LightningEffect::activate)) 40 ->addMethod("deactivate", ExecutorLua0<LightningEffect>(&LightningEffect::deactivate)) 41 ); 36 42 37 43 CREATE_FACTORY(LightningEffect, CL_LIGHTNING_EFFECT); -
branches/mountain_lake/src/lib/graphics/effects/rain_effect.cc
r9006 r9109 29 29 #include "light.h" 30 30 #include "cloud_effect.h" 31 #include "script_class.h" 31 32 32 33 #include "parser/tinyxml/tinyxml.h" … … 39 40 40 41 using namespace std; 42 43 CREATE_SCRIPTABLE_CLASS(RainEffect, CL_RAIN_EFFECT, 44 addMethod("startRaining", ExecutorLua0<RainEffect>(&RainEffect::startRaining)) 45 ->addMethod("stopRaining", ExecutorLua0<RainEffect>(&RainEffect::stopRaining)) 46 ->addMethod("activate", ExecutorLua0<RainEffect>(&RainEffect::activate)) 47 ->addMethod("deactivate", ExecutorLua0<RainEffect>(&RainEffect::deactivate)) 48 ); 41 49 42 50 CREATE_FACTORY(RainEffect, CL_RAIN_EFFECT); -
branches/mountain_lake/src/lib/graphics/effects/snow_effect.cc
r9006 r9109 27 27 #include "plane_emitter.h" 28 28 #include "shell_command.h" 29 #include "script_class.h" 29 30 30 31 #include "parser/tinyxml/tinyxml.h" … … 34 35 35 36 using namespace std; 37 38 CREATE_SCRIPTABLE_CLASS(SnowEffect, CL_SNOW_EFFECT, 39 addMethod("activate", ExecutorLua0<SnowEffect>(&SnowEffect::activate)) 40 ->addMethod("deactivate", ExecutorLua0<SnowEffect>(&SnowEffect::deactivate)) 41 ); 36 42 37 43 CREATE_FACTORY(SnowEffect, CL_SNOW_EFFECT);
Note: See TracChangeset
for help on using the changeset viewer.