From 4e80596f4d6536a8cdf0acc0b096e67a5965bc5e Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 11 Feb 2024 01:56:19 +0100 Subject: [PATCH] added config parameters for native BD graphics/sound engine (not used yet) --- src/conf_gfx.c | 1 + src/conf_snd.c | 12 ++++++++++++ src/game.h | 4 ++++ 3 files changed, 17 insertions(+) diff --git a/src/conf_gfx.c b/src/conf_gfx.c index dfea3901..5e5e64b1 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -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" }, diff --git a/src/conf_snd.c b/src/conf_snd.c index 0edf6181..5d6df8a2 100644 --- a/src/conf_snd.c +++ b/src/conf_snd.c @@ -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 } }; diff --git a/src/game.h b/src/game.h index 03dd47ea..28b222ed 100644 --- a/src/game.h +++ b/src/game.h @@ -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; -- 2.34.1