|
@@ -13,8 +13,6 @@ Wall *removeWall(Wall *list, int d); // returns a new pointer to the first eleme
|
|
|
void drawWalls(Wall *list, Game_Data *data, int nb_lines, Line_Transition line_transition);
|
|
void drawWalls(Wall *list, Game_Data *data, int nb_lines, Line_Transition line_transition);
|
|
|
// updates the ll "list"
|
|
// updates the ll "list"
|
|
|
void updateWalls(Wall *list, unsigned int delta_time);
|
|
void updateWalls(Wall *list, unsigned int delta_time);
|
|
|
-// Tests if the players hits a wall by its sides and not only by being crushed under it.
|
|
|
|
|
-bool isCollidingSide(Wall *list, int player_angle, int nb_lines);
|
|
|
|
|
// simple collision test. Returns true if a Wall from the list collides with the player
|
|
// simple collision test. Returns true if a Wall from the list collides with the player
|
|
|
bool isColliding(Wall *list, int player_angle, int nb_lines);
|
|
bool isColliding(Wall *list, int player_angle, int nb_lines);
|
|
|
#endif
|
|
#endif
|