]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/train.h
Refer to things in the driver with abstract ids instead of addresses
[r2c2.git] / source / libr2c2 / train.h
index 340537a89a401242fd08cabb2c004459892ec36e..16e67a43986776890b17734b54c9c15f91461478 100644 (file)
@@ -51,6 +51,7 @@ private:
        const VehicleType &loco_type;
        unsigned address;
        std::string protocol;
+       unsigned loco_id;
        std::string name;
        const Train *preceding_train;
        std::vector<Vehicle *> vehicles;