This commit is contained in:
id101010
2016-01-27 20:48:23 +01:00
parent 893ec39d32
commit d8db17d5bb
3 changed files with 5 additions and 2 deletions

View File

@@ -118,6 +118,8 @@ bool game_check_player_collision(game_t* game, player_t* player, uint8_t pixels)
return true;
}
}
return false;
}
bool game_check_collision(game_t* game, player_t* player, uint8_t pixels){ // Check boundary and player collisions

View File

@@ -1,6 +1,7 @@
#include "player.h"
#include <color.h>
#include "player.h"
void player_init(player_t* player, uint8_t btn_left, uint8_t btn_right,
point_t pos, uint16_t color, direction_t direction) {
player->color = color;

View File

@@ -4,7 +4,7 @@
#
pid=/tmp/st-util.pid
isp=/dev/stlinkv2_2
isp=/dev/stlinkv2_8
case "$1" in
"start")