Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8783 in orxonox.OLD for trunk/src/world_entities/npcs


Ignore:
Timestamp:
Jun 26, 2006, 2:00:31 PM (19 years ago)
Author:
patrick
Message:

merged the script engine branche back to trunk

Location:
trunk/src/world_entities/npcs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/npcs/generic_npc.cc

    r8724 r8783  
    125125 * @param coordinate: coordinate to go to
    126126 */
    127 bool GenericNPC::walkTo(const Vector& coordinate, float time)
     127float GenericNPC::walkTo(const Vector& coordinate, const Quaternion& dir)
    128128{
    129129
     
    136136 * @param coordinate: coordinate to go to
    137137 */
    138 bool GenericNPC::walkTo(float x, float y, float z, float time)
     138float GenericNPC::walkTo(float x, float y, float z, float qu, float qx, float qy, float qz)
    139139{
    140140
  • trunk/src/world_entities/npcs/generic_npc.h

    r8724 r8783  
    3838  void playSound(int i);
    3939
    40   bool walkTo(const Vector& coordinate, float time);
    41   bool walkTo(float x, float y, float z, float time);
     40  float walkTo(const Vector& coordinate, const Quaternion& dir);
     41  float walkTo(float x, float y, float z, float qu, float qx, float qy, float qz);
     42  float walkTo(float x, float y, float qu, float qx, float qy, float qz);
     43
     44  float runTo(const Vector& coordinate, const Quaternion& dir);
     45  float runTo(float x, float y, float z, float qu, float qx, float qy, float qz);
     46  float runTo(float x, float y, float qu, float qx, float qy, float qz);
     47
     48  float crouchTo(const Vector& coordinate, const Quaternion& dir);
     49  float crouchTo(float x, float y, float z, float qu, float qx, float qy, float qz);
     50  float crouchTo(float x, float y, float qu, float qx, float qy, float qz);
     51
    4252
    4353  void destroy();
Note: See TracChangeset for help on using the changeset viewer.