Permalink
Browse files

Ogg files are now played by allegro

  • Loading branch information...
1 parent b080eeb commit a083ea9031e21395565092860528c8ca0dd29d1e @soeb soeb committed Jan 29, 2013
View
BIN out/music/combat.ogg
Binary file not shown.
View
BIN out/music/combat.wav
Binary file not shown.
View
BIN out/music/dragon.ogg
Binary file not shown.
View
BIN out/music/dragon.wav
Binary file not shown.
View
BIN out/music/normal.ogg
Binary file not shown.
View
BIN out/music/normal.wav
Binary file not shown.
View
BIN out/sfx/damage_fail.wav
Binary file not shown.
View
BIN out/sfx/death.wav
Binary file not shown.
View
BIN out/sfx/dragon_ambience.wav
Binary file not shown.
View
BIN out/sfx/dragon_ambient_aggro.wav
Binary file not shown.
View
BIN out/sfx/dragon_ambient_passive.wav
Binary file not shown.
View
BIN out/sfx/dragon_death.wav
Binary file not shown.
View
BIN out/sfx/dragon_pain.wav
Binary file not shown.
View
BIN out/sfx/dragon_roar_1.wav
Binary file not shown.
View
BIN out/sfx/dragon_roar_1_sharp.wav
Binary file not shown.
View
BIN out/sfx/dragon_roar_2.wav
Binary file not shown.
View
BIN out/sfx/dragon_roar_2_sharp.wav
Binary file not shown.
View
BIN out/sfx/enemy_death.wav
Binary file not shown.
View
BIN out/sfx/enemy_pain.wav
Binary file not shown.
View
BIN out/sfx/enemy_skate.wav
Binary file not shown.
View
BIN out/sfx/gun.wav
Binary file not shown.
View
BIN out/sfx/pain1.wav
Binary file not shown.
View
BIN out/sfx/pain2.wav
Binary file not shown.
View
BIN out/sfx/pain3.wav
Binary file not shown.
View
BIN out/sfx/pickup.wav
Binary file not shown.
View
BIN out/sfx/pickup2.wav
Binary file not shown.
View
BIN out/sfx/pickup3.wav
Binary file not shown.
View
BIN out/sfx/pickup_spawn.wav
Binary file not shown.
View
BIN out/sfx/shotgun.wav
Binary file not shown.
View
BIN out/sfx/skate.wav
Binary file not shown.
View
BIN out/sfx/smg.wav
Binary file not shown.
View
BIN out/sfx/zap_2.wav
Binary file not shown.
View
6 src/AudioManager.cpp
@@ -28,9 +28,9 @@ AudioManager::AudioManager()
currentSample = new ALLEGRO_SAMPLE_ID();
- normalMusic = al_load_sample("music/normal.wav");
- combatMusic = al_load_sample("music/combat.wav");
- dragonMusic = al_load_sample("music/dragon.wav");
+ normalMusic = al_load_sample("music/normal.ogg");
+ combatMusic = al_load_sample("music/combat.ogg");
+ dragonMusic = al_load_sample("music/dragon.ogg");
//ctor
}
View
8 src/Character.cpp
@@ -24,10 +24,10 @@ along with FLAT. If not, see <http://www.gnu.org/licenses/>.
Character::Character()
{
- fireSample = al_load_sample("sfx/zap_2.wav");
- skateSample = al_load_sample("sfx/enemy_skate.wav");
- painSample = al_load_sample("sfx/enemy_pain.wav");
- deathSample = al_load_sample("sfx/enemy_death.wav");
+ fireSample = al_load_sample("sfx/zap_2.ogg");
+ skateSample = al_load_sample("sfx/enemy_skate.ogg");
+ painSample = al_load_sample("sfx/enemy_pain.ogg");
+ deathSample = al_load_sample("sfx/enemy_death.ogg");
dragon = false;
View
10 src/DragonHead.cpp
@@ -25,11 +25,11 @@ DragonHead::DragonHead() {}
DragonHead::DragonHead(DrawStack3D* world3D, vector <Character*> *npc)
{
- roar1 = al_load_sample("sfx/dragon_roar_2.wav");
- roar2 = al_load_sample("sfx/dragon_roar_1.wav");
- deathSample = al_load_sample("sfx/dragon_death.wav");
- painSample = al_load_sample("sfx/dragon_pain.wav");
- ambience = al_load_sample("sfx/dragon_ambience.wav");
+ roar1 = al_load_sample("sfx/dragon_roar_2.ogg");
+ roar2 = al_load_sample("sfx/dragon_roar_1.ogg");
+ deathSample = al_load_sample("sfx/dragon_death.ogg");
+ painSample = al_load_sample("sfx/dragon_pain.ogg");
+ ambience = al_load_sample("sfx/dragon_ambience.ogg");
splashEnd = al_load_bitmap("gfx/splash_end.png");
View
2 src/Pickup.cpp
@@ -58,7 +58,7 @@ Pickup::Pickup(DrawStack3D* world3D, vec3 _position) {
setPrescale(5.0f);
//Start playing the hum silently. We'll increase its volume as we get closer.
- humSample = al_load_sample("sfx/pickup_spawn.wav");
+ humSample = al_load_sample("sfx/pickup_spawn.ogg");
al_play_sample(humSample, 1.0f, 0.0f, 1.0f, ALLEGRO_PLAYMODE_ONCE, NULL);
}
View
18 src/Player.cpp
@@ -33,12 +33,12 @@ Player::Player()
healthBitmap = al_load_bitmap("gfx/health.png");
- skateSound = al_load_sample("sfx/skate.wav");
- painSounds[0] = al_load_sample("sfx/pain1.wav");
- painSounds[1] = al_load_sample("sfx/pain2.wav");
- painSounds[2] = al_load_sample("sfx/pain3.wav");
- deathSound = al_load_sample("sfx/death.wav");
- pickupSound = al_load_sample("sfx/pickup.wav");
+ skateSound = al_load_sample("sfx/skate.ogg");
+ painSounds[0] = al_load_sample("sfx/pain1.ogg");
+ painSounds[1] = al_load_sample("sfx/pain2.ogg");
+ painSounds[2] = al_load_sample("sfx/pain3.ogg");
+ deathSound = al_load_sample("sfx/death.ogg");
+ pickupSound = al_load_sample("sfx/pickup.ogg");
lastDir = 0;
@@ -69,7 +69,7 @@ Player::Player()
//Setup Weapons:
//PISTOL
- pistol = Weapon("gfx/gun.png", "sfx/gun.wav");
+ pistol = Weapon("gfx/gun.png", "sfx/gun.ogg");
pistol.automatic = false;
@@ -100,7 +100,7 @@ Player::Player()
//SHOTGUN
- shotgun = Weapon("gfx/shotgun.png", "sfx/shotgun.wav");
+ shotgun = Weapon("gfx/shotgun.png", "sfx/shotgun.ogg");
shotgun.automatic = true;
@@ -131,7 +131,7 @@ Player::Player()
//SMG
- smg = Weapon("gfx/smg.png", "sfx/smg.wav");
+ smg = Weapon("gfx/smg.png", "sfx/smg.ogg");
smg.automatic = true;

0 comments on commit a083ea9

Please sign in to comment.