Got some new sounds and camera shake came back but has a bug.
This commit is contained in:
parent
ed9d0de8e0
commit
113811bc84
10 changed files with 30 additions and 9 deletions
|
@ -12,10 +12,10 @@ TEST_CASE("confirm basic functionality", "[sounds]") {
|
|||
|
||||
SoundManager sounds("./assets");
|
||||
|
||||
REQUIRE_THROWS(sounds.load("hit", "badfileDOESNOTEXIST.wav"));
|
||||
REQUIRE_THROWS(sounds.play("hit"));
|
||||
REQUIRE_THROWS(sounds.load("bad", "badfileDOESNOTEXIST.wav"));
|
||||
REQUIRE_THROWS(sounds.play("bad"));
|
||||
|
||||
sounds.load("hit", "hit.wav");
|
||||
sounds.play("hit");
|
||||
sounds.playAt("hit", 1, 1, 1);
|
||||
sounds.load("combat_miss", "combat_miss.flac");
|
||||
sounds.play("combat_miss");
|
||||
sounds.playAt("combat_miss", 1, 1, 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue