Changeset - r9993:b96307d4678a
[Not reviewed]
master
0 2 0
belugas - 16 years ago 2008-08-24 01:39:56
belugas@openttd.org
(svn r14150) -Add: Add the count of trains using the current waypoint in the vehicle list window's caption
2 files changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/lang/english.txt
Show inline comments
 
@@ -1269,6 +1269,7 @@ STR_WAYPOINT                            
 
STR_WAYPOINT_GRAPHICS_TIP                                       :{BLACK}Select waypoint type
 

	
 
STR_WAYPOINT_VIEWPORT                                           :{WHITE}{WAYPOINT}
 
STR_WAYPOINT_VIEWPORT_LIST                                      :{WHITE}{WAYPOINT} - {COMMA} Train{P "" s}
 
STR_WAYPOINT_VIEWPORT_TINY                                      :{TINYFONT}{WHITE}{WAYPOINT}
 
STR_WAYPOINT_RAW                                                :{WAYPOINT}
 
STR_EDIT_WAYPOINT_NAME                                          :{WHITE}Edit waypoint name
src/vehicle_gui.cpp
Show inline comments
 
@@ -801,7 +801,7 @@ struct VehicleListWindow : public Window
 
				break;
 

	
 
			case VLW_WAYPOINT_LIST:
 
				this->widget[VLW_WIDGET_CAPTION].data = STR_WAYPOINT_VIEWPORT;
 
				this->widget[VLW_WIDGET_CAPTION].data = STR_WAYPOINT_VIEWPORT_LIST;
 
				break;
 

	
 
			case VLW_STATION_LIST: /* Station Name */
 
@@ -903,6 +903,7 @@ struct VehicleListWindow : public Window
 

	
 
			case VLW_WAYPOINT_LIST:
 
				SetDParam(0, index);
 
				SetDParam(1, this->vscroll.count);
 
				break;
 

	
 
			case VLW_STATION_LIST: /* Station Name */
0 comments (0 inline, 0 general)