From cdeea642425d3b944eb2c04b912ca922476e2f33 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 3 Jan 2019 05:49:28 -0800 Subject: [PATCH] Tweaked missile drawing. --- nuke.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nuke.c b/nuke.c index 7917ff7..18ff983 100644 --- a/nuke.c +++ b/nuke.c @@ -357,15 +357,15 @@ int main(int argc, char *argv[]) double k = (t-targeting_time-anticipation)/firing_time; int nuker = mix(rows, targetr, k), nukec = mix(cols/2, targetc, k); attron(COLOR_PAIR(WHITE) | A_BOLD); - mvaddch(nuker, nukec, "=-. "[(int)(k*4.)]); + mvaddch(nuker, nukec, "A^' "[(int)(k*4.)]); attroff(COLOR_PAIR(WHITE) | A_BOLD); // Draw nuke label attron(COLOR_PAIR(RED)); - mvaddch(nuker-1,nukec+1,'/'); + mvaddch(nuker-1,nukec-1,'\\'); attroff(COLOR_PAIR(RED)); attron(COLOR_PAIR(BLACK_ON_RED)); - mvprintw(nuker-2,nukec+2,"%0.3f", (targeting_time + anticipation + firing_time)-t); + mvprintw(nuker-2,nukec-2-5,"%0.3f", (targeting_time + anticipation + firing_time)-t); attroff(COLOR_PAIR(BLACK_ON_RED)); }