diff --git a/LICENSES b/LICENSES index fd72552..f725d70 100644 --- a/LICENSES +++ b/LICENSES @@ -61,6 +61,11 @@ gfx/targetText.png Author: Astrid S. de Wijn License: CC BY-SA 3.0 +Notes: + The text in these images was made by rendering the + DejaVu Sans Mono Bold font in the GIMP. smallFont.png uses size 13pt + with anti-aliasing off, while the other images use size 10pt with + anti-aliasing on. ------------------------------------------------------------------------ @@ -80,6 +85,18 @@ License: CC BY-SA 3.0 ------------------------------------------------------------------------ +gfx/phoebeText.png +gfx/sidText.png +gfx/ursulaText.png + +Author: onpon4 +License: CC0 +Notes: + Made by rendering the DejaVu Sans Mono Bold font in the GIMP at size + 10pt wih anti-aliasing on. + +------------------------------------------------------------------------ + gfx/face_chris.png gfx/face_phoebe.png gfx/face_sid.png diff --git a/gfx/phoebeText.png b/gfx/phoebeText.png new file mode 100644 index 0000000..873f1f3 Binary files /dev/null and b/gfx/phoebeText.png differ diff --git a/gfx/sidText.png b/gfx/sidText.png new file mode 100644 index 0000000..66790d8 Binary files /dev/null and b/gfx/sidText.png differ diff --git a/gfx/ursulaText.png b/gfx/ursulaText.png new file mode 100644 index 0000000..4f07b35 Binary files /dev/null and b/gfx/ursulaText.png differ diff --git a/src/defs.h b/src/defs.h index 59b179d..90a748a 100644 --- a/src/defs.h +++ b/src/defs.h @@ -375,7 +375,10 @@ enum { SP_ARROW_FRIEND_SOUTHWEST, SP_ARROW_FRIEND_WEST, SP_ARROW_FRIEND_NORTHWEST, - SP_TARGET, + SP_INDICATOR_TARGET, + SP_INDICATOR_SID, + SP_INDICATOR_PHOEBE, + SP_INDICATOR_URSULA, SP_MAX }; diff --git a/src/game.cpp b/src/game.cpp index af52f59..3410f36 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1641,8 +1641,14 @@ static void game_doArrow(int i) arrowY = MAX(0, MIN(arrowY, screen->h - gfx_sprites[arrow]->h)); screen_blit(gfx_sprites[arrow], arrowX, arrowY); - if (i == engine.targetIndex) - indicator = SP_TARGET; + if (i == ALIEN_SID) + indicator = SP_INDICATOR_SID; + else if (i == ALIEN_PHOEBE) + indicator = SP_INDICATOR_PHOEBE; + else if (i == ALIEN_URSULA) + indicator = SP_INDICATOR_URSULA; + else if (i == engine.targetIndex) + indicator = SP_INDICATOR_TARGET; if (indicator != -1) { diff --git a/src/resources.cpp b/src/resources.cpp index 21fcd7b..9cc7cdf 100644 --- a/src/resources.cpp +++ b/src/resources.cpp @@ -227,7 +227,10 @@ void loadGameGraphics() gfx_sprites[SP_ARROW_FRIEND_SOUTHWEST] = gfx_loadImage("gfx/friendArrowSouthWest.png"); gfx_sprites[SP_ARROW_FRIEND_WEST] = gfx_loadImage("gfx/friendArrowWest.png"); gfx_sprites[SP_ARROW_FRIEND_NORTHWEST] = gfx_loadImage("gfx/friendArrowNorthWest.png"); - gfx_sprites[SP_TARGET] = gfx_loadImage("gfx/targetText.png"); + gfx_sprites[SP_INDICATOR_TARGET] = gfx_loadImage("gfx/targetText.png"); + 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_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");