Changeset - r16816:df29df8433a3
[Not reviewed]
master
0 2 0
terkhen - 14 years ago 2010-12-21 13:50:31
terkhen@openttd.org
(svn r21560) -Codechange: Declare DrawVehicleImage in its header.
2 files changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/vehicle_gui.cpp
Show inline comments
 
@@ -994,7 +994,7 @@ static void DrawSmallOrderList(const Veh
 
 * @param selection Selected vehicle to draw a frame around
 
 * @param skip      Number of pixels to skip at the front (for scrolling)
 
 */
 
static void DrawVehicleImage(const Vehicle *v, int left, int right, int y, VehicleID selection, int skip)
 
void DrawVehicleImage(const Vehicle *v, int left, int right, int y, VehicleID selection, int skip)
 
{
 
	switch (v->type) {
 
		case VEH_TRAIN:    DrawTrainImage(Train::From(v), left, right, y, selection, skip); break;
src/vehicle_gui.h
Show inline comments
 
@@ -97,4 +97,6 @@ void StartStopVehicle(const Vehicle *v, 
 

	
 
Vehicle *CheckClickOnVehicle(const struct ViewPort *vp, int x, int y);
 

	
 
void DrawVehicleImage(const Vehicle *v, int left, int right, int y, VehicleID selection, int skip);
 

	
 
#endif /* VEHICLE_GUI_H */
0 comments (0 inline, 0 general)