From 5553ee37060c57856ff483c319344f2ea124382b Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Mon, 4 Jul 2011 08:57:56 +0200 Subject: [PATCH] adjustments --- star.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/star.c b/star.c index 4694958..cbb530d 100644 --- a/star.c +++ b/star.c @@ -8,6 +8,10 @@ #include #include +/* levels have fixed, hardcoded dimensions */ +#define LEVEL_HEIGHT 9 +#define LEVEL_WIDTH 16 + char *levels[] = { "################" /* 0 */ "#@## x#H#" "# x ###" @@ -258,10 +262,6 @@ char *levels[] = { "################" /* 0 */ "################" " " }; -/* levels have fixed, hardcoded dimensions */ -#define LEVEL_HEIGHT 9 -#define LEVEL_WIDTH 16 - enum { /* color names for ncurses */ color_BALL, color_CUBE, @@ -502,7 +502,7 @@ int parse_args( int argc, char* argv[], struct options *o, struct state *s ) {0, 0, 0, 0} }; - char* help_text = "ngstar [options]\n" + char* help_text = "star [options]\n" "\t-h --help :\n\t\t what you are reading\n" "\t-b --black-and-white :\n\t\t don't use colors (ncurses)\n" "\t-l --level= :\n\t\t wrap to level n\n";