X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Fsound.hh;h=3639d7b3496ea5ebce73974f609644ecb5c3c63a;hp=d4c1bcdc9db5253ec849fec3fc2e58a1cd39a4fb;hb=44b3014bce798789e795242d1556cb7449e6386a;hpb=e9a16d767785b1a903a4466ff26265a5f7dae9e5 diff --git a/src/moof/sound.hh b/src/moof/sound.hh index d4c1bcd..3639d7b 100644 --- a/src/moof/sound.hh +++ b/src/moof/sound.hh @@ -1,22 +1,15 @@ -/*] Copyright (c) 2009-2010, Charles McGarvey [************************** +/*] Copyright (c) 2009-2011, Charles McGarvey [***************************** **] All rights reserved. * -* vi:ts=4 sw=4 tw=75 -* * Distributable under the terms and conditions of the 2-clause BSD license; * see the file COPYING for a complete text of the license. * -**************************************************************************/ +*****************************************************************************/ #ifndef _MOOF_SOUND_HH_ #define _MOOF_SOUND_HH_ -/** - * \file sound.hh - * Load and play sounds, current supports ogg vorbis. - */ - #include #include @@ -24,12 +17,17 @@ #include +/** + * \file sound.hh + * Load and play sounds, currently supports ogg vorbis. + */ + namespace moof { +// forward declarations class script; - class sound { public: @@ -55,11 +53,9 @@ public: void pitch(scalar pitch); void loop(bool looping); - static void listener_position(const vector3& position); static void listener_velocity(const vector3& velocity); - static void listener_orientation(const vector3& forward, - const vector3& up); + static void listener_orientation(const vector3& forward, const vector3& up); static void import(script& script, const std::string& nspace = "");