Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
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.
|
|
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
|
|
|
|
|
|
|
|
Can be enabled by configure option -enable-memdebug=yes.
Known issue: not all memory allocations hooked with it.
|
|
|
|
This code based on mana client http://www.gitorious.org/mana/mana
and my private repository.
|