Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2fbae73
commit d8c58e9
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |