Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 18, 2006, 10:06:19 PM (18 years ago)
Author:
bensch
Message:

new_class_id: hups… this was bad naming… confusing too.

Location:
branches/new_class_id/src/world_entities/npcs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/world_entities/npcs/attractor_mine.cc

    r9746 r9757  
    3737CREATE_FACTORY(AttractorMine);
    3838#include "script_class.h"
    39 CREATE_SCRIPTABLE_CLASS(AttractorMine, AttractorMine::classID(),
     39CREATE_SCRIPTABLE_CLASS(AttractorMine,
    4040                        addMethod("setName", Executor1<BaseObject, lua_State*,const std::string&>(&BaseObject::setName))
    4141                        //Coordinates
  • branches/new_class_id/src/world_entities/npcs/gate.cc

    r9746 r9757  
    3737
    3838#include "script_class.h"
    39 CREATE_SCRIPTABLE_CLASS(Gate, Gate::classID(),
     39CREATE_SCRIPTABLE_CLASS(Gate,
    4040                        addMethod("hide", Executor0<WorldEntity, lua_State*>(&WorldEntity::hide))
    4141                            ->addMethod("unhide", Executor0<WorldEntity, lua_State*>(&WorldEntity::unhide))
  • branches/new_class_id/src/world_entities/npcs/generic_npc.cc

    r9746 r9757  
    3737
    3838#include "script_class.h"
    39 CREATE_SCRIPTABLE_CLASS(GenericNPC, GenericNPC::classID(),
     39CREATE_SCRIPTABLE_CLASS(GenericNPC,
    4040                        // Move
    4141                        addMethod("walkTo", Executor3<GenericNPC, lua_State*,float,float,float>(&GenericNPC::walkTo))
     
    9595
    9696  // collision reaction registration
    97   this->subscribeReaction(CREngine::CR_PHYSICS_GROUND_WALK, BspEntity::classID());
     97  this->subscribeReaction(CREngine::CR_PHYSICS_GROUND_WALK, BspEntity::staticClassID());
    9898}
    9999
Note: See TracChangeset for help on using the changeset viewer.