Schrift fest in Firmware eingebacken, damit die auch funktioniert, wenn auf dem
[hackover2013-badge-firmware.git] / badge / jumpnrun / jumpnrun.h
1 #ifndef INCLUDED_BADGE2013_JUMPNRUN_H
2 #define INCLUDED_BADGE2013_JUMPNRUN_H
3
4 #include "enemies.h"
5 #include "items.h"
6 #include "levels.h"
7 #include "shots.h"
8 #include "tiles.h"
9
10 #include "../ui/sprite.h"
11 #include "../util/util.h"
12
13 #include <stdbool.h>
14 #include <stddef.h>
15
16 enum {
17 JUMPNRUN_PLAYING,
18 JUMPNRUN_WON,
19 JUMPNRUN_LOST,
20 JUMPNRUN_ERROR
21 };
22
23 enum {
24 JUMPNRUN_MAX_SPAWN_MARGIN = BADGE_SPRITE_MAX_WIDTH + 1,
25 JUMPNRUN_MAX_SPAWNED_ENEMIES = 10
26 };
27
28 vec2d jumpnrun_player_extents(void);
29 void jumpnrun_apply_gravity(vec2d *inertia);
30 void jumpnrun_passive_movement(vec2d *inertia);
31 badge_sprite const *jumpnrun_hacker_symbol(void);
32
33 uint8_t jumpnrun_play_level(char const *lvname);
34 void jumpnrun_play(void);
35
36 #endif
This page took 0.045082 seconds and 5 git commands to generate.