Add named procedural BGM tracks

This commit is contained in:
2026-06-20 11:10:58 +09:00
parent 4806cef211
commit 0062bb719c
8 changed files with 64 additions and 10 deletions

View File

@@ -45,6 +45,12 @@ func _check_title_menu_start_load_and_settings(failures: Array[String]) -> void:
failures.append("title screen should start with an audible menu BGM stream")
elif scene.bgm_player.volume_db < -12.0:
failures.append("title menu BGM should be loud enough to hear by default: %.1fdb" % scene.bgm_player.volume_db)
if BattleSceneScript.BGM_MENU_PATH.contains("placeholder") or BattleSceneScript.BGM_BATTLE_PATH.contains("placeholder"):
failures.append("menu and battle BGM should use named mood tracks instead of placeholder assets")
if not BattleSceneScript.BGM_MENU_PATH.ends_with("menu_camp_dawn_theme.wav"):
failures.append("title menu should use the camp dawn theme, got %s" % BattleSceneScript.BGM_MENU_PATH)
if not BattleSceneScript.BGM_BATTLE_PATH.ends_with("battle_yingchuan_march.wav"):
failures.append("battle start should use the Yingchuan march theme, got %s" % BattleSceneScript.BGM_BATTLE_PATH)
_check_bgm_stream_quality(failures, scene._bgm_stream_for("menu"), "menu", 20.0)
_check_bgm_stream_quality(failures, scene._bgm_stream_for("battle"), "battle", 16.0)
for sfx_key in [