Programming Project, day 24

Finally added music playlists to the AudioManager, so the manager is complete now. With the playlist handling, it is possible to create almost any amount of playlists with almost any number of songs in each one. I also improved the AudioManager in it’s entirety. It now holds all sounds and musics in two std::map’s along with a string (name). To play a sound/change music playlist, just a function call with a string argument to the audiomanager is needed.

Although, doing this I broke the OptionsSoundState, the program loop freezes when using any of the sliders. Maybe it’s the program telling me to change the sliders because they are bad? =) I’ll try to fix the freeze tomorrow.

Started working on the individual report today btw.

This entry was posted in 5SD022. Bookmark the permalink.

Leave a comment