Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 23, 2008, 12:15:09 AM (16 years ago)
Author:
rgrieder
Message:
  • Fixed issue with relative mouse movements.
  • Fixed bug when parsing commands in keybindings.ini
  • Fixed potential framerate dependency with relative movements
  • Simplified the use of a configured input command
  • Changed how parametrised input is handled (superposition and [-1,1]-clamp instead of average).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/objects/controllers/HumanController.h

    r1993 r2001  
    3232#include "OrxonoxPrereqs.h"
    3333
     34#include "util/Math.h"
    3435#include "Controller.h"
    3536
     
    4243            virtual ~HumanController();
    4344
    44             static void moveFrontBack(float value);
    45             static void moveRightLeft(float value);
    46             static void moveUpDown(float value);
     45            static void moveFrontBack(const Vector2& value);
     46            static void moveRightLeft(const Vector2& value);
     47            static void moveUpDown(const Vector2& value);
    4748
    48             static void rotateYaw(float value);
    49             static void rotatePitch(float value);
    50             static void rotateRoll(float value);
     49            static void rotateYaw(const Vector2& value);
     50            static void rotatePitch(const Vector2& value);
     51            static void rotateRoll(const Vector2& value);
    5152
    5253            static void fire();
Note: See TracChangeset for help on using the changeset viewer.