The checkbox "fill up with computer players" is now working (protocol has been changed to implement this). Lobby dialog is now also used after joining the game. Leaving game not possible yet.
This commit is contained in:
@@ -477,12 +477,19 @@ protected:
|
||||
class NetPacketStartEvent : public NetPacket
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
bool fillUpWithCpuPlayers;
|
||||
};
|
||||
|
||||
NetPacketStartEvent();
|
||||
virtual ~NetPacketStartEvent();
|
||||
|
||||
virtual boost::shared_ptr<NetPacket> Clone() const;
|
||||
|
||||
void SetData(const Data &inData);
|
||||
void GetData(Data &outData) const;
|
||||
|
||||
virtual const NetPacketStartEvent *ToNetPacketStartEvent() const;
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user