diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-03-25 08:57:52 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-03-25 14:26:06 (EDT) |
commit | 34ccab84eee6406833b3bbc556301e5f070be2e8 (patch) | |
tree | 62519dec840eedd359e0f5692b505e9880be3e7e /src | |
parent | 68e7e8a48161b5e5e93bcafac3c54880217f2708 (diff) | |
download | dodge-balls-34ccab84eee6406833b3bbc556301e5f070be2e8.zip dodge-balls-34ccab84eee6406833b3bbc556301e5f070be2e8.tar.gz dodge-balls-34ccab84eee6406833b3bbc556301e5f070be2e8.tar.bz2 |
level: Add object members to struct
Diffstat (limited to 'src')
-rw-r--r-- | src/level.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/level.c b/src/level.c index aecec71..71f2648 100644 --- a/src/level.c +++ b/src/level.c @@ -19,6 +19,7 @@ #include <SDL.h> #include <stdlib.h> +#include "ball.h" #include "defs.h" #include "level.h" #include "map.h" @@ -28,6 +29,16 @@ struct db_level { char *game_id; char *level_id; struct db_level *next; + int player_x; + int player_y; + int player_r; + int player_a; + int player_s; + int target_x; + int target_y; + int target_r; + struct db_ball *ball_head; + struct db_ball *ball_tail; }; struct db_level * |