X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnetwork%2Fpackets.h;h=1982eea5966525e07d4978b45e182daf0ab41af8;hb=3b37ee041af581e47646c2487e7e302c55bd8cd7;hp=06701214e591f7897ab29547fd899e93c46a5ae9;hpb=754ac497179474d0266b55e881a084fef7d5d6a1;p=r2c2.git diff --git a/source/network/packets.h b/source/network/packets.h index 0670121..1982eea 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-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;