#include <soundsource.hpp>
Public Member Functions | |
sourcespec (const std::string &id_, const std::string &files_, int min_delay_, int chance_) | |
sourcespec & | loop (int loops_) |
sourcespec & | check_fog (bool fogged) |
sourcespec & | location (const gamemap::location &loc) |
sourcespec & | full_range (int range_) |
sourcespec & | fade_range (int range_) |
Private Attributes | |
const std::string & | id |
const std::string & | files |
int | min_delay |
int | chance |
int | loops |
int | range |
int | faderange |
bool | check_fogged |
std::vector< gamemap::location > | locations |
Friends | |
class | manager |
class | positional_source |
Definition at line 102 of file soundsource.hpp.
soundsource::sourcespec::sourcespec | ( | const std::string & | id_, | |
const std::string & | files_, | |||
int | min_delay_, | |||
int | chance_ | |||
) | [inline] |
Definition at line 117 of file soundsource.hpp.
sourcespec& soundsource::sourcespec::loop | ( | int | loops_ | ) | [inline] |
sourcespec& soundsource::sourcespec::check_fog | ( | bool | fogged | ) | [inline] |
sourcespec& soundsource::sourcespec::location | ( | const gamemap::location & | loc | ) | [inline] |
sourcespec& soundsource::sourcespec::full_range | ( | int | range_ | ) | [inline] |
sourcespec& soundsource::sourcespec::fade_range | ( | int | range_ | ) | [inline] |
friend class manager [friend] |
Definition at line 148 of file soundsource.hpp.
friend class positional_source [friend] |
Definition at line 149 of file soundsource.hpp.
const std::string& soundsource::sourcespec::id [private] |
const std::string& soundsource::sourcespec::files [private] |
Definition at line 104 of file soundsource.hpp.
int soundsource::sourcespec::min_delay [private] |
Definition at line 106 of file soundsource.hpp.
int soundsource::sourcespec::chance [private] |
Definition at line 107 of file soundsource.hpp.
int soundsource::sourcespec::loops [private] |
int soundsource::sourcespec::range [private] |
int soundsource::sourcespec::faderange [private] |
bool soundsource::sourcespec::check_fogged [private] |
std::vector<gamemap::location> soundsource::sourcespec::locations [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |