projects
/
hackover2013-badge-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Textdateiankuckdingviech.
[hackover2013-badge-firmware.git]
/
badge
/
jumpnrun
/
game_state.h
diff --git
a/badge/jumpnrun/game_state.h
b/badge/jumpnrun/game_state.h
index
2ebe4d0
..
7e86cb6
100644
(file)
--- a/
badge/jumpnrun/game_state.h
+++ b/
badge/jumpnrun/game_state.h
@@
-7,15
+7,17
@@
#include "../ui/display.h"
enum {
#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;
};
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;
jumpnrun_shot shots[JUMPNRUN_MAX_SHOTS];
} jumpnrun_game_state;
This page took
0.022517 seconds
and
4
git commands to generate.