--- a/QTfrontend/mapContainer.h Sun Mar 28 00:46:34 2010 +0000
+++ b/QTfrontend/mapContainer.h Sun Mar 28 02:49:39 2010 +0000
@@ -45,6 +45,8 @@
QString getCurrentTheme() const;
int getCurrentHHLimit() const;
quint32 getTemplateFilter() const;
+ MapGenerator get_mapgen(void) const;
+ int get_maze_size(void) const;
bool getCurrentIsMission() const;
public slots:
@@ -53,13 +55,16 @@
void setMap(const QString & map);
void setTheme(const QString & theme);
void setTemplateFilter(int);
+ void setMapgen(MapGenerator m);
+ void setMaze_size(int size);
signals:
void seedChanged(const QString & seed);
void mapChanged(const QString & map);
void themeChanged(const QString & theme);
void newTemplateFilter(int filter);
-
+ void mapgenChanged(MapGenerator m);
+ void maze_sizeChanged(int s);
private slots:
void setImage(const QImage newImage);
@@ -87,6 +92,10 @@
QPixmap hhSmall;
QLabel* lblFilter;
QComboBox* CB_TemplateFilter;
+ QLabel *maze_size_label;
+ QComboBox *maze_size_selection;
+ MapGenerator mapgen;
+ int maze_size;
void loadMap(int index);
};