summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortotycro <totycro@unknown-horizons.org>2011-04-05 01:18:26 +0200
committertotycro <totycro@unknown-horizons.org>2011-04-05 01:18:26 +0200
commit3dba415cd9741874cdaf0781d7e725808c8a2b8d (patch)
tree350ce31ea04fb9ed716a8969f329738f97c9063a
parentb35be096423e89746d441cbf2333800f853c92fd (diff)
downloadfoop-3dba415cd9741874cdaf0781d7e725808c8a2b8d.tar.gz
foop-3dba415cd9741874cdaf0781d7e725808c8a2b8d.tar.bz2
foop-3dba415cd9741874cdaf0781d7e725808c8a2b8d.zip
Fixed a minor issue
-rw-r--r--pacman-c++/mainwidget.cpp6
-rw-r--r--pacman-c++/mainwidget.h1
-rw-r--r--pacman-c++/pacman.pro3
3 files changed, 4 insertions, 6 deletions
diff --git a/pacman-c++/mainwidget.cpp b/pacman-c++/mainwidget.cpp
index 8dd1875..cc85416 100644
--- a/pacman-c++/mainwidget.cpp
+++ b/pacman-c++/mainwidget.cpp
@@ -56,6 +56,7 @@ transmission::map_t createDummyMap() {
56 56
57 map[5][5] |= blue; 57 map[5][5] |= blue;
58 map[5][5] |= transmission::pacman; 58 map[5][5] |= transmission::pacman;
59 map[5][5] |= transmission::direction_left;
59 60
60 return map; 61 return map;
61} 62}
@@ -115,8 +116,3 @@ QPoint MainWidget::mapPositionToCoord(unsigned int x, unsigned int y)
115 return QPoint(x * field_size[0], y * field_size[1]); 116 return QPoint(x * field_size[0], y * field_size[1]);
116} 117}
117 118
118Actor* MainWidget::getActor(Color color)
119{
120
121}
122
diff --git a/pacman-c++/mainwidget.h b/pacman-c++/mainwidget.h
index 93af229..184c542 100644
--- a/pacman-c++/mainwidget.h
+++ b/pacman-c++/mainwidget.h
@@ -24,7 +24,6 @@ private:
24 24
25 QGraphicsScene *m_scene; 25 QGraphicsScene *m_scene;
26 26
27 Actor *getActor(Color);
28 typedef std::map<Color, Actor*> ActorMap; 27 typedef std::map<Color, Actor*> ActorMap;
29 ActorMap m_actors; 28 ActorMap m_actors;
30}; 29};
diff --git a/pacman-c++/pacman.pro b/pacman-c++/pacman.pro
index 954ff77..6c39033 100644
--- a/pacman-c++/pacman.pro
+++ b/pacman-c++/pacman.pro
@@ -17,3 +17,6 @@ RESOURCES += pacman.qrc
17 17
18OBJECTS_DIR = .obj 18OBJECTS_DIR = .obj
19MOC_DIR = .moc 19MOC_DIR = .moc
20
21CONFIG += debug
22