projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- fixed joystick code a bit
[supertux.git]
/
src
/
player.h
diff --git
a/src/player.h
b/src/player.h
index
435f39c
..
4884324
100644
(file)
--- a/
src/player.h
+++ b/
src/player.h
@@
-37,26
+37,24
@@
#define SCORE_BRICK 5
#define SCORE_DISTRO 25
#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);
void player_input_init(player_input_type* pplayer_input);