summaryrefslogtreecommitdiff
path: root/src/map.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-15 11:47:39 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-15 11:47:39 +0200
commitd35c7284ef16ef6fd95e639bcc4435490b5e4dba (patch)
tree1874c5ee0e59f987ce6ea8141eefd6e7c6214474 /src/map.c
parentc6763223b8b0c3f78edb6ac759c14f08375b438f (diff)
new tiles
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/map.c b/src/map.c
index 9d001fd..d2e44d9 100644
--- a/src/map.c
+++ b/src/map.c
@@ -384,7 +384,7 @@ bool is_in_bounds(float x, float y) {
}
image* get_image_from_tiletype(tile_type tile) {
- switch (tile)
+ switch (tile) // @NEWTILE
{
case TILE_FLOOR1: return img_tile_floor1;
case TILE_FLOOR2: return img_tile_floor2;
@@ -392,6 +392,12 @@ image* get_image_from_tiletype(tile_type tile) {
case TILE_FUNK: return img_tile_funk;
case TILE_WOOD1: return img_tile_wood1;
case TILE_GYM: return img_tile_gym;
+ case TILE_FLOWERS: return img_tile_flowers;
+ case TILE_CARPET1: return img_tile_carpet1;
+ case TILE_CARPET2: return img_tile_carpet2;
+ case TILE_CARPET3: return img_tile_carpet3;
+ case TILE_CARPET4: return img_tile_carpet4;
+ case TILE_CARPET5: return img_tile_carpet5;
default: return 0;
}
}