adjustments

This commit is contained in:
Gwenhael Le Moine 2011-07-04 08:57:56 +02:00
parent a3cdd30291
commit 5553ee3706

10
star.c
View file

@ -8,6 +8,10 @@
#include <ncurses.h>
#include <getopt.h>
/* 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<n> --level=<n> :\n\t\t wrap to level n\n";