Limitated the number of bullets to be shot at the same time.
[supertux.git] / src / player.h
index 2d63f43..b0edbd2 100644 (file)
@@ -58,6 +58,8 @@ public:
   PlayerKeymap();
 };
 
+extern PlayerKeymap keymap;
+
 struct player_input_type
 {
   int right;
@@ -110,7 +112,9 @@ public:
   int size;
   bool duck;
   DyingType dying;
-  int dir;
+
+  Direction dir;
+
   bool jumping;
   int frame_;
   int frame_main;