Minesweeper2
V1.1.1
Game in C++ by Górka Mateusz
Const.hpp
Go to the documentation of this file.
1
#pragma once
2
7
#define DEFAULT_Y_SIZE 10
9
#define DEFAULT_X_SIZE 20
10
#define DEFAULT_MINE 30
11
#define HINT_TIME 5
12
13
#define MIN_SIZE 5
15
#define MIN_MINES 1
16
#define MIN_AREA 9
17
18
#define FIELD_SIZE 22
20
#define GUI_MARGIN_T 40
21
22
#define MODE_BUTT_W 36
24
#define MODE_BUTT_Y 2
25
26
#define STOPWATCH_X_BG 0
28
#define STOPWATCH_Y_BG 0
29
#define STOPWATCH_X 32
30
#define STOPWATCH_Y 6
31
#define STOPWATCH_FONT 25
32
33
#define COUNTER_X_BG 40
35
#define COUNTER_Y_BG 0
36
#define COUNTER_X 70
37
#define COUNTER_Y 0
38
#define COUNTER_FONT 35
39
40
#define START_X -59
42
#define START_Y 0
43
44
#define SLEEP_LOOP 80
46
#define SLEEP_CLICK 200
47
#define SLEEP_ENDGAME 800
48
#define MAX_ATTEMPTS 10000
49
50
#define NUM_FIELD_VIEW 12
52
53
#define SMALL_WIDTH 15
55
#define SMALL_HEIGHT 10
56
#define SMALL_MINES 40
57
58
#define BIG_WIDTH 20
59
#define BIG_HEIGHT 15
60
#define BIG_MINES 65
61
62
#define HUGE_WIDTH 30
63
#define HUGE_HEIGHT 20
64
#define HUGE_MINES 115
65
66
#define GUI_MENU_W 260
68
#define GUI_MENU_H 320
69
70
#define MENU_X_SMALL 8
71
#define MENU_X_BIG 94
72
#define MENU_X_HUGE 179
73
#define MENU_Y_SIZES 43
74
#define MENU_W_SIZES 72
75
#define MENU_H_SIZES 32
76
77
#define MENU_X_MINUS 90
78
#define MENU_X_2MINUS 114
79
#define MENU_X_PLUS 210
80
#define MENU_X_2PLUS 186
81
#define MENU_X_PLUS_B 232
82
#define MENU_X_2PLUS_B 208
83
#define MENU_W_PM 20
84
#define MENU_H_PM 32
85
86
#define MENU_SIZE_VAL 36
87
#define MENU_X_VALUES 139
88
#define MENU_Y_WIDTH 85
89
#define MENU_Y_HEIGHT 125
90
#define MENU_Y_MINES 167
91
92
#define MENU_XY_HINT 153, 234
93
#define MENU_WH_HINT 99, 28
94
#define MENU_XY_HINTTXT 215, 236
95
#define MENU_SIZE_HINTTXT 18
96
97
#define MENU_XY_START 64, 273
98
#define MENU_WH_START 132, 40 ///< GUI Menu width, height of start button
inc
Const.hpp
Generated on
Mon Dec 7 2020 22:30:16
for Minesweeper2 by
Doxygen
1.8.17.