WorldMap::draw_status(DrawingContext& context)
{
char str[80];
- sprintf(str, "%d", player_status.score);
+ sprintf(str, " %d", player_status.score);
context.draw_text(white_text, _("SCORE"), Vector(0, 0), LAYER_FOREGROUND1);
context.draw_text(gold_text, str, Vector(96, 0), LAYER_FOREGROUND1);
context.draw_text(gold_text, str, Vector(screen->w/2 + (16*5)/2, 0),
LAYER_FOREGROUND1);
- context.draw_text(white_text, _("LIVES"),
- Vector(screen->w - white_text->get_text_width(_("LIVES"))*2, 0),
- LAYER_FOREGROUND1);
if (player_status.lives >= 5)
{
sprintf(str, "%dx", player_status.lives);
Vector(screen->w - tux_life->w*4 + (tux_life->w*i), 0),
LAYER_FOREGROUND1);
}
+ context.draw_text(white_text, _("LIVES"),
+ Vector(screen->w - white_text->get_text_width(_("LIVES")) - white_text->get_text_width(" 99"), 0),
+ LAYER_FOREGROUND1);
if (!tux->is_moving())
{
context.draw_text(white_text, i->title,
Vector(screen->w/2 - white_text->get_text_width(i->title)/2,
- screen->h - white_text->get_height() - 50),
+ screen->h - white_text->get_height() - 30),
LAYER_FOREGROUND1);
break;
}