equal
deleted
inserted
replaced
40 Q_OBJECT |
40 Q_OBJECT |
41 |
41 |
42 public: |
42 public: |
43 HWMap(QObject *parent = 0); |
43 HWMap(QObject *parent = 0); |
44 virtual ~HWMap(); |
44 virtual ~HWMap(); |
45 void getImage(const QString & seed, int templateFilter, MapGenerator mapgen, int maze_size, const QByteArray & drawMapData, QString & script); |
45 void getImage(const QString & seed, int templateFilter, MapGenerator mapgen, int maze_size, const QByteArray & drawMapData, QString & script, int feature_size); |
46 bool couldBeRemoved(); |
46 bool couldBeRemoved(); |
47 |
47 |
48 protected: |
48 protected: |
49 virtual QStringList getArguments(); |
49 virtual QStringList getArguments(); |
50 virtual void onClientDisconnect(); |
50 virtual void onClientDisconnect(); |
57 private: |
57 private: |
58 QString m_seed; |
58 QString m_seed; |
59 QString m_script; |
59 QString m_script; |
60 int templateFilter; |
60 int templateFilter; |
61 MapGenerator m_mapgen; |
61 MapGenerator m_mapgen; |
62 int m_maze_size; |
62 int m_maze_size; // going to try and deprecate this one |
|
63 int m_feature_size; |
63 QByteArray m_drawMapData; |
64 QByteArray m_drawMapData; |
64 |
65 |
65 private slots: |
66 private slots: |
66 }; |
67 }; |
67 |
68 |