QTfrontend/hwmap.cpp
changeset 3133 1ab5f18f4df8
parent 2948 3f21a9dc93d0
child 4489 c4ca9ced258b
--- a/QTfrontend/hwmap.cpp	Sun Mar 28 00:46:34 2010 +0000
+++ b/QTfrontend/hwmap.cpp	Sun Mar 28 02:49:39 2010 +0000
@@ -27,10 +27,12 @@
 {
 }
 
-void HWMap::getImage(std::string seed, int filter)
+void HWMap::getImage(std::string seed, int filter, MapGenerator mapgen, int maze_size)
 {
     m_seed = seed;
     templateFilter = filter;
+    m_mapgen = mapgen;
+    m_maze_size = maze_size;
     Start();
 }
 
@@ -59,5 +61,7 @@
 {
     SendIPC(QString("eseed %1").arg(m_seed.c_str()).toLatin1());
     SendIPC(QString("e$template_filter %1").arg(templateFilter).toLatin1());
+    SendIPC(QString("e$mapgen %1").arg(m_mapgen).toLatin1());
+    SendIPC(QString("e$maze_size %1").arg(m_maze_size).toLatin1());
     SendIPC("!");
 }