Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9057 in orxonox.OLD


Ignore:
Timestamp:
Jul 3, 2006, 6:01:25 PM (18 years ago)
Author:
snellen
Message:

added playanimation to scriptable methods

Location:
branches/single_player_map/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/single_player_map/src/lib/collision_reaction/cr_physics_ground_walk.cc

    r9054 r9057  
    161161    }
    162162  }
    163   PRINTF(0)("collision distances: x: %f, y: %f, z: %f\n", front, height, side);
     163  //PRINTF(0)("collision distances: x: %f, y: %f, z: %f\n", front, height, side);
    164164
    165165
  • branches/single_player_map/src/world_entities/npcs/generic_npc.cc

    r9056 r9057  
    4040                        ->addMethod("turnTo", ExecutorLua1<GenericNPC,float>(&GenericNPC::turnTo))
    4141                        ->addMethod("finalGoalReached", ExecutorLua0ret<GenericNPC,bool>(&GenericNPC::finalGoalReached))
     42                        ->addMethod("stop", ExecutorLua0<GenericNPC>(&GenericNPC::stop))
     43                        ->addMethod("resume", ExecutorLua0<GenericNPC>(&GenericNPC::resume))
     44                        ->addMethod("playAnimation", ExecutorLua2<GenericNPC,int,int>(&GenericNPC::playAnimation))
    4245                        // Display
    4346                        ->addMethod("hide", ExecutorLua0<WorldEntity>(&WorldEntity::hide))
Note: See TracChangeset for help on using the changeset viewer.