-
Notifications
You must be signed in to change notification settings - Fork 2
/
constants.h
114 lines (103 loc) · 2.1 KB
/
constants.h
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/*
* constants.h
* vordraw
*
* Created by Geoffrey Womeldorff on 3/30/09.
* Copyright 2009 FSU. All rights reserved.
*
*/
// DWJ 03/26/13 comment in constants file.
// DWJ 03/31/13 testing for pull request
#define kWindowWidth 400
#define kWindowHeight 400
#define KEY_ESCAPE 27
#define KEY_A 65
#define KEY_B 66
#define KEY_C 67
#define KEY_D 68
#define KEY_E 69
#define KEY_F 70
#define KEY_G 71
#define KEY_H 72
#define KEY_I 73
#define KEY_J 74
#define KEY_K 75
#define KEY_L 76
#define KEY_M 77
#define KEY_N 78
#define KEY_O 79
#define KEY_P 80
#define KEY_Q 81
#define KEY_R 82
#define KEY_S 83
#define KEY_T 84
#define KEY_U 85
#define KEY_V 86
#define KEY_W 87
#define KEY_X 88
#define KEY_Y 89
#define KEY_Z 90
#define KEY_a 97
#define KEY_b 98
#define KEY_c 99
#define KEY_d 100
#define KEY_e 101
#define KEY_f 102
#define KEY_g 103
#define KEY_h 104
#define KEY_i 105
#define KEY_j 106
#define KEY_k 107
#define KEY_l 108
#define KEY_m 109
#define KEY_n 110
#define KEY_o 111
#define KEY_p 112
#define KEY_q 113
#define KEY_r 114
#define KEY_s 115
#define KEY_t 116
#define KEY_u 117
#define KEY_v 118
#define KEY_w 119
#define KEY_x 120
#define KEY_y 121
#define KEY_z 122
#define KEY_0 48
#define KEY_1 49
#define KEY_2 50
#define KEY_3 51
#define KEY_4 52
#define KEY_5 53
#define KEY_6 54
#define KEY_7 55
#define KEY_8 56
#define KEY_9 57
#define KEY_COMMA 44
#define KEY_PERIOD 46
#define COLORS 16
#define PENTA_R 0.1
#define PENTA_G 0.1
#define PENTA_B 0.5
#define HEXA_R 0.0
#define HEXA_G 1.0
#define HEXA_B 0.0
#define HEPTA_R 0.9
#define HEPTA_G 0.0
#define HEPTA_B 0.1
#define OTHER_R 1.0
#define OTHER_G 0.32549019608
#define OTHER_B 0.2
#define LIL_R 0.25882352941
#define LIL_G 0.75294117647
#define LIL_B 0.98431372549
#define LINE_R 0.0
#define LINE_G 0.0
#define LINE_B 0.0
#define REGL_R 0.0
#define REGL_G 0.0
#define REGL_B 0.0
#define REG_R 1.0
#define REG_G 0.0
#define REG_B 0.0
#define PI_DP 3.141592653589793