(svn r20644) -Codechange [FS#4086]: unify the vehicle breakdown code (Hirundo)

This commit is contained in:
rubidium
2010-08-28 14:01:50 +00:00
parent ea04251578
commit 28d1d32161
6 changed files with 63 additions and 124 deletions

View File

@@ -523,6 +523,12 @@ public:
this->service_interval = src->service_interval;
}
/**
* Handle all of the aspects of a vehicle breakdown.
* This includes adding smoke and sounds, and ending the breakdown when appropriate.
*/
void HandleBreakdown();
bool NeedsAutorenewing(const Company *c) const;
/**