From: Holger Schemel Date: Sun, 11 Feb 2024 13:53:02 +0000 (+0100) Subject: added special level file flag to force using BD engine (experimental) X-Git-Tag: 4.4.0.0-test-1~383 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=90f1e0612952c4d351b7ad0dea460c7825696f2b;p=rocksndiamonds.git added special level file flag to force using BD engine (experimental) --- 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;