X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnetwork%2Fpackets.h;h=f720dcc63029b933024270415a5f13d17cf0caf9;hb=9f0d428e974defa64cdf8e7b7072967327250958;hp=8001b8c1baa721beab957a34459e843d3c063219;hpb=1ff06c5bc46a677fa389ef86c6b26664368f1653;p=r2c2.git diff --git a/source/network/packets.h b/source/network/packets.h index 8001b8c..f720dcc 100644 --- a/source/network/packets.h +++ b/source/network/packets.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2009 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #ifndef R2C2_NET_PACKETS_H_ #define R2C2_NET_PACKETS_H_ @@ -12,6 +5,17 @@ Distributed under the GPL namespace R2C2 { +struct DriverStatePacket +{ + char power; + char halt; +}; + +struct EmergencyPacket +{ + std::string message; +}; + struct TrainInfoPacket { unsigned address;