equal
deleted
inserted
replaced
33 |
33 |
34 #ifndef GAME_H |
34 #ifndef GAME_H |
35 #define GAME_H |
35 #define GAME_H |
36 |
36 |
37 #include <QObject> |
37 #include <QObject> |
38 #include <QDialog> |
|
39 #include <QTcpServer> |
38 #include <QTcpServer> |
40 #include <QTcpSocket> |
39 #include <QTcpSocket> |
41 #include <QByteArray> |
40 #include <QByteArray> |
42 #include <QString> |
41 #include <QString> |
43 #include "team.h" |
42 #include "team.h" |
45 |
44 |
46 #define IPC_PORT 46631 |
45 #define IPC_PORT 46631 |
47 #define MAXMSGCHARS 255 |
46 #define MAXMSGCHARS 255 |
48 #define SENDIPC(a) SendIPC(a, sizeof(a) - 1) |
47 #define SENDIPC(a) SendIPC(a, sizeof(a) - 1) |
49 |
48 |
50 class HWGame : public QDialog |
49 class HWGame : public QObject |
51 { |
50 { |
52 Q_OBJECT |
51 Q_OBJECT |
53 public: |
52 public: |
54 HWGame(int Resolution, bool Fullscreen); |
53 HWGame(int Resolution, bool Fullscreen); |
55 void Start(); |
54 void Start(); |