Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CSound
- {
- public:
- CSound( void );
- CSound( string szFile );
- CSound( const CSound& sound );
- ~CSound( void );
- bool Load ( string szFile );
- void Unload ( void );
- void SetVolume ( int iVol );
- void Play ( int iTimes = 1, int iChannel = -1 );
- CSound& operator= ( const CSound& sound );
- private:
- Mix_Chunk * m_pSound;
- bool m_bLoaded;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement