Permalink
Browse files

Fixed some car issues.

  • Loading branch information...
aurelw committed Feb 16, 2017
1 parent d78001b commit 273e4cbe5e962a68cf6989ce1cf951fc355ad183
Showing with 12 additions and 0 deletions.
  1. +12 −0 gti.c
12 gti.c
@@ -194,6 +194,17 @@ void line_at(int start_x, const char *s)
void draw_car(int x)
{
move_to_top();
if (x == 23) {
line_at(x, " | |");
line_at(x, " ___ _ __ ___| |");
line_at(x, " / _ \\| '_ \\ / _ \\ |");
line_at(x, "| (_) | |_) | __/ |");
line_at(x, " \\___/| .__/ \\___|_|");
line_at(x, " | | ");
line_at(x, " |_| ");
return;
}

line_at(x, " ,---------------.");
line_at(x, " / /``````|``````\\\\");
line_at(x, " / /_______|_______\\\\________");
@@ -207,6 +218,7 @@ void draw_car(int x)
line_at(x, " ` X -------------- X '");
line_at(x, " ':-:' ':-:' ");
}

}

void clear_car(int x)

0 comments on commit 273e4cb

Please sign in to comment.