summaryrefslogtreecommitdiffstats
path: root/src/ball.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ball.h')
-rw-r--r--src/ball.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ball.h b/src/ball.h
index bcb75c4..9c8e476 100644
--- a/src/ball.h
+++ b/src/ball.h
@@ -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,