]> git.tdb.fi Git - r2c2.git/blobdiff - source/network/packets.h
Strip Id tags and copyright notices from files
[r2c2.git] / source / network / packets.h
index 8001b8c1baa721beab957a34459e843d3c063219..f720dcc63029b933024270415a5f13d17cf0caf9 100644 (file)
@@ -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;