QTfrontend/game.cpp
changeset 686 494b5880989a
parent 682 a37b6966de84
child 706 9e973b057a52
equal deleted inserted replaced
685:6bf4d8dc6b06 686:494b5880989a
    14  * You should have received a copy of the GNU General Public License
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    17  */
    17  */
    18 
    18 
    19 #include <QMessageBox>
       
    20 #include <QProcess>
       
    21 #include <QTimer>
       
    22 #include <QString>
    19 #include <QString>
    23 #include <QByteArray>
    20 #include <QByteArray>
    24 #include <QFile>
       
    25 #include <QTextStream>
       
    26 #include <QApplication>
       
    27 
    21 
    28 #include "game.h"
    22 #include "game.h"
    29 #include "hwconsts.h"
    23 #include "hwconsts.h"
    30 #include "gameuiconfig.h"
    24 #include "gameuiconfig.h"
    31 #include "gamecfgwidget.h"
    25 #include "gamecfgwidget.h"
    44 	seed = "";
    38 	seed = "";
    45 }
    39 }
    46 
    40 
    47 HWGame::~HWGame()
    41 HWGame::~HWGame()
    48 {
    42 {
       
    43 	SetGameState(gsDestroyed);
    49 }
    44 }
    50 
    45 
    51 void HWGame::onClientDisconnect()
    46 void HWGame::onClientDisconnect()
    52 {
    47 {
    53 	switch (gameType) {
    48 	switch (gameType) {