Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 4, 2006, 11:15:53 AM (19 years ago)
Author:
hdavid
Message:

branches/mountain_lake

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mountain_lake/src/lib/graphics/effects/snow_effect.cc

    r9006 r9109  
    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.