mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
reworked protocol; only server code for now
This commit is contained in:
parent
da6a1a0dbd
commit
a8c45fda1a
13 changed files with 669 additions and 534 deletions
|
|
@ -18,10 +18,12 @@
|
|||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QTextCodec>
|
||||
#include "server.h"
|
||||
#include "rng_qt.h"
|
||||
|
||||
AbstractRNG *rng;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
@ -31,6 +33,8 @@ int main(int argc, char *argv[])
|
|||
|
||||
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
|
||||
|
||||
rng = new RNG_Qt;
|
||||
|
||||
Server server;
|
||||
server.listen(QHostAddress::Any, 4747);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue