changeset 10959 | 1225f42f61e2 |
parent 10472 | 8d04cebedb16 |
child 11046 | 47a8c19ecb60 |
10957:f3fcba306da9 | 10959:1225f42f61e2 |
---|---|
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, int feature_size); |
45 void getImage(const QString & seed, int templateFilter, MapGenerator mapgen, int maze_size, const QByteArray & drawMapData, QString & script, QString & scriptparam, 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(); |
55 void HHLimitReceived(int hhLimit); |
55 void HHLimitReceived(int hhLimit); |
56 |
56 |
57 private: |
57 private: |
58 QString m_seed; |
58 QString m_seed; |
59 QString m_script; |
59 QString m_script; |
60 QString m_scriptparam; |
|
60 int templateFilter; |
61 int templateFilter; |
61 MapGenerator m_mapgen; |
62 MapGenerator m_mapgen; |
62 int m_maze_size; // going to try and deprecate this one |
63 int m_maze_size; // going to try and deprecate this one |
63 int m_feature_size; |
64 int m_feature_size; |
64 QByteArray m_drawMapData; |
65 QByteArray m_drawMapData; |