Returned Classic difficulty start positions to relative.
This commit is contained in:
parent
f209058367
commit
0112d8074f
30
src/alien.c
30
src/alien.c
|
@ -1131,14 +1131,8 @@ void aliens_init()
|
||||||
if (game.area == MISN_MOEBO)
|
if (game.area == MISN_MOEBO)
|
||||||
{
|
{
|
||||||
aliens[ALIEN_BOSS].target = &player;
|
aliens[ALIEN_BOSS].target = &player;
|
||||||
if (game.difficulty == DIFFICULTY_ORIGINAL) {
|
aliens[ALIEN_BOSS].x = -screen->w / 2;
|
||||||
aliens[ALIEN_BOSS].x = -400;
|
aliens[ALIEN_BOSS].y = screen->h / 2;
|
||||||
aliens[ALIEN_BOSS].y = 300;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
aliens[ALIEN_BOSS].x = -screen->w / 2;
|
|
||||||
aliens[ALIEN_BOSS].y = screen->h / 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
aliens[ALIEN_BOSS_PART1].owner = &aliens[ALIEN_BOSS];
|
aliens[ALIEN_BOSS_PART1].owner = &aliens[ALIEN_BOSS];
|
||||||
aliens[ALIEN_BOSS_PART1].target = &player;
|
aliens[ALIEN_BOSS_PART1].target = &player;
|
||||||
|
@ -1154,14 +1148,8 @@ void aliens_init()
|
||||||
|| (game.area == MISN_FELLON))
|
|| (game.area == MISN_FELLON))
|
||||||
{
|
{
|
||||||
aliens[ALIEN_BOSS].target = &player;
|
aliens[ALIEN_BOSS].target = &player;
|
||||||
if (game.difficulty == DIFFICULTY_ORIGINAL) {
|
aliens[ALIEN_BOSS].x = -screen->w / 2;
|
||||||
aliens[ALIEN_BOSS].x = -400;
|
aliens[ALIEN_BOSS].y = screen->h / 2;
|
||||||
aliens[ALIEN_BOSS].y = 300;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
aliens[ALIEN_BOSS].x = -screen->w / 2;
|
|
||||||
aliens[ALIEN_BOSS].y = screen->h / 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
aliens[ALIEN_BOSS_PART1].owner = &aliens[ALIEN_BOSS_PART2];
|
aliens[ALIEN_BOSS_PART1].owner = &aliens[ALIEN_BOSS_PART2];
|
||||||
aliens[ALIEN_BOSS_PART1].target = &player;
|
aliens[ALIEN_BOSS_PART1].target = &player;
|
||||||
|
@ -1191,14 +1179,8 @@ void aliens_init()
|
||||||
else if (game.area == MISN_URANUS)
|
else if (game.area == MISN_URANUS)
|
||||||
{
|
{
|
||||||
aliens[ALIEN_BOSS].target = &player;
|
aliens[ALIEN_BOSS].target = &player;
|
||||||
if (game.difficulty == DIFFICULTY_ORIGINAL) {
|
aliens[ALIEN_BOSS].x = -screen->w / 2;
|
||||||
aliens[ALIEN_BOSS].x = -400;
|
aliens[ALIEN_BOSS].y = screen->h / 2;
|
||||||
aliens[ALIEN_BOSS].y = 300;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
aliens[ALIEN_BOSS].x = -screen->w / 2;
|
|
||||||
aliens[ALIEN_BOSS].y = screen->h / 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
aliens[ALIEN_BOSS_PART1].owner = &aliens[ALIEN_BOSS];
|
aliens[ALIEN_BOSS_PART1].owner = &aliens[ALIEN_BOSS];
|
||||||
aliens[ALIEN_BOSS_PART1].dy = -16;
|
aliens[ALIEN_BOSS_PART1].dy = -16;
|
||||||
|
|
|
@ -50,8 +50,8 @@ void player_init()
|
||||||
{
|
{
|
||||||
player.active = 1;
|
player.active = 1;
|
||||||
if (game.difficulty == DIFFICULTY_ORIGINAL) {
|
if (game.difficulty == DIFFICULTY_ORIGINAL) {
|
||||||
player.x = 200;
|
player.x = screen->w / 4;
|
||||||
player.y = 200;
|
player.y = screen->h / 3;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
player.x = screen->w / 2;
|
player.x = screen->w / 2;
|
||||||
|
|
Loading…
Reference in New Issue