Restored use of the word "Target" for all target life bars in Classic mode.

At some point I replaced the "Target" text with "Sid", "Phoebe", and
"Kline" for those respective characters. Classic difficulty now always
uses the word "Target" once again.
This commit is contained in:
Julie Marchant 2019-05-26 20:18:10 -04:00
parent dcd4fd735b
commit 5c6d4e5134
2 changed files with 14 additions and 10 deletions

View File

@ -54,9 +54,6 @@ as possible. However, there are several minor differences in addition to
the changes to graphics, sound, and dialog. Here you can fine a list of the changes to graphics, sound, and dialog. Here you can fine a list of
notable differences. notable differences.
* Life bars for named characters are labeled with the respective
character's name instead of "Target".
* Selling your secondary weapon leaves you with standard Rockets. In * Selling your secondary weapon leaves you with standard Rockets. In
version 1.1, it instead left you with no secondary weapon at all (with version 1.1, it instead left you with no secondary weapon at all (with
no way to gain standard Rockets back). no way to gain standard Rockets back).

View File

@ -1997,14 +1997,21 @@ static void game_doHud()
if ((engine.targetIndex > -1) && (aliens[engine.targetIndex].shield > 0) && if ((engine.targetIndex > -1) && (aliens[engine.targetIndex].shield > 0) &&
(engine.targetIndex > engine.maxAliens)) (engine.targetIndex > engine.maxAliens))
{ {
if (engine.targetIndex == ALIEN_SID) if (game.difficulty == DIFFICULTY_ORIGINAL)
screen_blitText(TS_TARGET_SID); {
else if (engine.targetIndex == ALIEN_PHOEBE)
screen_blitText(TS_TARGET_PHOEBE);
else if (engine.targetIndex == ALIEN_KLINE)
screen_blitText(TS_TARGET_KLINE);
else
screen_blitText(TS_TARGET); screen_blitText(TS_TARGET);
}
else
{
if (engine.targetIndex == ALIEN_SID)
screen_blitText(TS_TARGET_SID);
else if (engine.targetIndex == ALIEN_PHOEBE)
screen_blitText(TS_TARGET_PHOEBE);
else if (engine.targetIndex == ALIEN_KLINE)
screen_blitText(TS_TARGET_KLINE);
else
screen_blitText(TS_TARGET);
}
bar.w = MAX(screen->w / 800, 1); bar.w = MAX(screen->w / 800, 1);
bar.h = 12; bar.h = 12;