From 5722b19ec01a02354630877da12cab2177bba72a Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 15 May 2016 11:59:37 +0100 Subject: [PATCH] Optional Pandoran mission updates. --- src/defs.h | 3 ++- src/galaxy/galacticMap.c | 10 ++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/defs.h b/src/defs.h index 1833d95..f00f2a7 100644 --- a/src/defs.h +++ b/src/defs.h @@ -290,7 +290,8 @@ enum TT_ESCAPED, TT_PLAYER_ESCAPED, TT_ITEM, - TT_STOLEN + TT_STOLEN, + TT_MISC }; enum diff --git a/src/galaxy/galacticMap.c b/src/galaxy/galacticMap.c index c67d0b9..c086eee 100644 --- a/src/galaxy/galacticMap.c +++ b/src/galaxy/galacticMap.c @@ -311,6 +311,8 @@ static void addPulses(void) break; case SS_PANDORAN: + pulse->r = 128; + pulse->g = 128; pulse->b = 255; break; } @@ -479,7 +481,7 @@ static void drawGalaxy(void) break; case SS_PANDORAN: - SDL_SetTextureColorMod(arrowTexture, 0, 0, 255); + SDL_SetTextureColorMod(arrowTexture, 64, 128, 255); break; } @@ -602,7 +604,11 @@ static void drawStarSystemDetail(void) } else if (game.currentMission->epic) { - drawText(525, SCREEN_HEIGHT - 95, 18, TA_LEFT, colors.yellow, _("Note: this is an Epic Mission.")); + drawText(525, SCREEN_HEIGHT - 95, 18, TA_LEFT, colors.yellow, _("Note: this is an epic mission.")); + } + else if (selectedStarSystem->side == SIDE_PANDORAN) + { + drawText(525, SCREEN_HEIGHT - 95, 18, TA_LEFT, colors.cyan, _("Note: this is an optional mission.")); } startMissionButton->enabled = (!game.currentMission->completed || selectedStarSystem->type == SS_SOL);