Skip to content

Commit

Permalink
Improve smithereens message placement
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen M. Cameron <stephenmcameron@gmail.com>
  • Loading branch information
smcameron committed May 13, 2018
1 parent dbb76df commit 100c154
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions snis_client.c
Expand Up @@ -10236,22 +10236,22 @@ static void show_death_screen(GtkWidget *w)

if (o && o->tsd.ship.oxygen < 10) {
sprintf(buf, "YOUR CREW HAS DIED");
sng_abs_xy_draw_string(buf, BIG_FONT, 20, 150);
sng_abs_xy_draw_string(buf, BIG_FONT, txx(20), txy(150));
sprintf(buf, "BY ASPHYXIATION");
sng_abs_xy_draw_string(buf, BIG_FONT, 20, 250);
sng_abs_xy_draw_string(buf, BIG_FONT, txx(20), txy(250));
sprintf(buf, "RESPAWNING IN %d SECONDS", go[my_ship_oid].respawn_time);
sng_abs_xy_draw_string(buf, TINY_FONT, 20, 500);
sng_abs_xy_draw_string(buf, TINY_FONT, txx(20), txy(500));
} else {
sprintf(buf, "YOUR SHIP");
sng_abs_xy_draw_string(buf, BIG_FONT, 20, 150);
sng_abs_xy_draw_string(buf, BIG_FONT, txx(20), txy(150));
sprintf(buf, "HAS BEEN");
sng_abs_xy_draw_string(buf, BIG_FONT, 20, 250);
sng_abs_xy_draw_string(buf, BIG_FONT, txx(20), txy(250));
sprintf(buf, "BLOWN TO");
sng_abs_xy_draw_string(buf, BIG_FONT, 20, 350);
sng_abs_xy_draw_string(buf, BIG_FONT, txx(20), txy(350));
sprintf(buf, "SMITHEREENS");
sng_abs_xy_draw_string(buf, BIG_FONT, 20, 450);
sng_abs_xy_draw_string(buf, BIG_FONT, txx(20), txy(450));
sprintf(buf, "RESPAWNING IN %d SECONDS", go[my_ship_oid].respawn_time);
sng_abs_xy_draw_string(buf, TINY_FONT, 20, 500);
sng_abs_xy_draw_string(buf, TINY_FONT, txx(20), txy(500));
}
}

Expand Down

0 comments on commit 100c154

Please sign in to comment.