#include <LandscapeMusic.h>
Public Types | |
| enum | PlayState { StateNone, StateWait, StateLoading, StateBuying, StatePlaying, StateShot, StateScore } |
Public Member Functions | |
| LandscapeMusicType () | |
| virtual | ~LandscapeMusicType () |
| virtual bool | readXML (XMLNode *node) |
Public Attributes | |
| std::string | file |
| std::vector< PlayState > | playstates |
| float | gain |
Definition at line 28 of file LandscapeMusic.h.
Definition at line 31 of file LandscapeMusic.h.
| LandscapeMusicType::LandscapeMusicType | ( | ) |
Definition at line 24 of file LandscapeMusic.cpp.
| LandscapeMusicType::~LandscapeMusicType | ( | ) | [virtual] |
Definition at line 28 of file LandscapeMusic.cpp.
| bool LandscapeMusicType::readXML | ( | XMLNode * | node | ) | [virtual] |
Definition at line 32 of file LandscapeMusic.cpp.
References S3D::checkDataFile(), XMLNode::failChildren(), file, gain, XMLNode::getNamedChild(), playstates, XMLNode::returnError(), StateBuying, StateLoading, StatePlaying, StateScore, StateShot, StateWait, and LangStringUtil::strcmp().
Referenced by LandscapeMusicManager::readGlobalMusicFile(), and LandscapeInclude::readXML().
Definition at line 47 of file LandscapeMusic.h.
Referenced by LandscapeMusicManager::addMusicType(), and readXML().
| std::vector<PlayState> LandscapeMusicType::playstates |
Definition at line 48 of file LandscapeMusic.h.
Referenced by LandscapeMusicManager::addMusicType(), LandscapeMusicManager::readGlobalMusicFile(), and readXML().
| float LandscapeMusicType::gain |
Definition at line 49 of file LandscapeMusic.h.
Referenced by LandscapeMusicManager::addMusicType(), and readXML().
1.5.3