summaryrefslogtreecommitdiffstats
path: root/pacman-c++/mainwidget.h
diff options
context:
space:
mode:
authortotycro <totycro@unknown-horizons.org>2011-04-06 15:25:58 +0200
committertotycro <totycro@unknown-horizons.org>2011-04-06 15:25:58 +0200
commit5035ea3e5616578fc406998e7850c55e5f4d13a6 (patch)
tree9c0e3a80677bc36b9de2aaec1607f0e8d1e0273e /pacman-c++/mainwidget.h
parentcbc0da21f393dc7bf2a11beaf1314c9dcaeb0999 (diff)
downloadfoop-5035ea3e5616578fc406998e7850c55e5f4d13a6.tar.gz
foop-5035ea3e5616578fc406998e7850c55e5f4d13a6.tar.bz2
foop-5035ea3e5616578fc406998e7850c55e5f4d13a6.zip
merge
Diffstat (limited to 'pacman-c++/mainwidget.h')
-rw-r--r--pacman-c++/mainwidget.h8
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
8class Actor; 10class Actor;
9 11
10class MainWidget 12class MainWidget
@@ -22,12 +24,12 @@ protected:
22 24
23private: 25private:
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);