summaryrefslogtreecommitdiff
path: root/src/resources/music.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-12-03Rename music.cpp/h to sdlmusic.Andrei Karas1-59/+0
2012-09-08Improve constructors in some classes.Andrei Karas1-0/+1
2012-09-03Add const to more classes.Andrei Karas1-4/+4
2012-01-24Based on commit b856e8b47ab2dfd393e3c2720c5647eb66393931Andrei Karas1-36/+10
Author: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> Date: Tue Jan 24 19:14:24 2012 +0100 Stream music files directly from the archives Use Mix_LoadMUS_RW to stream music files directly from PhysFS. I kept around ResourceManager:copyFile for now, since it may have other uses.
2012-01-24Use SDL_RWops directly on top of PhysFSThorbjørn Lindeijer1-4/+1
This avoids the creation of a temporary buffer containing a complete file for the sole purpose of wrapping it up in an SDL_RWops. The necessary wrapper is by Ryan C. Gordon and is included in the PhysFS repository under 'extras'. Reviewed-by: Yohann Ferreira Conflicts: mana.files src/CMakeLists.txt src/resources/resourcemanager.cpp src/resources/soundeffect.cpp
2012-01-05Update copyrights year.Andrei Karas1-1/+1
2011-11-07Fix some warnings under gcc 4.7.Andrei Karas1-1/+1
2011-08-12Rename file names log and chatlog to correct logger and chatlogger.Andrei Karas1-1/+1
2011-05-24Add simple memory leak detector.Andrei Karas1-0/+2
Can be enabled by configure option -enable-memdebug=yes. Known issue: not all memory allocations hooked with it.
2011-02-19Update copyrights.Andrei Karas1-2/+3
2011-01-02Initial commit.Andrei Karas1-0/+84
This code based on mana client http://www.gitorious.org/mana/mana and my private repository.