]> git.tdb.fi Git - r2c2.git/blobdiff - source/network/packets.h
Properly round negative z coordinates for Terrain
[r2c2.git] / source / network / packets.h
index 06701214e591f7897ab29547fd899e93c46a5ae9..1982eea5966525e07d4978b45e182daf0ab41af8 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2009-2011  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #ifndef R2C2_NET_PACKETS_H_
 #define R2C2_NET_PACKETS_H_
 
@@ -43,6 +36,13 @@ struct TrainFunctionPacket
        unsigned functions;
 };
 
+struct TrainAIControlPacket
+{
+       unsigned address;
+       float target_speed;
+       char reverse;
+};
+
 struct TrainStatusPacket
 {
        unsigned address;