author | insilmaril |
Fri Nov 09 12:07:22 2007 +0000 (2007-11-09) | |
changeset 625 | 22955004d512 |
parent 422 | 07a2f3f31101 |
child 789 | d85834ad8c54 |
permissions | -rw-r--r-- |
insilmaril@0 | 1 |
#ifndef MISC_H |
insilmaril@0 | 2 |
#define MISC_H |
insilmaril@0 | 3 |
|
insilmaril@0 | 4 |
#include <qpoint.h> |
insilmaril@163 | 5 |
#include <qdir.h> |
insilmaril@0 | 6 |
#include <iostream> |
insilmaril@0 | 7 |
|
insilmaril@0 | 8 |
using namespace std; |
insilmaril@0 | 9 |
|
insilmaril@0 | 10 |
|
insilmaril@0 | 11 |
///////////////////////////////////////////////////////////////////////////// |
insilmaril@129 | 12 |
QString qpointToString (const QPoint &p); |
insilmaril@408 | 13 |
QString qpointfToString (const QPointF &p); |
insilmaril@0 | 14 |
extern ostream &operator<< (ostream &stream, QPoint const &p); |
insilmaril@408 | 15 |
extern ostream &operator<< (ostream &stream, QPointF const &p); |
insilmaril@408 | 16 |
qreal getAngle(const QPointF &); |
insilmaril@408 | 17 |
QPointF normalise (const QPointF &); |
insilmaril@408 | 18 |
qreal max (qreal,qreal); |
insilmaril@0 | 19 |
class BranchObj; |
insilmaril@0 | 20 |
class MapEditor; |
insilmaril@0 | 21 |
|
insilmaril@0 | 22 |
#endif |