summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
index 59bc6a6d..2ac2e386 100644
--- a/src/game.h
+++ b/src/game.h
@@ -58,6 +58,25 @@ extern int server_tick;
extern bool displayPathToMouse;
extern int startX, startY;
+enum {
+ JOY_UP,
+ JOY_DOWN,
+ JOY_LEFT,
+ JOY_RIGHT,
+ JOY_BTN0,
+ JOY_BTN1,
+ JOY_BTN2,
+ JOY_BTN3,
+ JOY_BTN4,
+ JOY_BTN5,
+ JOY_BTN6,
+ JOY_BTN7,
+ JOY_BTN8,
+ JOY_BTN9,
+ JOY_BTN10,
+ JOY_BTN11
+};
+
/**
* Main game loop
*/