/*
-Copyright (C) 2004-2010 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
graphics.loadBackground("gfx/main/areaClearBackGround.jpg");
SDL_Surface *panel = graphics.alphaRect(550, 420, 0x00, 0x00, 0x00);
- SDL_SetAlpha(panel, SDL_SRCALPHA|SDL_RLEACCEL, 180);
+ SDL_SetAlpha(panel, 180);
graphics.drawRect(1, 1, panel->w - 2, panel->h - 2 , graphics.black, graphics.white, panel);
graphics.blit(panel, (640 - panel->w) / 2, (480 - panel->h) / 2, graphics.background, false);
int y = 520;
int miaY = 335;
int clearY = 520;
- Objective *objective = (Objective*)map.objectiveList.getHead();
Entity *mia = (Entity*)map.miaList.getHead();
Sprite *teleportStar = graphics.getSprite("TeleportStar", true);
char message[256];
place += 25;
}
- if (count > colCount)
- count = colCount;
-
if (place > (colCount * 25))
place = colCount * 25;
}
}
- objective = (Objective*)map.objectiveList.getHead();
+ Objective *objective = (Objective*)map.objectiveList.getHead();
engine.setPlayerPosition(0, 0, -1, -1, -1, -1);