Commit f2049cfe authored by Ian Wadham's avatar Ian Wadham

Restore the OGG sound-files and delete the WAV files.

svn path=/trunk/KDE/kdegames/kgoldrunner/; revision=1290861
parent 3b386382
......@@ -2168,25 +2168,25 @@ void KGrGame::loadSounds()
effects->setParent (this); // Delete at end of KGrGame.
fx[GoldSound] = effects->loadSound (KStandardDirs::locate ("appdata",
"themes/default/gold.wav"));
"themes/default/gold.ogg"));
fx[StepSound] = effects->loadSound (KStandardDirs::locate ("appdata",
"themes/default/step.wav"));
fx[ClimbSound] = effects->loadSound (KStandardDirs::locate ("appdata",
"themes/default/climb.wav"));
fx[FallSound] = effects->loadSound (KStandardDirs::locate ("appdata",
"themes/default/falling.wav"));
"themes/default/falling.ogg"));
fx[DigSound] = effects->loadSound (KStandardDirs::locate ("appdata",
"themes/default/dig.wav"));
"themes/default/dig.ogg"));
fx[LadderSound] = effects->loadSound (KStandardDirs::locate ("appdata",
"themes/default/ladder.wav"));
"themes/default/ladder.ogg"));
fx[CompletedSound] = effects->loadSound (KStandardDirs::locate ("appdata",
"themes/default/completed.wav"));
"themes/default/completed.ogg"));
fx[DeathSound] = effects->loadSound (KStandardDirs::locate ("appdata",
"themes/default/death.wav"));
"themes/default/death.ogg"));
fx[GameOverSound] = effects->loadSound (KStandardDirs::locate ("appdata",
"themes/default/gameover.wav"));
"themes/default/gameover.ogg"));
fx[VictorySound] = effects->loadSound (KStandardDirs::locate ("appdata",
"themes/default/victory.wav"));
"themes/default/victory.ogg"));
// Gold and dig sounds are timed and are allowed to play for at least one
// second, so that rapid sequences of those sounds are heard as overlapping.
......
......@@ -15,13 +15,9 @@ install( FILES README
install( FILES
default/set.svg default/actors.svg
# Files in .ogg format are temporarily replaced by files in .wav format.
# default/gold.ogg default/falling.ogg default/step.wav default/climb.wav
# default/dig.ogg default/ladder.ogg default/completed.ogg
# default/death.ogg default/gameover.ogg default/victory.ogg
default/gold.wav default/falling.wav default/step.wav default/climb.wav
default/dig.wav default/ladder.wav default/completed.wav
default/death.wav default/gameover.wav default/victory.wav
default/gold.ogg default/falling.ogg default/step.wav default/climb.wav
default/dig.ogg default/ladder.ogg default/completed.ogg
default/death.ogg default/gameover.ogg default/victory.ogg
DESTINATION
${DATA_INSTALL_DIR}/kgoldrunner/themes/default )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment