Textdateiankuckdingviech.
[hackover2013-badge-firmware.git] / badge / jumpnrun / game_state.h
index 2ebe4d0..7e86cb6 100644 (file)
@@ -7,15 +7,17 @@
 #include "../ui/display.h"
 
 enum {
-  JUMPNRUN_MAX_SHOTS = 2,
+  JUMPNRUN_MAX_SHOTS             = 2,
 
-  JUMPNRUN_STATE_WON = 1
+  JUMPNRUN_STATE_WON             = 1,
+  JUMPNRUN_STATE_TICKS_PER_FRAME = 3
 };
 
 typedef struct jumpnrun_game_state {
   jumpnrun_player   player;
   int               screen_left;
   uint8_t           flags;
+  uint8_t           tick;
   jumpnrun_shot     shots[JUMPNRUN_MAX_SHOTS];
 } jumpnrun_game_state;
 
This page took 0.022496 seconds and 4 git commands to generate.