+ boxes_t * const boxes = create_boxes_from_stream(level_file);
+ if (level->boxes == NULL) {
+ RETURN_LT(lt, -1);
+ }
+ level->boxes = RESET_LT(level->lt, level->boxes, boxes);
+
+ physical_world_clean(level->physical_world);
+ if (physical_world_add_solid(
+ level->physical_world,
+ player_as_solid(level->player)) < 0) { RETURN_LT(lt, -1); }
+ if (boxes_add_to_physical_world(
+ level->boxes,
+ level->physical_world) < 0) { RETURN_LT(lt, -1); }
+