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/snow_effect.cc

    r9006 r9112  
    2727#include "plane_emitter.h"
    2828#include "shell_command.h"
     29#include "script_class.h"
    2930
    3031#include "parser/tinyxml/tinyxml.h"
     
    3435
    3536using namespace std;
     37
     38CREATE_SCRIPTABLE_CLASS(SnowEffect, CL_SNOW_EFFECT,
     39                            addMethod("activate", ExecutorLua0<SnowEffect>(&SnowEffect::activate))
     40                            ->addMethod("deactivate", ExecutorLua0<SnowEffect>(&SnowEffect::deactivate))
     41                       );
    3642
    3743CREATE_FACTORY(SnowEffect, CL_SNOW_EFFECT);
Note: See TracChangeset for help on using the changeset viewer.