Hud fighter numbers alignment tweak.
This commit is contained in:
parent
80f840c4f0
commit
817e47b5e4
|
@ -452,13 +452,13 @@ static void drawNumFighters(void)
|
||||||
{
|
{
|
||||||
/* Allies */
|
/* Allies */
|
||||||
setAtlasColor(150, 200, 255, 255);
|
setAtlasColor(150, 200, 255, 255);
|
||||||
blit(smallFighter, (app.winWidth / 2) - 200, 15, 0);
|
blit(smallFighter, (app.winWidth / 2) - 185, 15, 0);
|
||||||
drawText((app.winWidth / 2) - 160, 11, 14, TA_RIGHT, colors.white, battle.numAllies < 1000 ? "(%d)" : "(999+)", battle.numAllies);
|
drawText((app.winWidth / 2) - 160, 11, 14, TA_LEFT, colors.white, battle.numAllies < 1000 ? "(%d)" : "(999+)", battle.numAllies);
|
||||||
|
|
||||||
/* Enemies */
|
/* Enemies */
|
||||||
setAtlasColor(255, 100, 100, 255);
|
setAtlasColor(255, 100, 100, 255);
|
||||||
blit(smallFighter, (app.winWidth / 2) + 185, 15, 0);
|
blit(smallFighter, (app.winWidth / 2) + 170, 15, 0);
|
||||||
drawText((app.winWidth / 2) + 160, 11, 14, TA_LEFT, colors.white, !battle.unlimitedEnemies ? "(%d)" : "(999+)", battle.numEnemies);
|
drawText((app.winWidth / 2) + 160, 11, 14, TA_RIGHT, colors.white, !battle.unlimitedEnemies ? "(%d)" : "(999+)", battle.numEnemies);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void drawObjectives(void)
|
static void drawObjectives(void)
|
||||||
|
|
Loading…
Reference in New Issue