diff options
| author | totycro <totycro@unknown-horizons.org> | 2011-04-06 15:25:58 +0200 |
|---|---|---|
| committer | totycro <totycro@unknown-horizons.org> | 2011-04-06 15:25:58 +0200 |
| commit | 5035ea3e5616578fc406998e7850c55e5f4d13a6 (patch) | |
| tree | 9c0e3a80677bc36b9de2aaec1607f0e8d1e0273e /pacman-c++/mainwidget.h | |
| parent | cbc0da21f393dc7bf2a11beaf1314c9dcaeb0999 (diff) | |
| download | foop-5035ea3e5616578fc406998e7850c55e5f4d13a6.tar.gz foop-5035ea3e5616578fc406998e7850c55e5f4d13a6.tar.bz2 foop-5035ea3e5616578fc406998e7850c55e5f4d13a6.zip | |
merge
Diffstat (limited to 'pacman-c++/mainwidget.h')
| -rw-r--r-- | pacman-c++/mainwidget.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pacman-c++/mainwidget.h b/pacman-c++/mainwidget.h index 0056669..36e5624 100644 --- a/pacman-c++/mainwidget.h +++ b/pacman-c++/mainwidget.h | |||
| @@ -1,10 +1,12 @@ | |||
| 1 | #ifndef MAINWIDGET_H | 1 | #ifndef MAINWIDGET_H |
| 2 | #define MAINWIDGET_H | 2 | #define MAINWIDGET_H |
| 3 | 3 | ||
| 4 | #include "constants.h" | ||
| 5 | #include <QtGui> | 4 | #include <QtGui> |
| 6 | #include <QtCore> | 5 | #include <QtCore> |
| 7 | 6 | ||
| 7 | #include "constants.h" | ||
| 8 | #include "pixmapitem.h" | ||
| 9 | |||
| 8 | class Actor; | 10 | class Actor; |
| 9 | 11 | ||
| 10 | class MainWidget | 12 | class MainWidget |
| @@ -22,12 +24,12 @@ protected: | |||
| 22 | 24 | ||
| 23 | private: | 25 | private: |
| 24 | void createGui(); | 26 | void createGui(); |
| 25 | 27 | ||
| 26 | void updateMap(const Transmission::map_t& map); | 28 | void updateMap(const Transmission::map_t& map); |
| 27 | 29 | ||
| 28 | void updateScore(); | 30 | void updateScore(); |
| 29 | 31 | ||
| 30 | Transmission::map_t currentMap; | 32 | PixmapItem ** visualMap; |
| 31 | 33 | ||
| 32 | // data conversion | 34 | // data conversion |
| 33 | QPoint mapPositionToCoord(unsigned int x, unsigned int y); | 35 | QPoint mapPositionToCoord(unsigned int x, unsigned int y); |
