From 7338fe068fb4081938ca6530cd761a607a9c8ce9 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Mon, 1 May 2023 14:41:31 +0200 Subject: icons --- include/map.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/map.h') diff --git a/include/map.h b/include/map.h index 6a509e2..738d1c2 100644 --- a/include/map.h +++ b/include/map.h @@ -9,6 +9,9 @@ typedef enum t_tile_type { TILE_NONE = 0, TILE_COBBLESTONE1 = 1, + TILE_GRASS1 = 2, + + TILE_END, } tile_type; typedef struct t_tile { @@ -65,5 +68,6 @@ int get_tile_width(platform_window* window); bool is_in_bounds(float x, float y); void draw_grid(platform_window* window); map_info get_map_info(platform_window* window); +image* get_image_from_tiletype(tile_type tile); #endif \ No newline at end of file -- cgit v1.2.3-70-g09d2