summaryrefslogtreecommitdiffstats
path: root/src/map.h
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-03-25 19:17:36 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-03-25 19:17:36 (EDT)
commit02c5d26d0d65ef0f861df18a5c00d720ac405012 (patch)
treeee7a1750cc1acdbdc2bb65bcb53a8cd4954762c1 /src/map.h
parent81de78c6de8adf57bb713ea396a94bcfdd8ad035 (diff)
downloaddodge-balls-02c5d26d0d65ef0f861df18a5c00d720ac405012.zip
dodge-balls-02c5d26d0d65ef0f861df18a5c00d720ac405012.tar.gz
dodge-balls-02c5d26d0d65ef0f861df18a5c00d720ac405012.tar.bz2
map: Save player and target GIDs
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map.h b/src/map.h
index 63aea5d..6eb9d16 100644
--- a/src/map.h
+++ b/src/map.h
@@ -29,8 +29,8 @@ struct db_map *db_map_new(const char *game_id, const char *level_id);
SDL_Texture *db_map_render(struct db_map *map, SDL_Renderer *renderer);
struct db_tileset *db_map_get_tilesets(struct db_map *map)
__attribute__((__pure__));
-void db_map_get_player(struct db_map *map, int *x, int *y, int *r);
-void db_map_get_target(struct db_map *map, int *x, int *y, int *r);
+void db_map_get_player(struct db_map *map, int *x, int *y, int *r, int *gid);
+void db_map_get_target(struct db_map *map, int *x, int *y, int *r, int *gid);
struct db_ball *db_map_get_balls(struct db_map *map)
__attribute__((__pure__));