diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-16 11:15:58 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-05-16 11:15:58 +0200 |
| commit | 9e14d5cd569e912c6a77222719a4d4a8be4b7c72 (patch) | |
| tree | 7b0868798c85f61a749e2e17113b8d5ced79933e /src/map.c | |
| parent | fa7b6b01b68ad3934734e67b65d31d0d4ccfa0a6 (diff) | |
painting and new tiles
Diffstat (limited to 'src/map.c')
| -rw-r--r-- | src/map.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; } } |
