Removed the ambient sound until I can redesign it.

main
Zed A. Shaw 2 weeks ago
parent 113811bc84
commit 43fb60ebaa
  1. 4
      gui.cpp
  2. 2
      tests/sound.cpp

@ -39,11 +39,11 @@ GUI::GUI(DinkyECS::World &world, Map& game_map) :
$renderer($canvas, $map_screen, $screen)
{
// this needs a config file soon
$sounds.load("ambient", "ambient_sound.mp3");
// $sounds.load("ambient", "ambient_sound.mp3");
$sounds.load("loot_gold", "loot_gold.mp3");
$sounds.load("combat_player_hit", "combat_player_hit.mp3");
$sounds.load("combat_enemy_hit", "combat_enemy_hit.mp3");
$sounds.load("combat_miss", "combat_miss.flac");
$sounds.load("combat_miss", "combat_miss.mp3");
resize_map(BASE_MAP_FONT_SIZE);
}

@ -15,7 +15,7 @@ TEST_CASE("confirm basic functionality", "[sounds]") {
REQUIRE_THROWS(sounds.load("bad", "badfileDOESNOTEXIST.wav"));
REQUIRE_THROWS(sounds.play("bad"));
sounds.load("combat_miss", "combat_miss.flac");
sounds.load("combat_miss", "combat_miss.mp3");
sounds.play("combat_miss");
sounds.playAt("combat_miss", 1, 1, 1);
}

Loading…
Cancel
Save