Added special target text for Kline.

This commit is contained in:
onpon4 2016-01-08 11:09:13 -05:00
parent f8e23ab061
commit 62d14c57f0
6 changed files with 9 additions and 0 deletions

View File

@ -85,6 +85,7 @@ License: CC BY-SA 3.0 <https://creativecommons.org/licenses/by-sa/3.0/>
------------------------------------------------------------------------
gfx/klineText.png
gfx/phoebeText.png
gfx/sidText.png
gfx/ursulaText.png

BIN
gfx/klineText.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

View File

@ -379,6 +379,7 @@ enum {
SP_INDICATOR_SID,
SP_INDICATOR_PHOEBE,
SP_INDICATOR_URSULA,
SP_INDICATOR_KLINE,
SP_MAX
};
@ -560,6 +561,7 @@ enum {
TS_TARGET,
TS_TARGET_SID,
TS_TARGET_PHOEBE,
TS_TARGET_KLINE,
TS_CASH_T,
TS_OBJECTIVES_T,
TS_TIME_T,

View File

@ -1647,6 +1647,8 @@ static void game_doArrow(int i)
indicator = SP_INDICATOR_PHOEBE;
else if (i == ALIEN_URSULA)
indicator = SP_INDICATOR_URSULA;
else if (i == ALIEN_KLINE)
indicator = SP_INDICATOR_KLINE;
else if (i == engine.targetIndex)
indicator = SP_INDICATOR_TARGET;
@ -1835,6 +1837,8 @@ static void game_doHud()
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);

View File

@ -806,6 +806,7 @@ void missionBriefScreen()
gfx_createTextObject(TS_TARGET, "Target", screen->w * 11 / 16, screen->h - 50, FONT_WHITE);
gfx_createTextObject(TS_TARGET_SID, "Sid", screen->w * 11 / 16 + 27, screen->h - 50, FONT_WHITE);
gfx_createTextObject(TS_TARGET_PHOEBE, "Phoebe", screen->w * 11 / 16, screen->h - 50, FONT_WHITE);
gfx_createTextObject(TS_TARGET_KLINE, "Kline", screen->w * 11 / 16 + 9, screen->h - 50, FONT_WHITE);
gfx_createTextObject(TS_CASH_T, "Cash: $", 25, 20, FONT_WHITE);
gfx_createTextObject(TS_OBJECTIVES_T, "Objectives Remaining:", screen->w - 250, 20, FONT_WHITE);
gfx_createTextObject(TS_TIME_T, "Time Remaining - ", screen->w / 2 - 140, 20, FONT_WHITE);

View File

@ -231,6 +231,7 @@ void loadGameGraphics()
gfx_sprites[SP_INDICATOR_SID] = gfx_loadImage("gfx/sidText.png");
gfx_sprites[SP_INDICATOR_PHOEBE] = gfx_loadImage("gfx/phoebeText.png");
gfx_sprites[SP_INDICATOR_URSULA] = gfx_loadImage("gfx/ursulaText.png");
gfx_sprites[SP_INDICATOR_KLINE] = gfx_loadImage("gfx/klineText.png");
gfx_sprites[SP_ESCAPE_POD] = gfx_loadImage("gfx/pod.png");
gfx_sprites[SP_ORE] = gfx_loadImage("gfx/ore1.png");
gfx_sprites[SP_ORE_2] = gfx_loadImage("gfx/ore2.png");