diff options
author | P. 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) |
commit | 02c5d26d0d65ef0f861df18a5c00d720ac405012 (patch) | |
tree | ee7a1750cc1acdbdc2bb65bcb53a8cd4954762c1 /src/map.h | |
parent | 81de78c6de8adf57bb713ea396a94bcfdd8ad035 (diff) | |
download | dodge-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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__)); |