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 9607f81..8cb8e6b 100644
--- a/src/ball.h
+++ b/src/ball.h
@@ -20,10 +20,12 @@
#ifndef DB_BALL_H_
#define DB_BALL_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_ball *prev);
+ struct db_tileset *tilesets, int gid, struct db_ball *prev);
void db_balls_collisions(struct db_ball *ball_head);
int db_balls_player_collisions(struct db_ball *ball_head,
int player_x, int player_y, int player_r)