From: Marek Moeckel Date: Wed, 20 Jul 2005 08:53:46 +0000 (+0000) Subject: converted sounds back to .wav X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=6afe39823a25f6bf06f715205c1f51ddbe6cefae;p=supertux.git converted sounds back to .wav SVN-Revision: 2738 --- diff --git a/data/sounds/bigjump.ogg b/data/sounds/bigjump.ogg deleted file mode 100644 index eb71e7388..000000000 Binary files a/data/sounds/bigjump.ogg and /dev/null differ diff --git a/data/sounds/bigjump.wav b/data/sounds/bigjump.wav new file mode 100644 index 000000000..634d23d3c Binary files /dev/null and b/data/sounds/bigjump.wav differ diff --git a/data/sounds/brick.ogg b/data/sounds/brick.ogg deleted file mode 100644 index 2c3afecfe..000000000 Binary files a/data/sounds/brick.ogg and /dev/null differ diff --git a/data/sounds/brick.wav b/data/sounds/brick.wav new file mode 100644 index 000000000..83de10ded Binary files /dev/null and b/data/sounds/brick.wav differ diff --git a/data/sounds/bump-upgrade.ogg b/data/sounds/bump-upgrade.ogg deleted file mode 100644 index 415180cc9..000000000 Binary files a/data/sounds/bump-upgrade.ogg and /dev/null differ diff --git a/data/sounds/bump-upgrade.wav b/data/sounds/bump-upgrade.wav new file mode 100644 index 000000000..524b8e225 Binary files /dev/null and b/data/sounds/bump-upgrade.wav differ diff --git a/data/sounds/coin.ogg b/data/sounds/coin.ogg deleted file mode 100644 index 460c6b112..000000000 Binary files a/data/sounds/coin.ogg and /dev/null differ diff --git a/data/sounds/coin.wav b/data/sounds/coin.wav new file mode 100644 index 000000000..40c34d963 Binary files /dev/null and b/data/sounds/coin.wav differ diff --git a/data/sounds/explosion.ogg b/data/sounds/explosion.ogg deleted file mode 100644 index 220fb175e..000000000 Binary files a/data/sounds/explosion.ogg and /dev/null differ diff --git a/data/sounds/explosion.wav b/data/sounds/explosion.wav new file mode 100644 index 000000000..259ae1e41 Binary files /dev/null and b/data/sounds/explosion.wav differ diff --git a/data/sounds/fall.ogg b/data/sounds/fall.ogg deleted file mode 100644 index d0bc8081e..000000000 Binary files a/data/sounds/fall.ogg and /dev/null differ diff --git a/data/sounds/fall.wav b/data/sounds/fall.wav new file mode 100644 index 000000000..e48c7a5cf Binary files /dev/null and b/data/sounds/fall.wav differ diff --git a/data/sounds/fire-flower.ogg b/data/sounds/fire-flower.ogg deleted file mode 100644 index c368a7253..000000000 Binary files a/data/sounds/fire-flower.ogg and /dev/null differ diff --git a/data/sounds/fire-flower.wav b/data/sounds/fire-flower.wav new file mode 100644 index 000000000..72c22725e Binary files /dev/null and b/data/sounds/fire-flower.wav differ diff --git a/data/sounds/fireworks.ogg b/data/sounds/fireworks.ogg deleted file mode 100644 index 2e02ab796..000000000 Binary files a/data/sounds/fireworks.ogg and /dev/null differ diff --git a/data/sounds/fireworks.wav b/data/sounds/fireworks.wav new file mode 100644 index 000000000..d4ea956ae Binary files /dev/null and b/data/sounds/fireworks.wav differ diff --git a/data/sounds/flame.ogg b/data/sounds/flame.ogg deleted file mode 100644 index 6d512cc0f..000000000 Binary files a/data/sounds/flame.ogg and /dev/null differ diff --git a/data/sounds/flame.wav b/data/sounds/flame.wav new file mode 100644 index 000000000..6aeccb12a Binary files /dev/null and b/data/sounds/flame.wav differ diff --git a/data/sounds/grow.ogg b/data/sounds/grow.ogg deleted file mode 100644 index 63a1b2542..000000000 Binary files a/data/sounds/grow.ogg and /dev/null differ diff --git a/data/sounds/grow.wav b/data/sounds/grow.wav new file mode 100644 index 000000000..7b83dccd8 Binary files /dev/null and b/data/sounds/grow.wav differ diff --git a/data/sounds/hurt.ogg b/data/sounds/hurt.ogg deleted file mode 100644 index 2a79923d1..000000000 Binary files a/data/sounds/hurt.ogg and /dev/null differ diff --git a/data/sounds/hurt.wav b/data/sounds/hurt.wav new file mode 100644 index 000000000..20537c36e Binary files /dev/null and b/data/sounds/hurt.wav differ diff --git a/data/sounds/iceblock_bump.ogg b/data/sounds/iceblock_bump.ogg deleted file mode 100644 index 9f2abfee4..000000000 Binary files a/data/sounds/iceblock_bump.ogg and /dev/null differ diff --git a/data/sounds/iceblock_bump.wav b/data/sounds/iceblock_bump.wav new file mode 100644 index 000000000..016c7bf61 Binary files /dev/null and b/data/sounds/iceblock_bump.wav differ diff --git a/data/sounds/invincible.ogg b/data/sounds/invincible.ogg deleted file mode 100644 index 72fd94c57..000000000 Binary files a/data/sounds/invincible.ogg and /dev/null differ diff --git a/data/sounds/invincible.wav b/data/sounds/invincible.wav new file mode 100644 index 000000000..96f3871c1 Binary files /dev/null and b/data/sounds/invincible.wav differ diff --git a/data/sounds/jump.ogg b/data/sounds/jump.ogg deleted file mode 100644 index c87d6b366..000000000 Binary files a/data/sounds/jump.ogg and /dev/null differ diff --git a/data/sounds/jump.wav b/data/sounds/jump.wav new file mode 100644 index 000000000..24240eae0 Binary files /dev/null and b/data/sounds/jump.wav differ diff --git a/data/sounds/kick.ogg b/data/sounds/kick.ogg deleted file mode 100644 index 40625521c..000000000 Binary files a/data/sounds/kick.ogg and /dev/null differ diff --git a/data/sounds/kick.wav b/data/sounds/kick.wav new file mode 100644 index 000000000..fa46559ea Binary files /dev/null and b/data/sounds/kick.wav differ diff --git a/data/sounds/lava.ogg b/data/sounds/lava.ogg deleted file mode 100644 index 8c567455a..000000000 Binary files a/data/sounds/lava.ogg and /dev/null differ diff --git a/data/sounds/lava.wav b/data/sounds/lava.wav new file mode 100644 index 000000000..40a24eab6 Binary files /dev/null and b/data/sounds/lava.wav differ diff --git a/data/sounds/lifeup.ogg b/data/sounds/lifeup.ogg deleted file mode 100644 index 84992105a..000000000 Binary files a/data/sounds/lifeup.ogg and /dev/null differ diff --git a/data/sounds/lifeup.wav b/data/sounds/lifeup.wav new file mode 100644 index 000000000..96f221c2e Binary files /dev/null and b/data/sounds/lifeup.wav differ diff --git a/data/sounds/phone.ogg b/data/sounds/phone.ogg deleted file mode 100644 index 3f6bd1eda..000000000 Binary files a/data/sounds/phone.ogg and /dev/null differ diff --git a/data/sounds/phone.wav b/data/sounds/phone.wav new file mode 100644 index 000000000..c2da21852 Binary files /dev/null and b/data/sounds/phone.wav differ diff --git a/data/sounds/rain.ogg b/data/sounds/rain.ogg deleted file mode 100644 index e806c2532..000000000 Binary files a/data/sounds/rain.ogg and /dev/null differ diff --git a/data/sounds/rain.wav b/data/sounds/rain.wav new file mode 100644 index 000000000..7509a53bd Binary files /dev/null and b/data/sounds/rain.wav differ diff --git a/data/sounds/shoot.ogg b/data/sounds/shoot.ogg deleted file mode 100644 index 9f026f049..000000000 Binary files a/data/sounds/shoot.ogg and /dev/null differ diff --git a/data/sounds/shoot.wav b/data/sounds/shoot.wav new file mode 100644 index 000000000..c30a6494c Binary files /dev/null and b/data/sounds/shoot.wav differ diff --git a/data/sounds/skid.ogg b/data/sounds/skid.ogg deleted file mode 100644 index 761a42c7b..000000000 Binary files a/data/sounds/skid.ogg and /dev/null differ diff --git a/data/sounds/skid.wav b/data/sounds/skid.wav new file mode 100644 index 000000000..8576153ef Binary files /dev/null and b/data/sounds/skid.wav differ diff --git a/data/sounds/squish.ogg b/data/sounds/squish.ogg deleted file mode 100644 index 7e8c0ad32..000000000 Binary files a/data/sounds/squish.ogg and /dev/null differ diff --git a/data/sounds/squish.wav b/data/sounds/squish.wav new file mode 100644 index 000000000..85601db64 Binary files /dev/null and b/data/sounds/squish.wav differ diff --git a/data/sounds/stomp.ogg b/data/sounds/stomp.ogg deleted file mode 100644 index afa81d159..000000000 Binary files a/data/sounds/stomp.ogg and /dev/null differ diff --git a/data/sounds/stomp.wav b/data/sounds/stomp.wav new file mode 100644 index 000000000..ace9b9649 Binary files /dev/null and b/data/sounds/stomp.wav differ diff --git a/data/sounds/upgrade.ogg b/data/sounds/upgrade.ogg deleted file mode 100644 index b35186dc1..000000000 Binary files a/data/sounds/upgrade.ogg and /dev/null differ diff --git a/data/sounds/upgrade.wav b/data/sounds/upgrade.wav new file mode 100644 index 000000000..95edf4735 Binary files /dev/null and b/data/sounds/upgrade.wav differ diff --git a/data/sounds/warp.ogg b/data/sounds/warp.ogg deleted file mode 100644 index ee2928f42..000000000 Binary files a/data/sounds/warp.ogg and /dev/null differ diff --git a/data/sounds/warp.wav b/data/sounds/warp.wav new file mode 100644 index 000000000..438cee56c Binary files /dev/null and b/data/sounds/warp.wav differ diff --git a/data/sounds/waterfall.ogg b/data/sounds/waterfall.ogg deleted file mode 100644 index c5a424e0c..000000000 Binary files a/data/sounds/waterfall.ogg and /dev/null differ diff --git a/data/sounds/waterfall.wav b/data/sounds/waterfall.wav new file mode 100644 index 000000000..52eb8e795 Binary files /dev/null and b/data/sounds/waterfall.wav differ diff --git a/data/sounds/yeti_gna.ogg b/data/sounds/yeti_gna.ogg deleted file mode 100644 index 9c1a2d018..000000000 Binary files a/data/sounds/yeti_gna.ogg and /dev/null differ diff --git a/data/sounds/yeti_gna.wav b/data/sounds/yeti_gna.wav new file mode 100644 index 000000000..423479fd7 Binary files /dev/null and b/data/sounds/yeti_gna.wav differ diff --git a/data/sounds/yeti_roar.ogg b/data/sounds/yeti_roar.ogg deleted file mode 100644 index b46819b5c..000000000 Binary files a/data/sounds/yeti_roar.ogg and /dev/null differ diff --git a/data/sounds/yeti_roar.wav b/data/sounds/yeti_roar.wav new file mode 100644 index 000000000..25d1ccb3f Binary files /dev/null and b/data/sounds/yeti_roar.wav differ diff --git a/src/badguy/badguy.cpp b/src/badguy/badguy.cpp index 65b299789..8af388562 100644 --- a/src/badguy/badguy.cpp +++ b/src/badguy/badguy.cpp @@ -181,7 +181,7 @@ BadGuy::collision_squished(Player& ) void BadGuy::kill_squished(Player& player) { - sound_manager->play("sounds/squish.ogg", get_pos()); + sound_manager->play("sounds/squish.wav", get_pos()); physic.enable_gravity(true); physic.set_velocity_x(0); physic.set_velocity_y(0); @@ -193,7 +193,7 @@ BadGuy::kill_squished(Player& player) void BadGuy::kill_fall() { - sound_manager->play("sounds/fall.ogg", get_pos()); + sound_manager->play("sounds/fall.wav", get_pos()); global_stats.add_points(BADGUYS_KILLED_STAT, 1); physic.set_velocity_y(0); physic.enable_gravity(true); diff --git a/src/badguy/bomb.cpp b/src/badguy/bomb.cpp index 451fe0069..c611337e8 100644 --- a/src/badguy/bomb.cpp +++ b/src/badguy/bomb.cpp @@ -92,7 +92,7 @@ Bomb::explode() { state = 1; sprite->set_action("explosion"); - sound_manager->play("sounds/explosion.ogg", get_pos()); + sound_manager->play("sounds/explosion.wav", get_pos()); timer.start(EXPLOSIONTIME); } diff --git a/src/badguy/flame.cpp b/src/badguy/flame.cpp index b17cdb519..f43b69a05 100644 --- a/src/badguy/flame.cpp +++ b/src/badguy/flame.cpp @@ -69,7 +69,7 @@ void Flame::activate() { delete source; - source = sound_manager->create_sound_source("sounds/flame.ogg"); + source = sound_manager->create_sound_source("sounds/flame.wav"); if(!source) { std::cerr << "Couldn't start flame sound.\n"; return; diff --git a/src/badguy/jumpy.cpp b/src/badguy/jumpy.cpp index 9514ed3e7..9b2a6b770 100644 --- a/src/badguy/jumpy.cpp +++ b/src/badguy/jumpy.cpp @@ -70,7 +70,7 @@ Jumpy::hit(const CollisionHit& chit) physic.set_velocity_y(JUMPSPEED); // TODO create a nice sound for this... - //sound_manager->play("sounds/skid.ogg"); + //sound_manager->play("sounds/skid.wav"); } else if(chit.normal.y < .5) { // bumped on roof physic.set_velocity_y(0); } diff --git a/src/badguy/mriceblock.cpp b/src/badguy/mriceblock.cpp index 67e9ea434..052584869 100644 --- a/src/badguy/mriceblock.cpp +++ b/src/badguy/mriceblock.cpp @@ -105,7 +105,7 @@ MrIceBlock::collision_solid(GameObject& object, const CollisionHit& hit) dir = dir == LEFT ? RIGHT : LEFT; sprite->set_action(dir == LEFT ? "flat-left" : "flat-right"); physic.set_velocity_x(-physic.get_velocity_x()); - sound_manager->play("sounds/iceblock_bump.ogg", get_pos()); + sound_manager->play("sounds/iceblock_bump.wav", get_pos()); break; } case ICESTATE_FLAT: @@ -152,7 +152,7 @@ MrIceBlock::collision_squished(Player& player) } // flatten - sound_manager->play("sounds/stomp.ogg", get_pos()); + sound_manager->play("sounds/stomp.wav", get_pos()); physic.set_velocity_x(0); physic.set_velocity_y(0); @@ -162,7 +162,7 @@ MrIceBlock::collision_squished(Player& player) break; case ICESTATE_FLAT: // kick - sound_manager->play("sounds/kick.ogg", get_pos()); + sound_manager->play("sounds/kick.wav", get_pos()); if(player.get_pos().x < get_pos().x) { dir = RIGHT; diff --git a/src/badguy/mrtree.cpp b/src/badguy/mrtree.cpp index 82ec9153d..73e2c6308 100644 --- a/src/badguy/mrtree.cpp +++ b/src/badguy/mrtree.cpp @@ -64,7 +64,7 @@ MrTree::collision_squished(Player& player) mystate = STATE_NORMAL; activate(); - sound_manager->play("sounds/squish.ogg", get_pos()); + sound_manager->play("sounds/squish.wav", get_pos()); player.bounce(*this); } else { sprite->set_action(dir == LEFT ? "squished-left" : "squished-right"); diff --git a/src/badguy/nolok_01.cpp b/src/badguy/nolok_01.cpp index 96b745f93..925e4de90 100644 --- a/src/badguy/nolok_01.cpp +++ b/src/badguy/nolok_01.cpp @@ -147,7 +147,7 @@ Nolok_01::kill_fall() bullet_hitpoints--; if (bullet_hitpoints <= 0) { hitpoints = 0; - sound_manager->play("sounds/fall.ogg", this, + sound_manager->play("sounds/fall.wav", this, Sector::current()->player->get_pos()); physic.set_velocity_y(0); physic.enable_gravity(true); diff --git a/src/badguy/rocketexplosion.cpp b/src/badguy/rocketexplosion.cpp index b90c183ae..e79e847d8 100644 --- a/src/badguy/rocketexplosion.cpp +++ b/src/badguy/rocketexplosion.cpp @@ -76,7 +76,7 @@ void RocketExplosion::explode() { sprite->set_action(dir == LEFT ? "explosion-left" : "explosion-right"); - sound_manager->play("sounds/explosion.ogg", get_pos()); + sound_manager->play("sounds/explosion.wav", get_pos()); timer.start(EXPLOSIONTIME, true); } diff --git a/src/badguy/yeti.cpp b/src/badguy/yeti.cpp index 7e404a315..50aa8887e 100644 --- a/src/badguy/yeti.cpp +++ b/src/badguy/yeti.cpp @@ -89,7 +89,7 @@ Yeti::active_update(float elapsed_time) case ANGRY_JUMPING: if(timer.check()) { // jump - sound_manager->play("sounds/yeti_gna.ogg"); + sound_manager->play("sounds/yeti_gna.wav"); physic.set_velocity_y(JUMP_VEL1); } break; @@ -141,7 +141,7 @@ Yeti::collision_squished(Player& player) return true; player.bounce(*this); - sound_manager->play("sounds/yeti_roar.ogg"); + sound_manager->play("sounds/yeti_roar.wav"); hit_points--; if(hit_points <= 0) { sprite->set_action("dead"); diff --git a/src/object/ambient_sound.cpp b/src/object/ambient_sound.cpp index 61af1aa01..68253b093 100644 --- a/src/object/ambient_sound.cpp +++ b/src/object/ambient_sound.cpp @@ -123,7 +123,7 @@ AmbientSound::start_playing() try { std::string filename = "sounds/"; filename += sample; - filename += ".ogg"; + filename += ".wav"; sound_source = sound_manager->create_sound_source(filename); if(!sound_source) throw std::runtime_error("file not found"); diff --git a/src/object/block.cpp b/src/object/block.cpp index dd2e11c84..d68b02afe 100644 --- a/src/object/block.cpp +++ b/src/object/block.cpp @@ -203,7 +203,7 @@ void BonusBlock::try_open() { if(sprite->get_action_name() == "empty") { - sound_manager->play("sounds/brick.ogg"); + sound_manager->play("sounds/brick.wav"); return; } @@ -224,7 +224,7 @@ BonusBlock::try_open() get_pos(), new Flower(Flower::FIREFLOWER)); sector->add_object(riser); } - sound_manager->play("sounds/upgrade.ogg"); + sound_manager->play("sounds/upgrade.wav"); break; case CONTENT_ICEGROW: @@ -236,7 +236,7 @@ BonusBlock::try_open() get_pos(), new Flower(Flower::ICEFLOWER)); sector->add_object(riser); } - sound_manager->play("sounds/upgrade.ogg"); + sound_manager->play("sounds/upgrade.wav"); break; case CONTENT_STAR: @@ -251,7 +251,7 @@ BonusBlock::try_open() SpecialRiser* riser = new SpecialRiser(get_pos(), object); object = 0; sector->add_object(riser); - sound_manager->play("sounds/upgrade.ogg"); + sound_manager->play("sounds/upgrade.wav"); break; //default: @@ -292,7 +292,7 @@ Brick::try_break(bool playerhit) if(sprite->get_action_name() == "empty") return; - sound_manager->play("sounds/brick.ogg"); + sound_manager->play("sounds/brick.wav"); Sector* sector = Sector::current(); Player& player = *(sector->player); if(coin_counter > 0) { diff --git a/src/object/fireworks.cpp b/src/object/fireworks.cpp index 12b79b302..62904c5b4 100644 --- a/src/object/fireworks.cpp +++ b/src/object/fireworks.cpp @@ -51,7 +51,7 @@ Fireworks::update(float ) sector->add_object(new Particles(pos, 0, 360, Vector(140, 140), Vector(0, 0), 45, Color(red, green, 0), 3, 1.3, LAYER_FOREGROUND1+1)); - sound_manager->play("sounds/fireworks.ogg"); + sound_manager->play("sounds/fireworks.wav"); timer.start(((float) rand() / RAND_MAX) + .5); } } diff --git a/src/object/flower.cpp b/src/object/flower.cpp index 0dbdd38e1..c71ec6947 100644 --- a/src/object/flower.cpp +++ b/src/object/flower.cpp @@ -67,7 +67,7 @@ Flower::collision(GameObject& other, const CollisionHit& ) else player->set_bonus(ICE_BONUS, true); - sound_manager->play("sounds/fire-flower.ogg"); + sound_manager->play("sounds/fire-flower.wav"); remove_me(); return ABORT_MOVE; } diff --git a/src/object/growup.cpp b/src/object/growup.cpp index fd3399944..6f0fe5ecb 100644 --- a/src/object/growup.cpp +++ b/src/object/growup.cpp @@ -64,7 +64,7 @@ GrowUp::collision(GameObject& other, const CollisionHit& hit) Player* player = dynamic_cast(&other); if(player != 0) { player->set_bonus(GROWUP_BONUS, true); - sound_manager->play("sounds/grow.ogg"); + sound_manager->play("sounds/grow.wav"); remove_me(); return ABORT_MOVE; diff --git a/src/object/invisible_block.cpp b/src/object/invisible_block.cpp index 47f17ea65..4d28d2683 100644 --- a/src/object/invisible_block.cpp +++ b/src/object/invisible_block.cpp @@ -49,7 +49,7 @@ InvisibleBlock::hit(Player& ) return; sprite->set_action("empty"); - sound_manager->play("sounds/brick.ogg"); + sound_manager->play("sounds/brick.wav"); start_bounce(); flags |= FLAG_SOLID; visible = true; diff --git a/src/object/player.cpp b/src/object/player.cpp index 961e7a37b..b42c547b9 100644 --- a/src/object/player.cpp +++ b/src/object/player.cpp @@ -270,7 +270,7 @@ Player::handle_horizontal_input() // let's skid! if(fabs(vx)>SKID_XM && !skidding_timer.started()) { skidding_timer.start(SKID_TIME); - sound_manager->play("sounds/skid.ogg"); + sound_manager->play("sounds/skid.wav"); // dust some partcles Sector::current()->add_object( new Particles( @@ -366,9 +366,9 @@ Player::handle_vertical_input() can_flap = false; flaps_nb = 0; // Ricardo's flapping if (is_big()) - sound_manager->play("sounds/bigjump.ogg"); + sound_manager->play("sounds/bigjump.wav"); else - sound_manager->play("sounds/jump.ogg"); + sound_manager->play("sounds/jump.wav"); } else if(!controller->hold(Controller::JUMP)) { // Let go of jump key if (!flapping && !duck && !falling_from_flap && !on_ground()) { can_flap = true; @@ -790,7 +790,7 @@ Player::collision(GameObject& other, const CollisionHit& hit) void Player::make_invincible() { - sound_manager->play("sounds/invincible.ogg"); + sound_manager->play("sounds/invincible.wav"); invincible_timer.start(TUX_INVINCIBLE_TIME); Sector::current()->play_music(HERRING_MUSIC); } @@ -806,7 +806,7 @@ Player::kill(HurtMode mode) safe_timer.get_timeleft() > 0 || invincible_timer.get_timeleft() > 0) return; - sound_manager->play("sounds/hurt.ogg"); + sound_manager->play("sounds/hurt.wav"); physic.set_velocity_x(0); diff --git a/src/object/powerup.cpp b/src/object/powerup.cpp index 8cc0e7e4a..9d3ff9359 100644 --- a/src/object/powerup.cpp +++ b/src/object/powerup.cpp @@ -74,10 +74,10 @@ PowerUp::collision(GameObject& other, const CollisionHit& hit) // some defaults if no script has been set if (sprite->get_name() == "egg") { player->set_bonus(GROWUP_BONUS, true); - sound_manager->play("sounds/grow.ogg"); + sound_manager->play("sounds/grow.wav"); } else if (sprite->get_name() == "fireflower") { player->set_bonus(FIRE_BONUS, true); - sound_manager->play("sounds/fire-flower.ogg"); + sound_manager->play("sounds/fire-flower.wav"); } else if (sprite->get_name() == "star") { player->make_invincible(); } else if (sprite->get_name() == "1up") { diff --git a/src/player_status.cpp b/src/player_status.cpp index cb5815e59..57acb9348 100644 --- a/src/player_status.cpp +++ b/src/player_status.cpp @@ -55,7 +55,7 @@ PlayerStatus::incLives() { if(lives < MAX_LIVES) ++lives; - sound_manager->play("sounds/lifeup.ogg"); + sound_manager->play("sounds/lifeup.wav"); } void @@ -66,7 +66,7 @@ PlayerStatus::incCoins() incLives(); coins = 0; } - sound_manager->play("sounds/coin.ogg"); + sound_manager->play("sounds/coin.wav"); } void diff --git a/src/sector.cpp b/src/sector.cpp index 4db083fbd..51b8683d4 100644 --- a/src/sector.cpp +++ b/src/sector.cpp @@ -769,7 +769,7 @@ Sector::add_bullet(const Vector& pos, float xm, Direction dir) } add_object(new_bullet); - sound_manager->play("sounds/shoot.ogg"); + sound_manager->play("sounds/shoot.wav"); return true; } diff --git a/src/worldmap.cpp b/src/worldmap.cpp index c6f905345..0123216c8 100644 --- a/src/worldmap.cpp +++ b/src/worldmap.cpp @@ -713,7 +713,7 @@ WorldMap::update(float delta) if (special_tile->teleport_dest != Vector(-1,-1)) { // TODO: an animation, camera scrolling or a fading would be a nice touch - sound_manager->play("sounds/warp.ogg"); + sound_manager->play("sounds/warp.wav"); tux->back_direction = D_NONE; tux->set_tile_pos(special_tile->teleport_dest); SDL_Delay(1000);