src/proto2/Input.hh
author terom
Mon, 24 Nov 2008 17:14:29 +0000
changeset 96 4a801210096c
parent 60 26571fd9a8d1
child 116 0d36aade845e
permissions -rw-r--r--
fix movement physics+network code to some degree, jumping is now buggy?
#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,
};

typedef uint16_t PlayerInput_Move;

#endif