(svn r19710) -Codechange: deduplicate GUI code for starting/stopping vehicles

This commit is contained in:
smatz
2010-04-24 14:29:30 +00:00
parent cb92cdf975
commit ce9d3a2d6a
3 changed files with 15 additions and 14 deletions

View File

@@ -108,6 +108,7 @@ static inline WindowClass GetWindowClassForVehicleType(VehicleType vt)
/* Unified window procedure */
void ShowVehicleViewWindow(const Vehicle *v);
void StartStopVehicle(const Vehicle *v);
Vehicle *CheckClickOnVehicle(const struct ViewPort *vp, int x, int y);