Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 4, 2006, 11:29:10 AM (18 years ago)
Author:
bensch
Message:

merged the mountain-lake back here

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/effects/rain_effect.cc

    r9006 r9112  
    2929#include "light.h"
    3030#include "cloud_effect.h"
     31#include "script_class.h"
    3132
    3233#include "parser/tinyxml/tinyxml.h"
     
    3940
    4041using namespace std;
     42
     43CREATE_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                       );
    4149
    4250CREATE_FACTORY(RainEffect, CL_RAIN_EFFECT);
Note: See TracChangeset for help on using the changeset viewer.