From 90f1e0612952c4d351b7ad0dea460c7825696f2b Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 11 Feb 2024 14:53:02 +0100 Subject: [PATCH] added special level file flag to force using BD engine (experimental) --- src/files.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/files.c b/src/files.c index 6944fbaf..a81a3f06 100644 --- a/src/files.c +++ b/src/files.c @@ -6563,6 +6563,9 @@ static void LoadLevelFromFileInfo(struct LevelInfo *level, if (level->no_valid_file) setLevelInfoToDefaults(level, level_info_only, FALSE); + if (check_special_flags("use_native_bd_game_engine")) + level->game_engine_type = GAME_ENGINE_TYPE_BD; + if (level->game_engine_type == GAME_ENGINE_TYPE_UNKNOWN) level->game_engine_type = GAME_ENGINE_TYPE_RND; -- 2.34.1