From: Holger Schemel Date: Mon, 11 Mar 2024 22:13:43 +0000 (+0100) Subject: removed support for object rendering wrap-around for BD level handling X-Git-Tag: 4.4.0.0-test-1~198 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=4adf7263d155a7f47f7c9e51e3b507ceef68b64a;p=rocksndiamonds.git removed support for object rendering wrap-around for BD level handling --- 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