Sound rework, background music, image_id/sound_id
commit948a7235f096fd77c97c0580502b92636fff7e9a
authorThomas Perl <thp@perli.net>
Thu, 22 Nov 2007 21:53:49 +0000 (22 22:53 +0100)
committerThomas Perl <thp@perli.net>
Thu, 22 Nov 2007 21:53:49 +0000 (22 22:53 +0100)
tree84d69ebf3419c00276c8dbd24d6152ac85ec7b2c
parent9702b9fc8dea5c17eff85029cdc4ffafeca973fe
Sound rework, background music, image_id/sound_id

Rework the sound system to strip sound playing from the
game logic and move it into the "display"/"render" code.

Add free background music to menu from MelodyLoops.
Convert sound samples to OGG Vorbis to save space.
Sound panning (left, right) for the "racket hit" sound.

Use image_id/sound_id for the numeric identifier of
resources to make the headers a bit more understandable.
25 files changed:
README
data/applause.ogg [new file with mode: 0644]
data/applause.wav [deleted file]
data/audience.ogg [new file with mode: 0644]
data/audience.wav [deleted file]
data/background.ogg [new file with mode: 0644]
data/ground1.ogg [new file with mode: 0644]
data/ground1.wav [deleted file]
data/ground2.ogg [new file with mode: 0644]
data/ground2.wav [deleted file]
data/makefile
data/out.ogg [new file with mode: 0644]
data/out.wav [deleted file]
data/racket1.ogg [new file with mode: 0644]
data/racket1.wav [deleted file]
data/racket2.ogg [new file with mode: 0644]
data/racket2.wav [deleted file]
game.c
game.h
graphics.c
graphics.h
makefile
sound.c
sound.h
tennix.c