QTfrontend/hwmap.h
changeset 3133 1ab5f18f4df8
parent 2377 f3fab2b09e0c
child 4419 3d99c2c806ec
--- a/QTfrontend/hwmap.h	Sun Mar 28 00:46:34 2010 +0000
+++ b/QTfrontend/hwmap.h	Sun Mar 28 02:49:39 2010 +0000
@@ -27,6 +27,12 @@
 
 #include <string>
 
+enum MapGenerator
+{
+    MAPGEN_REGULAR,
+    MAPGEN_MAZE,
+};
+
 class HWMap : public TCPBase
 {
   Q_OBJECT
@@ -34,7 +40,7 @@
  public:
   HWMap();
   virtual ~HWMap();
-  void getImage(std::string seed, int templateFilter);
+  void getImage(std::string seed, int templateFilter, MapGenerator mapgen, int maze_size);
 
  protected:
   virtual QStringList setArguments();
@@ -48,6 +54,8 @@
  private:
   std::string m_seed;
   int templateFilter;
+  MapGenerator m_mapgen;
+  int m_maze_size;
 
  private slots:
 };