From a5ea024b0119a4b0fea858ae9115d744a786d3af Mon Sep 17 00:00:00 2001 From: totycro Date: Mon, 4 Apr 2011 20:35:49 +0200 Subject: change project file: use: qmake -config client or qmake -config main Added basic client gui infrastructure --- pacman-c++/constants.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pacman-c++/constants.h (limited to 'pacman-c++/constants.h') diff --git a/pacman-c++/constants.h b/pacman-c++/constants.h new file mode 100644 index 0000000..278f2b3 --- /dev/null +++ b/pacman-c++/constants.h @@ -0,0 +1,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 \ No newline at end of file -- cgit v1.2.3