mirror of
https://github.com/gwenhael-le-moine/c-urs_-toil-s.git
synced 2024-12-27 09:58:44 +01:00
adjustments
This commit is contained in:
parent
a3cdd30291
commit
5553ee3706
1 changed files with 5 additions and 5 deletions
10
star.c
10
star.c
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue