Skip to content

Commit

Permalink
added
Browse files Browse the repository at this point in the history
  • Loading branch information
grass-svn2git authored and neteler committed Feb 23, 2019
1 parent 2fbae73 commit d8c58e9
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/D/prog_cmd/title/options.h
@@ -0,0 +1,38 @@
/* %W% %G% */

/* Command argument positions */
#define NAME 1
#define COLOR 2
#define SIZE 3
#define TYPE 4

#ifdef MAIN
struct variables
{
char *alias ;
int position ;
} variables[] = {
"name", NAME,
"n", NAME,
"color", COLOR,
"c", COLOR,
"size", SIZE,
"s", SIZE,
"type", TYPE,
"t", TYPE
} ;
static int n_variables = 8 ;

char map_name[64] ;
char color[32] ;
float size ;
int type ;
#else
extern char map_name[] ;
extern char color[] ;
extern float size ;
extern int type ;
#endif

#define NORMAL 1
#define FANCY 2

0 comments on commit d8c58e9

Please sign in to comment.