Added a new SoundManager based on OpenAL. I also simplified the API along the
authorMatthias Braun <matze@braunis.de>
Thu, 23 Jun 2005 01:45:32 +0000 (01:45 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 23 Jun 2005 01:45:32 +0000 (01:45 +0000)
commit795f0b283fcb1c8777723dc1cc850826d39c6806
tree422b2a09c237234f6e04082cb60590fdaa64b687
parent06cfaca833bf5214f58fa5abe4897afb5118861f
Added a new SoundManager based on OpenAL. I also simplified the API along the
way.
OpenAL gives you some neat effects like positional sounds moving along while
they are played. Try a level with a flame to see this in action.

Some notes:
- don't forget to run autogen.sh and configure again
- The AmbientSound object probably needs an overhaul now
- You can't play .mod files anymore, they have to be converted to .ogg
- There's a bug that keeps supertux open for several seconds instead of closing
  it, didn't investigate yet why.

SVN-Revision: 2636
55 files changed:
configure.ac
data/levels/world2/level2.stl
src/Jamfile
src/audio/semantic.cache
src/audio/sound_file.cpp [new file with mode: 0644]
src/audio/sound_file.h [new file with mode: 0644]
src/audio/sound_manager.cpp
src/audio/sound_manager.h
src/audio/sound_source.cpp [new file with mode: 0644]
src/audio/sound_source.h [new file with mode: 0644]
src/audio/stream_sound_source.cpp [new file with mode: 0644]
src/audio/stream_sound_source.h [new file with mode: 0644]
src/badguy/badguy.cpp
src/badguy/badguy.h
src/badguy/bomb.cpp
src/badguy/flame.cpp
src/badguy/flame.h
src/badguy/jumpy.cpp
src/badguy/mriceblock.cpp
src/badguy/mrtree.cpp
src/badguy/nolok_01.cpp
src/badguy/rocketexplosion.cpp
src/badguy/yeti.cpp
src/control/joystickkeyboardcontroller.h
src/game_session.cpp
src/gameconfig.cpp
src/gameconfig.h
src/leveleditor.cpp [deleted file]
src/leveleditor.h [deleted file]
src/main.cpp
src/misc.cpp
src/object/ambient_sound.cpp
src/object/ambient_sound.h
src/object/block.cpp
src/object/fireworks.cpp
src/object/flower.cpp
src/object/growup.cpp
src/object/invisible_block.cpp
src/object/player.cpp
src/object/player.h
src/object/powerup.cpp
src/physfs/physfs_stream.cpp
src/physfs/physfs_stream.h
src/player_status.cpp
src/resources.cpp
src/resources.h
src/scripting/sound.cpp
src/scripting/sound.h
src/scripting/wrapper.cpp
src/sector.cpp
src/sector.h
src/textscroller.cpp
src/title.cpp
src/worldmap.cpp
src/worldmap.h