removed support for object rendering wrap-around for BD level handling
authorHolger Schemel <info@artsoft.org>
Mon, 11 Mar 2024 22:13:43 +0000 (23:13 +0100)
committerHolger Schemel <info@artsoft.org>
Mon, 11 Mar 2024 22:13:43 +0000 (23:13 +0100)
src/files.c
src/main.h

index 09e95d2ebfa335b835377f005a83cd3b4f903cc4..87ad27a9cecea8597be335f520a24da9db422ee7 100644 (file)
@@ -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;
index 08ba56d5053b1a810ed6756491aaec89f93fbf89..31e926fee481c8ccf24717be4d5cf703ccf1da8e 100644 (file)
@@ -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