Fixed bug: "hands before raise" is now taken from dialog. Removed config from game.cpp for networking.

This commit is contained in:
lotodore
2007-04-26 21:11:13 +00:00
parent e150159be0
commit e202a83fbc
9 changed files with 149 additions and 47 deletions
+1 -8
View File
@@ -21,8 +21,7 @@
#ifndef _NETPACKET_H_
#define _NETPACKET_H_
#include <string>
#include <boost/shared_ptr.hpp>
#include <playerdata.h>
#include <net/socket_helper.h>
#define MIN_PACKET_SIZE 4
@@ -30,12 +29,6 @@
#define MAX_NAME_SIZE 64
#define MAX_PASSWORD_SIZE 64
// TODO: move this somewhere else
enum PlayerType
{
PLAYER_TYPE_COMPUTER,
PLAYER_TYPE_HUMAN
};
enum JoinGameErrorReason
{