-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h
36 lines (30 loc) · 893 Bytes
/
config.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
#include <collinion.h>
# define SCREEN_WIDTH 800
# define SCREEN_HEIGHT 600
/* higher it is, lower is the quality */
# define PIX_PER_SQUARE 3
/* Surrounding value (random map only) */
# define WALL (-1)
/* time waiting between each frames in milliseconds */
# define SLEEP_TIME 100
/* COLORS are defined using RGB (Red Green Blue) in hexadecimal
* some web sites can help
* https://www.rapidtables.com/web/color/RGB_Color.html */
#define BLACK (0x000000)
#define WHITE (0xFFFFFF)
#define BROWN (0xA52A2A)
#define GREEN (0x008000)
#define GRAY (0x808080)
#define RED (0xFF0000)
#define BLUE (0x0000FF)
#define YELLOW (0xFFFF00)
#define PURPLE (0x800080)
#define AQUA (0x00FFFF)
#define MAGENTA (0xFF00FF)
#define SILVER (0xC0C0C0)
#define LIME (0x00FF00)
#define MAROON (0x800000)
#define OLIVE (0x808000)
#define TEAL (0x008080)
#define NAVY (0x000080)
#define TOMATO (0xFF6347)