summaryrefslogtreecommitdiff
path: root/src/client/control.h
diff options
context:
space:
mode:
authorMichal Zima <xhire@tuxportal.cz>2009-07-06 13:06:01 +0200
committerMichal Zima <xhire@tuxportal.cz>2009-07-06 13:06:01 +0200
commit098ab4a0721b14837899001e9429156c6fc00119 (patch)
treebcbdc26eac9b721830107110598c991a15ec9658 /src/client/control.h
parentaf9794ef85b23be744c1541f34f25d8f61fb922f (diff)
Fixed coding style
Diffstat (limited to 'src/client/control.h')
-rw-r--r--src/client/control.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/client/control.h b/src/client/control.h
index ff479ab..4103f33 100644
--- a/src/client/control.h
+++ b/src/client/control.h
@@ -12,17 +12,16 @@
#define CONTROL_KEY_COUNT_ROUTE 4
#define CONTROL_KEY_COUNT 6
-typedef struct control_struct
-{
+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);
+ 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
+#endif /* CONTROL_H */