Gegner splodieren.
[hackover2013-badge-firmware.git] / badge / jumpnrun / render.h
1 #ifndef INCLUDED_BADGE_JUMPNRUN_RENDER_H
2 #define INCLUDED_BADGE_JUMPNRUN_RENDER_H
3
4 #include "enemies.h"
5 #include "game_state.h"
6 #include "items.h"
7 #include "player.h"
8 #include "shots.h"
9 #include "tiles.h"
10
11 #include "../ui/display.h"
12 #include "../ui/sprite.h"
13 #include "../util/util.h"
14
15 void jumpnrun_render_moveable (badge_framebuffer *fb, jumpnrun_game_state const *state, jumpnrun_moveable const *moveable, badge_sprite const *animation, vec2d sprite_offset);
16 void jumpnrun_render_player (badge_framebuffer *fb, jumpnrun_game_state const *state);
17 void jumpnrun_render_shot (badge_framebuffer *fb, jumpnrun_game_state const *state, jumpnrun_shot *shot );
18 void jumpnrun_render_enemy (badge_framebuffer *fb, jumpnrun_game_state const *state, jumpnrun_enemy const *enemy);
19 void jumpnrun_render_tile (badge_framebuffer *fb, jumpnrun_game_state const *state, jumpnrun_tile const *tile );
20 void jumpnrun_render_item (badge_framebuffer *fb, jumpnrun_game_state const *state, jumpnrun_item const *item );
21
22 void jumpnrun_render_splosion (badge_framebuffer *fb, jumpnrun_game_state const *state, jumpnrun_moveable const *moveable);
23
24 void jumpnrun_render_player_symbol(badge_framebuffer *fb, int8_t x, int8_t y);
25 void jumpnrun_render_key_symbol (badge_framebuffer *fb, int8_t x, int8_t y);
26
27 enum {
28 JUMPNRUN_SPLOSION_FRAMES = 4,
29 JUMPNRUN_SPLOSION_TICKS_PER_FRAME = 15
30 };
31
32 #endif
This page took 0.048372 seconds and 5 git commands to generate.