X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fnetwork%2Fpackets.h;h=1982eea5966525e07d4978b45e182daf0ab41af8;hb=HEAD;hp=0cd56dc8de828e66461a2871628f8b3eb24f0a92;hpb=fadc35133b1ebbd98af948c1fa529dcde6fddcfd;p=r2c2.git diff --git a/source/network/packets.h b/source/network/packets.h index 0cd56dc..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 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;