diff options
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -21,10 +21,17 @@ #define DB_MAP_H_ #include <SDL.h> +#include "tileset.h" struct db_map; 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); +struct db_ball *db_map_get_balls(struct db_map *map) + __attribute__((__pure__)); #endif /* DB_MAP_H_ */ |