/*
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
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;
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)
Math::addBit(&map.boss[0]->flags, ENT_AIMS);
- SDL_SetSurfaceAlphaMod(graphics.getSprite("GaldovInvsLeft", true)->image[0], 100);
- SDL_SetSurfaceAlphaMod(graphics.getSprite("GaldovInvsRight", true)->image[0], 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++)
{