summaryrefslogtreecommitdiff
path: root/src/client/control.h
diff options
context:
space:
mode:
authorConnor Thomson <blumatrikz@gmail.com>2026-09-08 18:27:39 -0700
committerConnor Thomson <blumatrikz@gmail.com>2026-09-08 18:27:39 -0700
commitf1ddc12b68b4e4c8087962de25260470e6df2bea (patch)
tree7d0440a6402a9b0ef75ded23fa64b68534255bba /src/client/control.h
parent6025860a61386bf767b29c3ec5fd0d31285f1056 (diff)
Add tuxanci2 files
Diffstat (limited to 'src/client/control.h')
-rw-r--r--src/client/control.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/client/control.h b/src/client/control.h
deleted file mode 100644
index 6b08189..0000000
--- a/src/client/control.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef CONTROL_H
-#define CONTROL_H
-
-#define CONTROL_NONE -1
-#define CONTROL_UP 0
-#define CONTROL_RIGHT 1
-#define CONTROL_LEFT 2
-#define CONTROL_DOWN 3
-#define CONTROL_SHOT 4
-#define CONTROL_SWITCH 5
-
-#define CONTROL_KEY_COUNT_ROUTE 4
-#define CONTROL_KEY_COUNT 6
-
-typedef struct control_struct {
- SDLKey key[CONTROL_KEY_COUNT];
- int count[CONTROL_KEY_COUNT];
-} control_t;
-
-extern control_t *control_new(SDLKey arg_up, SDLKey arg_right,
- SDLKey arg_left, SDLKey arg_down,
- SDLKey arg_shot, SDLKey arg_switch);
-extern int control_get_key_route(control_t *my_control);
-extern int control_get_key_action(control_t *my_control);
-extern void control_destroy(control_t *my_control);
-
-#endif /* CONTROL_H */