-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpsmap.h
More file actions
56 lines (46 loc) · 1.28 KB
/
psmap.h
File metadata and controls
56 lines (46 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* Header file for conqps by MaF
* Feel free to modify
* Comments should be sent to [email protected]
*
*/
/* Page size hassle */
#ifdef OTHER
#define DEFAULTPAGE 0
#endif
#ifdef A4
#define DEFAULTPAGE 1
#endif
#ifdef LETTER
#define DEFAULTPAGE 2
#endif
/* Printer dependant entries */
#define PAGEWIDTH_A4 540
#define PAGEHEIGHT_A4 820
#define XOFFSET_A4 30
#define YOFFSET_A4 10
#define PAGEWIDTH_LETTER 575
#define PAGEHEIGHT_LETTER 760
#define XOFFSET_LETTER 15
#define YOFFSET_LETTER 10
#define PAGEWIDTH_OTHER 450
#define PAGEHEIGHT_OTHER 700
#define XOFFSET_OTHER 40
#define YOFFSET_OTHER 30
/* Cosmetics */
#define XMARGINS 30
#define YMARGINS 50
/* Version specific defines */
#define VERSION "1.0"
#define USAGE "Usage: %s [cghlnvu] [p pagesize] [f font] [o x,y] [s size]\n\t[W n] [L n] [X n] [Y n] [t title] [infile [outfile]]\n"
#define MATCHSTRING "Conquer Version"
/* Mathematical definitions */
#define TRUE 1
#define FALSE 0
/* Types of maps possible to be printed */
#define SIMPLE 0
#define ALTITUDES 1
#define DESIGNATIONS 2
#define NATIONS 3
#define VEGETATIONS 4
#define FORCED 5