std::vector<Vehicle *> vehicles;
BlockList blocks;
BlockList::iterator cur_blocks_end;
+ BlockList::iterator clear_blocks_end;
Block *pending_block;
bool reserving;
bool advancing;
void loco_speed_event(unsigned, unsigned, bool);
void loco_func_event(unsigned, unsigned, bool);
void sensor_event(unsigned, bool);
- void turnout_event(unsigned, bool);
+ void turnout_path_changed(Track &);
void halt_event(bool);
void block_reserved(const Block &, const Train *);
unsigned reserve_more();
+ void check_turnout_paths(bool);
float get_reserved_distance_until(const Block *, bool) const;
float get_real_speed(unsigned) const;
unsigned find_speed(float) const;