diff options
Diffstat (limited to 'src/ball.h')
-rw-r--r-- | src/ball.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -20,12 +20,14 @@ #ifndef DB_BALL_H_ #define DB_BALL_H_ +#include "map.h" #include "tileset.h" struct db_ball; struct db_ball *db_ball_new(int x, int y, int r, int a, int d, int sr, double s, - struct db_tileset *tilesets, int gid, struct db_ball *prev); + struct db_tileset *tilesets, int gid, struct db_map *map, + struct db_ball *prev); void db_balls_move(struct db_ball *ball); void db_balls_collisions(struct db_ball *ball_head); int db_balls_player_collisions(struct db_ball *ball_head, |