Made Network.h's Start() and Update pure virtual and removed cpp.
Removed unnecessary code from NetworkDefinitions.h. Renamed sizeOfPackage to sizeOfPacket in Packet.cpp.
This commit is contained in:
@@ -1,20 +1,8 @@
|
||||
#ifndef NetworkDefines_h__
|
||||
#define NetworkDefines_h__
|
||||
|
||||
#include <boost/asio/ip/udp.hpp>
|
||||
#include <queue>
|
||||
#include "Network/Packet.h"
|
||||
|
||||
|
||||
#define BOARDSIZE 16
|
||||
#define MAXCONNECTIONS 8
|
||||
#define INPUTSIZE 128
|
||||
#define PLAYERSPEED 0.2f;
|
||||
|
||||
typedef boost::shared_ptr<boost::asio::ip::udp::socket> socket_ptr;
|
||||
typedef boost::shared_ptr<std::string> string_ptr;
|
||||
typedef boost::shared_ptr<std::queue<string_ptr>> messageQueue_ptr;
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user