Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

branches/mountain_lake

File:
1 edited

Legend:

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

    r9006 r9109  
    1919
    2020#include "shell_command.h"
     21#include "script_class.h"
    2122
    2223// Define shell commands
     
    2728
    2829using namespace std;
     30
     31CREATE_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                       );
    2937
    3038CREATE_FACTORY(FogEffect, CL_FOG_EFFECT);
Note: See TracChangeset for help on using the changeset viewer.