summaryrefslogtreecommitdiffstats
path: root/src/ball.h
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-03-25 18:34:33 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-03-25 18:34:33 (EDT)
commit861c8d8d5dd5ff84cc359c3f41cadec4121cfdc7 (patch)
treec52a31e439f66067bd8e6b075408cb5283a970fe /src/ball.h
parenta36d061c8e18122c44cf5ad6e8317f03bc3531eb (diff)
downloaddodge-balls-861c8d8d5dd5ff84cc359c3f41cadec4121cfdc7.zip
dodge-balls-861c8d8d5dd5ff84cc359c3f41cadec4121cfdc7.tar.gz
dodge-balls-861c8d8d5dd5ff84cc359c3f41cadec4121cfdc7.tar.bz2
ball: Add tilesets and gid members
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)