src/proto2/Input.hh
author saiam
Sun, 30 Nov 2008 19:20:11 +0000
changeset 152 89e2d078817c
parent 116 0d36aade845e
child 182 84675387ca74
permissions -rw-r--r--
Updated getNormal
#ifndef INPUT_HH
#define INPUT_HH

const uint16_t INPUT_INTERVAL_MS = 20;

enum {
    // XXX: aiming is not movement?
    INPUT_MOVE_UP       = 0x0001,
    INPUT_MOVE_DOWN     = 0x0002,

    INPUT_MOVE_LEFT     = 0x0004,
    INPUT_MOVE_RIGHT    = 0x0008,

    INPUT_MOVE_JUMP     = 0x0010,
    INPUT_MOVE_DIG      = 0x0020,
};

typedef uint16_t PlayerInput_Move;

#endif