QTfrontend/net/hwmap.h
changeset 10150 fa5c83fd0ad9
parent 10108 c68cf030eded
child 10161 c092f92aee23
equal deleted inserted replaced
10149:017ca6054845 10150:fa5c83fd0ad9
    39         Q_OBJECT
    39         Q_OBJECT
    40 
    40 
    41     public:
    41     public:
    42         HWMap(QObject *parent = 0);
    42         HWMap(QObject *parent = 0);
    43         virtual ~HWMap();
    43         virtual ~HWMap();
    44         void getImage(const QString & seed, int templateFilter, MapGenerator mapgen, int maze_size, const QByteArray & drawMapData);
    44         void getImage(const QString & seed, int templateFilter, MapGenerator mapgen, int maze_size, const QByteArray & drawMapData, QString & script);
    45         bool couldBeRemoved();
    45         bool couldBeRemoved();
    46 
    46 
    47     protected:
    47     protected:
    48         virtual QStringList getArguments();
    48         virtual QStringList getArguments();
    49         virtual void onClientDisconnect();
    49         virtual void onClientDisconnect();
    53         void ImageReceived(const QImage newImage);
    53         void ImageReceived(const QImage newImage);
    54         void HHLimitReceived(int hhLimit);
    54         void HHLimitReceived(int hhLimit);
    55 
    55 
    56     private:
    56     private:
    57         QString m_seed;
    57         QString m_seed;
       
    58         QString m_script;
    58         int templateFilter;
    59         int templateFilter;
    59         MapGenerator m_mapgen;
    60         MapGenerator m_mapgen;
    60         int m_maze_size;
    61         int m_maze_size;
    61         QByteArray m_drawMapData;
    62         QByteArray m_drawMapData;
    62 
    63