projects
/
hackover2013-badge-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hunde.
[hackover2013-badge-firmware.git]
/
badge
/
jumpnrun
/
jumpnrun.h
diff --git
a/badge/jumpnrun/jumpnrun.h
b/badge/jumpnrun/jumpnrun.h
index
598e8da
..
2437c36
100644
(file)
--- a/
badge/jumpnrun/jumpnrun.h
+++ b/
badge/jumpnrun/jumpnrun.h
@@
-6,9
+6,8
@@
#include "levels.h"
#include "tiles.h"
#include "levels.h"
#include "tiles.h"
-#include "../util/fixed_point.h"
-#include "../util/rectangle.h"
#include "../ui/sprite.h"
#include "../ui/sprite.h"
+#include "../util/util.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdbool.h>
#include <stddef.h>
@@
-26,19
+25,11
@@
enum {
};
typedef struct jumpnrun_game_state {
};
typedef struct jumpnrun_game_state {
- vec2d current_pos;
- vec2d inertia;
- vec2d inertia_mod;
- uint8_t status;
-
- uint8_t tick_minor;
- uint8_t anim_frame;
- uint8_t anim_direction;
+ jumpnrun_moveable player;
+ uint8_t status;
int left;
int left;
-
- bool touching_ground;
- uint8_t jumpable_frames;
+ uint8_t anim_direction;
size_t spawned_enemies_counter;
size_t spawned_enemies[JUMPNRUN_MAX_SPAWNED_ENEMIES];
size_t spawned_enemies_counter;
size_t spawned_enemies[JUMPNRUN_MAX_SPAWNED_ENEMIES];
This page took
0.024395 seconds
and
4
git commands to generate.