diff options
| author | totycro <totycro@unknown-horizons.org> | 2011-04-04 22:02:31 +0200 |
|---|---|---|
| committer | totycro <totycro@unknown-horizons.org> | 2011-04-04 22:02:31 +0200 |
| commit | eef1d8ea60e3797ba261ebfe61a7d1e165069ed4 (patch) | |
| tree | c10e397f58af5dafd0d450bb104fb3122bb611e2 /pacman-c++/mainwidget.h | |
| parent | 47ae4a32e6e81dabbd2784a4b3c9c4ad68076a50 (diff) | |
| download | foop-eef1d8ea60e3797ba261ebfe61a7d1e165069ed4.tar.gz foop-eef1d8ea60e3797ba261ebfe61a7d1e165069ed4.tar.bz2 foop-eef1d8ea60e3797ba261ebfe61a7d1e165069ed4.zip | |
Use only 1 color format for everything
Simple map parsing for Blocks and Bonus points
Diffstat (limited to 'pacman-c++/mainwidget.h')
| -rw-r--r-- | pacman-c++/mainwidget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pacman-c++/mainwidget.h b/pacman-c++/mainwidget.h index d1ec761..4cdb3b8 100644 --- a/pacman-c++/mainwidget.h +++ b/pacman-c++/mainwidget.h | |||
| @@ -3,6 +3,8 @@ | |||
| 3 | 3 | ||
| 4 | #include <QtGui> | 4 | #include <QtGui> |
| 5 | 5 | ||
| 6 | #include "constants.h" | ||
| 7 | |||
| 6 | class MainWidget | 8 | class MainWidget |
| 7 | : public QWidget | 9 | : public QWidget |
| 8 | { | 10 | { |
| @@ -14,6 +16,9 @@ public: | |||
| 14 | private: | 16 | private: |
| 15 | void loadDummyMap(); | 17 | void loadDummyMap(); |
| 16 | 18 | ||
| 19 | // data conversion | ||
| 20 | QPoint mapPositionToCoord(unsigned int x, unsigned int y); | ||
| 21 | |||
| 17 | QGraphicsScene *scene; | 22 | QGraphicsScene *scene; |
| 18 | }; | 23 | }; |
| 19 | 24 | ||
