4 /* game input actions */
17 #define INP_FWD_BIT (1 << INP_FWD)
18 #define INP_BACK_BIT (1 << INP_BACK)
19 #define INP_LEFT_BIT (1 << INP_LEFT)
20 #define INP_RIGHT_BIT (1 << INP_RIGHT)
21 #define INP_FIRE_BIT (1 << INP_FIRE)
22 #define INP_LROLL_BIT (1 << INP_LROLL)
23 #define INP_RROLL_BIT (1 << INP_RROLL)
25 #define INP_MOVE_BITS \
26 (INP_FWD_BIT | INP_BACK_BIT | INP_LEFT_BIT | INP_RIGHT_BIT)
31 extern struct input_map inpmap[MAX_INPUTS];
33 extern unsigned int inpstate;
35 void init_input(void);