Merge branch 'master' into jgrpp
# Conflicts: # .github/workflows/ci-build.yml # .github/workflows/codeql.yml # .github/workflows/release-linux.yml # .github/workflows/release-macos.yml # .github/workflows/release-windows.yml # src/map.cpp # src/music/midifile.hpp # src/order_cmd.cpp # src/order_gui.cpp # src/pathfinder/yapf/yapf_rail.cpp # src/pbs.cpp # src/saveload/afterload.cpp # src/saveload/saveload.h # src/saveload/vehicle_sl.cpp # src/script/api/script_text.cpp # src/ship_cmd.cpp # src/train_cmd.cpp # src/vehicle.cpp # src/vehicle_base.h # src/vehicle_func.h # src/vehicle_gui.cpp # src/vehicle_gui_base.h # src/viewport.cpp # src/waypoint_cmd.cpp
This commit is contained in:
@@ -367,6 +367,7 @@ public:
|
||||
/* Related to age and service time */
|
||||
CalTime::Year build_year; ///< Year the vehicle has been built.
|
||||
DateDelta age; ///< Age in days
|
||||
DateDelta economy_age; ///< Age in economy days.
|
||||
DateDelta max_age; ///< Maximum age
|
||||
EconTime::Date date_of_last_service; ///< Last date the vehicle had a service at a depot.
|
||||
CalTime::Date date_of_last_service_newgrf; ///< Last date the vehicle had a service at a depot, unchanged by the date cheat to protect against unsafe NewGRF behavior.
|
||||
@@ -996,6 +997,8 @@ public:
|
||||
|
||||
inline void ResetDepotUnbunching() { this->unbunch_state.reset(); }
|
||||
|
||||
bool HasFullLoadOrder() const;
|
||||
bool HasConditionalOrder() const;
|
||||
bool HasUnbunchingOrder() const;
|
||||
void LeaveUnbunchingDepot();
|
||||
bool IsWaitingForUnbunching() const;
|
||||
|
||||
Reference in New Issue
Block a user