Pre-resize fillparent
This commit is contained in:
@@ -24,7 +24,7 @@ namespace AudioEngine {
|
||||
cSound( const cSound& copy );
|
||||
~cSound();
|
||||
|
||||
///Functions
|
||||
/// Functions
|
||||
/* Plays the sound if loaded */
|
||||
void PlaySound();
|
||||
/* Fades in the sound for time */
|
||||
@@ -32,7 +32,7 @@ namespace AudioEngine {
|
||||
/* Fades out the sound for time */
|
||||
void FadeOut( const unsigned int time = 1000 ) const;
|
||||
|
||||
///Sets
|
||||
/// Sets
|
||||
/* Sets the directory of the sound */
|
||||
void setDir( const cString& dir );
|
||||
/* Sets the file name of the sound */
|
||||
@@ -51,7 +51,7 @@ namespace AudioEngine {
|
||||
void setLoops( const long int loops = -1 );
|
||||
|
||||
|
||||
///Gets
|
||||
/// Gets
|
||||
/* Gets the directory of the sound */
|
||||
const cString& getDir() const;
|
||||
/* Gets the file name of the sound */
|
||||
@@ -68,16 +68,16 @@ namespace AudioEngine {
|
||||
const long int getLoops() const;
|
||||
|
||||
private:
|
||||
///Functions
|
||||
/// Functions
|
||||
void LoadSound();
|
||||
void UnloadSound();
|
||||
|
||||
private:
|
||||
///Variables
|
||||
Mix_Chunk* mp_sound;// = nullptr
|
||||
/// Variables
|
||||
Mix_Chunk* mp_sound;/// = nullptr
|
||||
|
||||
cString m_dir;// = ""
|
||||
cString m_fileName;// = ""
|
||||
cString m_dir;/// = ""
|
||||
cString m_fileName;/// = ""
|
||||
|
||||
|
||||
unsigned char m_volume;// = 255
|
||||
|
||||
Reference in New Issue
Block a user