blob: 278f2b37c31e5edecf7c0484f3012554586975c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef CONSTANTS_H
#define CONSTANTS_H
const unsigned int map_size[2] = { 20, 20 };
const unsigned int field_size[2] = { 16, 16 };
// constants for data transmission to client
namespace transmission {
typedef unsigned int field_t;
const field_t red = (1 << 0);
const field_t blue = (1 << 1);
const field_t green = (1 << 2);
const field_t box = (1 << 3);
const field_t foo = (1 << 4);
typedef field_t** map_t;
}
#endif // CONSTANTS_H
|