X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Fgaldov.cpp;h=00bd898629e5fd6c49056de4f76f1e87c41ba48b;hb=a09c3f95c9c2d3c7015edc5171b12779b9ea3081;hp=1661354c6c20de2b587a8dd9cb4ea55264ae0d0e;hpb=bb1216e97116551e3bbb1fb1a35f5be714724f51;p=quix0rs-blobwars.git diff --git a/src/galdov.cpp b/src/galdov.cpp index 1661354..00bd898 100644 --- a/src/galdov.cpp +++ b/src/galdov.cpp @@ -1,5 +1,6 @@ /* -Copyright (C) 2004 Parallel Realities +Copyright (C) 2004-2011 Parallel Realities +Copyright (C) 2011-2015 Perpendicular Dimensions This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -130,7 +131,7 @@ void galdovReact() void galdovSplit(int i) { - audio.playSound(SND_BOSSCUSTOM1, CH_AMBIANCE); + audio.playSound(SND_BOSSCUSTOM1, CH_AMBIANCE, map.boss[0]->x); map.boss[i]->active = true; map.boss[i]->health = 4 * game.skill; @@ -388,7 +389,7 @@ void galdovDie() if (map.mainBossPart != NULL) { map.mainBossPart = NULL; - audio.playSound(SND_BOSSCUSTOM2, CH_AMBIANCE); + audio.playSound(SND_BOSSCUSTOM2, CH_AMBIANCE, self->x); } if ((self->health % 5) == 0) @@ -474,8 +475,8 @@ void galdovInit() Math::addBit(&map.boss[0]->flags, ENT_AIMS); - SDL_SetAlpha(graphics.getSprite("GaldovInvsLeft", true)->image[0], SDL_SRCALPHA|SDL_RLEACCEL, 100); - SDL_SetAlpha(graphics.getSprite("GaldovInvsRight", true)->image[0], SDL_SRCALPHA|SDL_RLEACCEL, 100); + SDL_SetAlpha(graphics.getSprite("GaldovInvsLeft", true)->image[0], 100); + SDL_SetAlpha(graphics.getSprite("GaldovInvsRight", true)->image[0], 100); for (int i = 1 ; i < 10 ; i++) {