Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 16, 2006, 3:34:04 PM (18 years ago)
Author:
bensch
Message:

orxonox/new_class_id: does not run anymore with scripts, but i think, it is on track

lua_State is now handled over the Global Executor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/graphics/effects/lightning_effect.cc

    r9716 r9746  
    2727#include "cloud_effect.h"
    2828#include "script_class.h"
     29#include "debug.h"
    2930#include "class_id_DEPRECATED.h"
    3031
     
    3536
    3637CREATE_SCRIPTABLE_CLASS(LightningEffect, LightningEffect::classID(),
    37                         addMethod("activate", ExecutorLua0<LightningEffect>(&LightningEffect::activate))
    38                             ->addMethod("deactivate", ExecutorLua0<LightningEffect>(&LightningEffect::deactivate))
     38                        addMethod("activate", Executor0<LightningEffect, lua_State*>(&LightningEffect::activate))
     39                            ->addMethod("deactivate", Executor0<LightningEffect, lua_State*>(&LightningEffect::deactivate))
    3940                       );
    4041
Note: See TracChangeset for help on using the changeset viewer.