Merge branch 'template_train_replacement-sx' into jgrpp
# Conflicts: # src/window.cpp
This commit is contained in:
@@ -65,7 +65,8 @@ static inline uint GetVehicleHeight(VehicleType type)
|
||||
return (type == VEH_TRAIN || type == VEH_ROAD) ? 14 : 24;
|
||||
}
|
||||
|
||||
int GetVehicleWidth(Vehicle *v, EngineImageType image_type);
|
||||
int GetSingleVehicleWidth(const Vehicle *v, EngineImageType image_type);
|
||||
int GetVehicleWidth(const Vehicle *v, EngineImageType image_type);
|
||||
|
||||
/** Dimensions of a cell in the purchase/depot windows. */
|
||||
struct VehicleCellSize {
|
||||
@@ -101,6 +102,7 @@ void StartStopVehicle(const Vehicle *v, bool texteffect);
|
||||
Vehicle *CheckClickOnVehicle(const struct ViewPort *vp, int x, int y);
|
||||
|
||||
void DrawVehicleImage(const Vehicle *v, int left, int right, int y, VehicleID selection, EngineImageType image_type, int skip);
|
||||
void SetMouseCursorVehicle(const Vehicle *v, EngineImageType image_type);
|
||||
|
||||
/**
|
||||
* Tell if the focused window concerns the specified vehicle.
|
||||
|
Reference in New Issue
Block a user