Tentative Randomless-Entropy variant.
[tagua/yd.git] / src / common.h
blobe68ce42f01591527029b8a10bfc0c746116c6442
1 /*
2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@gmail.com>
3 (c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 */
11 #ifndef COMMON_H
12 #define COMMON_H
14 #include "export.h"
15 #include <math.h>
17 class QString;
19 enum ErrorCode {
20 InvalidMove
23 QString prettyTypeName(const char* name);
25 #ifndef M_PI
26 #define M_PI 3.1415926
27 #endif
29 #endif // COMMON_H