From 02c5d26d0d65ef0f861df18a5c00d720ac405012 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 25 Mar 2021 19:17:36 -0400 Subject: map: Save player and target GIDs --- (limited to 'src/map.h') 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__)); -- cgit v0.9.1