Mercurial > hg > openttd
comparison src/order_base.h @ 19093:38652cadf0fe draft
(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.
author | michi_cc <michi_cc@openttd.org> |
---|---|
date | Tue, 14 Feb 2012 17:04:06 +0000 |
parents | c625331ace43 |
children | 5ef3fbd3bdfa |
comparison
equal
deleted
inserted
replaced
19092:5bce64c067f7 | 19093:38652cadf0fe |
---|---|
47 public: | 47 public: |
48 Order *next; ///< Pointer to next order. If NULL, end of list | 48 Order *next; ///< Pointer to next order. If NULL, end of list |
49 | 49 |
50 uint16 wait_time; ///< How long in ticks to wait at the destination. | 50 uint16 wait_time; ///< How long in ticks to wait at the destination. |
51 uint16 travel_time; ///< How long in ticks the journey to this destination should take. | 51 uint16 travel_time; ///< How long in ticks the journey to this destination should take. |
52 | 52 uint16 max_speed; ///< How fast the vehicle may go on the way to the destination. |
53 Order() : refit_cargo(CT_NO_REFIT) {} | 53 |
54 Order() : refit_cargo(CT_NO_REFIT), max_speed(UINT16_MAX) {} | |
54 ~Order(); | 55 ~Order(); |
55 | 56 |
56 Order(uint32 packed); | 57 Order(uint32 packed); |
57 | 58 |
58 /** | 59 /** |