(svn r21237) -Codechange: Move HandleLocomotiveSmokeCloud to Vehicle::ShowVisualEffect (Hirundo)

This commit is contained in:
rubidium
2010-11-18 14:15:27 +00:00
parent 34c658b203
commit 9af570eab4
3 changed files with 139 additions and 132 deletions

View File

@@ -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.