X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fplayer.h;h=48843247222d3ad16bc579ef13f49afbd4474e21;hb=b23a7698a18843e7eaca596c175e5ac76285edf9;hp=435f39c7aecc4b70b40fe80cdf1072a54aed0410;hpb=f72d4c1c59e85533a95ad759885090a073b64d73;p=supertux.git diff --git a/src/player.h b/src/player.h index 435f39c7a..488432472 100644 --- a/src/player.h +++ b/src/player.h @@ -37,26 +37,24 @@ #define SCORE_BRICK 5 #define SCORE_DISTRO 25 -typedef struct player_keymap_type +struct player_keymap_type { - int jump; - int duck; - int left; - int right; - int fire; -} -player_keymap_type; + int jump; + int duck; + int left; + int right; + int fire; +}; -typedef struct player_input_type +struct player_input_type { - int right; - int left; - int up; - int down; - int fire; - int old_fire; -} -player_input_type; + int right; + int left; + int up; + int down; + int fire; + int old_fire; +}; void player_input_init(player_input_type* pplayer_input);