From 33e816abb938b45baf148748a34ac9cef573ce04 Mon Sep 17 00:00:00 2001 From: ehofman Date: Wed, 7 Oct 2009 20:56:24 +0000 Subject: [PATCH] Split up FGFX into a dedicated effects class (FGFX) and a sample queue class. Register the sample queue cass as 'queue' at the SoundManager and tie it to the listener position. --- src/Main/fg_commands.cxx | 17 +++--- src/Sound/Makefile.am | 3 +- src/Sound/fg_fx.cxx | 61 ++-------------------- src/Sound/fg_fx.hxx | 25 +-------- src/Sound/sample_queue.cxx | 104 +++++++++++++++++++++++++++++++++++++ src/Sound/sample_queue.hxx | 70 +++++++++++++++++++++++++ 6 files changed, 193 insertions(+), 87 deletions(-) create mode 100644 src/Sound/sample_queue.cxx create mode 100644 src/Sound/sample_queue.hxx diff --git a/src/Main/fg_commands.cxx b/src/Main/fg_commands.cxx index ab6a15844..52b892a41 100644 --- a/src/Main/fg_commands.cxx +++ b/src/Main/fg_commands.cxx @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include