diff options
author | rubidium <rubidium@openttd.org> | 2010-11-18 14:15:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-11-18 14:15:27 +0000 |
commit | 9af570eab4335b6945bae122f93447d14b16154b (patch) | |
tree | 534eac5eb5a5e02b4bcaf37e9ba75da6a35dfb13 /src/vehicle_base.h | |
parent | 34c658b2030305d8cb27f80fd8a862c1b5c961ed (diff) | |
download | openttd-9af570eab4335b6945bae122f93447d14b16154b.tar.xz |
(svn r21237) -Codechange: Move HandleLocomotiveSmokeCloud to Vehicle::ShowVisualEffect (Hirundo)
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index 7db794c1e..070413ab9 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -618,6 +618,12 @@ public: */ void UpdateVisualEffect(bool allow_power_change = true); + /* + * Draw visual effects (smoke and/or sparks) for a vehicle chain. + * @pre this->IsPrimaryVehicle() + */ + void ShowVisualEffect() const; + /** * Increments cur_order_index, keeps care of the wrap-around and invalidates the GUI. * Note: current_order is not invalidated. |