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