summaryrefslogtreecommitdiff
path: root/src/map.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-16 11:15:58 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-16 11:15:58 +0200
commit9e14d5cd569e912c6a77222719a4d4a8be4b7c72 (patch)
tree7b0868798c85f61a749e2e17113b8d5ced79933e /src/map.c
parentfa7b6b01b68ad3934734e67b65d31d0d4ccfa0a6 (diff)
painting and new tiles
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map.c b/src/map.c
index 9e0e7cd..d05f8a4 100644
--- a/src/map.c
+++ b/src/map.c
@@ -275,18 +275,15 @@ void load_mapdata_into_world() {
if (o.type == OBJECT_ZOMBIE_SPAWNER) {
create_spawner((vec2){.x = o.position.x, .y = o.position.y});
- loaded_map.objects[i].active = 0;
}
if (o.type == OBJECT_GLASS_DOOR_H || o.type == OBJECT_GLASS_DOOR_V) {
create_glass_door(o);
- loaded_map.objects[i].active = 0;
}
if (o.type == OBJECT_BOWLING_LANE)
{
add_decoration_object(o);
- loaded_map.objects[i].active = 0;
}
}
}
@@ -424,6 +421,8 @@ image* get_image_from_tiletype(tile_type tile) {
case TILE_CLUB_STAIRS11: return img_tile_club_stairs11;
case TILE_CLUB_STAIRS12: return img_tile_club_stairs12;
case TILE_CLUB_STAIRS13: return img_tile_club_stairs13;
+ case TILE_LAMINATE: return img_tile_laminate;
+ case TILE_CONCRETE: return img_tile_concrete;
default: return 0;
}
}