aboutsummaryrefslogtreecommitdiff
path: root/7w.h
blob: b7be4dde8e1d099b4b8b4d63ed9338be19277f88 (plain)
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
57
58
59
#define CARDSPERERA 30

#define NUMRESOURCES 8
#define WOOD  0
#define STONE 1
#define CLAY  2
#define ORE   3
#define CLOTH 4
#define GLASS 5
#define PAPER 6
#define GOLD  7

#define NUMPRODUCTS 13 //includes resources
#define COMPASS 8
#define GEAR  9
#define TABLET 10
#define SHIELD 11
#define VP    12

#define RESOURCE 0
#define INDUSTRY 1
#define STRUCTURE 2
#define COMMERCIAL 4
#define MILITARY 5
#define SCIENTIFIC 6
#define GUILD 7

#define LEFT   0
#define RIGHT  1
#define UP     2
#define DOWN   3
#define ENTER  4

#define COLORWOOD 32
#define COLORSTONE 0
#define COLORCLAY 31
#define COLORORE 0
#define COLORCLOTH 35
#define COLORGLASS 36
#define COLORPAPER 33
#define COLORGOLD 33
#define COLORCOMPASS 0
#define COLORGEAR 0
#define COLORTABLET 31
#define COLORSHIELD 31
#define COLORVP 34

#define COLORRESOURCE 36
#define COLORINDUSTRY 0
#define COLORSTRUCTURE 34
#define COLORCOMMERCIAL 33
#define COLORMILITARY 31
#define COLORSCIENTIFIC 32
#define COLORGUILD 35

#define INDEF 8

#define RED 31
#define ESC '\1'
bgstack15