Menu

Commit [r1103]  Maximize  Restore  History

Menu music part 1:

- data structures for music files and music queues
- looping of Ogg-Vorbis and mp3 (mp3 not tested)
- added esprit.ogg
Notes:
- You can access the loop test in the options menu,
third entry in "Menu music".
- Changes to the current music queues and loops
are temporarily possible in SoundEngine::init_music().
- Music might be noisy when music volume is < 10.
Possibly my sdl_mixer is outdated? Please feedback.
Todo (probably in this sequence):
- split sound.cc into three files:
SoundEngine, SoundEffectManager, MusicManager
- reorganize options menu
- loop for mod-files (like "Pentagonal Dreams")
- xml-files for meta data input, correct load/save
of menu music choice.
- activate/deactivate single music files
- random queue
- download of music files with gui

andreasl 2008-04-16

changed /trunk/configure.ac
changed /trunk/data/Makefile.am
added /trunk/data/music
added /trunk/data/music/Makefile.am
added /trunk/data/music/menu
added /trunk/data/music/menu/Makefile.am
added /trunk/data/music/menu/esprit.ogg
added /trunk/data/music/menu/menu.s3m
removed /trunk/data/sound
changed /trunk/src/client.cc
changed /trunk/src/gui/LevelMenu.cc
changed /trunk/src/gui/MainMenu.cc
changed /trunk/src/gui/Menu.cc
changed /trunk/src/gui/OptionsMenu.cc
changed /trunk/src/gui/OptionsMenu.hh
changed /trunk/src/main.cc
changed /trunk/src/server.cc
changed /trunk/src/sound.cc
changed /trunk/src/sound.hh
changed /trunk/src/sound_internal.hh
/trunk/configure.ac Diff Switch to side-by-side view
Loading...
/trunk/data/Makefile.am Diff Switch to side-by-side view
Loading...
/trunk/data/music
Directory.
/trunk/data/music/Makefile.am Diff Switch to side-by-side view
Loading...
/trunk/data/music/menu/Makefile.am Diff Switch to side-by-side view
Loading...
/trunk/data/music/menu/esprit.ogg
Binary file was added.
/trunk/data/music/menu/menu.s3m
Binary file was added.
/trunk/data/sound
File was removed.
/trunk/src/client.cc Diff Switch to side-by-side view
Loading...
/trunk/src/gui/LevelMenu.cc Diff Switch to side-by-side view
Loading...
/trunk/src/gui/MainMenu.cc Diff Switch to side-by-side view
Loading...
/trunk/src/gui/Menu.cc Diff Switch to side-by-side view
Loading...
/trunk/src/gui/OptionsMenu.cc Diff Switch to side-by-side view
Loading...
/trunk/src/gui/OptionsMenu.hh Diff Switch to side-by-side view
Loading...
/trunk/src/main.cc Diff Switch to side-by-side view
Loading...
/trunk/src/server.cc Diff Switch to side-by-side view
Loading...
/trunk/src/sound.cc Diff Switch to side-by-side view
Loading...
/trunk/src/sound.hh Diff Switch to side-by-side view
Loading...
/trunk/src/sound_internal.hh Diff Switch to side-by-side view
Loading...