diff -r 219c2e588874 -r b2cc4e4e380c QTfrontend/game.cpp --- a/QTfrontend/game.cpp Wed Sep 05 20:09:32 2018 +0200 +++ b/QTfrontend/game.cpp Thu Oct 04 21:17:21 2018 +0200 @@ -346,6 +346,20 @@ RawSendIPC(buf); } +void HWGame::FromNetWarning(const QString & msg) +{ + QByteArray buf; + HWProto::addStringToBuffer(buf, "s\x00" + msg + "\x20\x20"); + RawSendIPC(buf); +} + +void HWGame::FromNetError(const QString & msg) +{ + QByteArray buf; + HWProto::addStringToBuffer(buf, "s\x05" + msg + "\x20\x20"); + RawSendIPC(buf); +} + void HWGame::onClientRead() { quint8 msglen;