#include <sound.h>
Inherits sourceowner.

Public Member Functions | |
| location (int sound, const worldobjreference &r, int priority=SP_NORMAL) | |
| ~location () | |
| void | attachworldobjreference (const worldobjreference &r) |
| void | evaluateworldobjref () |
| void | onsourcereassign (source *s) |
| void | updatepos () |
| void | update () |
| void | play (bool loop=false) |
| void | pitch (float p) |
| bool | setvolume (float v) |
| void | offset (float secs) |
| float | offset () |
| void | drop () |
Public Attributes | |
| soundconfig * | cfg |
| source * | src |
| worldobjreference * | ref |
| bool | stale |
| int | playmillis |
| location::location | ( | int | sound, | |
| const worldobjreference & | r, | |||
| int | priority = SP_NORMAL | |||
| ) |
| location::~location | ( | ) |
| void location::attachworldobjreference | ( | const worldobjreference & | r | ) |
| void location::drop | ( | ) |
| void location::evaluateworldobjref | ( | ) |
| float location::offset | ( | ) |
| void location::offset | ( | float | secs | ) |
| void location::onsourcereassign | ( | source * | s | ) | [virtual] |
Implements sourceowner.
| void location::pitch | ( | float | p | ) |
| void location::play | ( | bool | loop = false |
) |
| bool location::setvolume | ( | float | v | ) |
| void location::update | ( | ) |
| void location::updatepos | ( | ) |
| bool location::stale |
1.5.7.1