added config parameters for native BD graphics/sound engine (not used yet)
authorHolger Schemel <info@artsoft.org>
Sun, 11 Feb 2024 00:56:19 +0000 (01:56 +0100)
committerHolger Schemel <info@artsoft.org>
Sun, 18 Feb 2024 14:57:41 +0000 (15:57 +0100)
src/conf_gfx.c
src/conf_snd.c
src/game.h

index dfea390125d89cf4b9acb80d85174f339eb078db..5e5e64b17c1199bb29b1197f6b10fedf39f17d05 100644 (file)
@@ -10808,6 +10808,7 @@ struct ConfigInfo image_config[] =
   { "game.forced_scroll_delay_value",          "-1"                    },
   { "game.forced_scroll_x",                    ARG_UNDEFINED           },
   { "game.forced_scroll_y",                    ARG_UNDEFINED           },
+  { "game.use_native_bd_graphics_engine",      "false"                 },
   { "game.use_native_emc_graphics_engine",     "false"                 },
   { "game.use_native_sp_graphics_engine",      "true"                  },
   { "game.use_masked_pushing",                 "false"                 },
index 0edf618145cc87b3b0ea0fc1e961a2572c2c1028..5d6df8a2626d14c03f56c0588c243e059034bbcd 100644 (file)
@@ -380,5 +380,17 @@ struct ConfigInfo sound_config[] =
   { "background.titlemessage_4",       UNDEFINED_FILENAME              },
   { "background.titlemessage_5",       UNDEFINED_FILENAME              },
 
+
+  // ==========================================================================
+  // non-sound definitions
+  // ==========================================================================
+
+  // the following directives are not associated with a sound, but
+  // probably make sense to be defined in "soundsinfo.conf", too
+
+  // keyword to start parser: "CONFIG_VARS_START" <-- do not change!
+
+  { "game.use_native_bd_sound_engine", "false"                         },
+
   { NULL,                              NULL                            }
 };
index 03dd47ea0058c3cc3c06ee3a98905e616b4a6779..28b222ed2a6ecb37f6cacb03f14969c9abcebfd1 100644 (file)
@@ -166,6 +166,7 @@ struct GameInfo
 
   // values for graphics engine customization
   int graphics_engine_version;
+  boolean use_native_bd_graphics_engine;
   boolean use_native_emc_graphics_engine;
   boolean use_native_sp_graphics_engine;
   boolean use_masked_pushing;
@@ -177,6 +178,9 @@ struct GameInfo
   int scroll_delay_value;
   int tile_size;
 
+  // values for sound engine customization
+  boolean use_native_bd_sound_engine;
+
   // constant within running game
   int engine_version;
   int emulation;