From 4adf7263d155a7f47f7c9e51e3b507ceef68b64a Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 11 Mar 2024 23:13:43 +0100 Subject: [PATCH] removed support for object rendering wrap-around for BD level handling --- src/files.c | 11 ++--------- src/main.h | 1 - 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/files.c b/src/files.c index 09e95d2e..87ad27a9 100644 --- a/src/files.c +++ b/src/files.c @@ -298,21 +298,16 @@ static struct LevelFileConfigInfo chunk_config_INFO[] = { -1, -1, TYPE_BOOLEAN, CONF_VALUE_8_BIT(21), - &li.bd_wraparound_objects, FALSE - }, - { - -1, -1, - TYPE_BOOLEAN, CONF_VALUE_8_BIT(22), &li.bd_scan_first_and_last_row, TRUE }, { -1, -1, - TYPE_BOOLEAN, CONF_VALUE_8_BIT(23), + TYPE_BOOLEAN, CONF_VALUE_8_BIT(22), &li.bd_short_explosions, TRUE }, { -1, -1, - TYPE_BOOLEAN, CONF_VALUE_8_BIT(24), + TYPE_BOOLEAN, CONF_VALUE_8_BIT(23), &li.bd_gravity_affects_all, TRUE }, @@ -3789,7 +3784,6 @@ static void CopyNativeLevel_RND_to_BD(struct LevelInfo *level) // compatibility settings cave->lineshift = level->bd_line_shifting_borders; - cave->wraparound_objects = level->bd_wraparound_objects; cave->border_scan_first_and_last = level->bd_scan_first_and_last_row; cave->short_explosions = level->bd_short_explosions; cave->gravity_affects_all = level->bd_gravity_affects_all; @@ -3846,7 +3840,6 @@ static void CopyNativeLevel_BD_to_RND(struct LevelInfo *level) // compatibility settings level->bd_line_shifting_borders = cave->lineshift; - level->bd_wraparound_objects = cave->wraparound_objects; level->bd_scan_first_and_last_row = cave->border_scan_first_and_last; level->bd_short_explosions = cave->short_explosions; level->bd_gravity_affects_all = cave->gravity_affects_all; diff --git a/src/main.h b/src/main.h index 08ba56d5..31e926fe 100644 --- a/src/main.h +++ b/src/main.h @@ -3487,7 +3487,6 @@ struct LevelInfo int bd_scheduling_type; // BD engine scheduling type boolean bd_pal_timing; // BD engine uses special PAL timing boolean bd_line_shifting_borders; // BD engine uses line-shifting wrap-around - boolean bd_wraparound_objects; // BD cave object rendering uses wrap-around boolean bd_scan_first_and_last_row; // BD engine scans top and bottom border rows boolean bd_short_explosions; // BD engine uses four game cycles for explosions boolean bd_gravity_affects_all; // BD engine gravity affects all falling objects -- 2.34.1