Subversion Repositories public iLand

Rev

Rev 87 | Rev 93 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 87 Rev 91
Line 2... Line 2...
2
#ifndef GLOBAL_H
2
#ifndef GLOBAL_H
3
#define GLOBAL_H
3
#define GLOBAL_H
4
4
5
#define MSGRETURN(x) { qDebug() << x; return; }
5
#define MSGRETURN(x) { qDebug() << x; return; }
6
#define WARNINGRETURN(x) { qWarning() << x; return; }
6
#define WARNINGRETURN(x) { qWarning() << x; return; }
-
 
7
#define ERRORRETURN(x) { qError() << x; return; }
7
// conversions rad/degree
8
// conversions rad/degree
8
#define RAD(x) (x*M_PI/180.)
9
#define RAD(x) (x*M_PI/180.)
9
#define GRAD(x) (x/M_PI*180.)
10
#define GRAD(x) (x/M_PI*180.)
10
#define PI2 2*M_PI
11
#define PI2 2*M_PI
11
12
12
13
-
 
14
#include "globalsettings.h"
13
// general datatypes
15
// general datatypes
14
//typedef int TreeSpecies;
16
//typedef int TreeSpecies;
15
#endif // GLOBAL_H
17
#endif // GLOBAL_H