train_gui.c
changeset 4932 3567a3ec9d80
parent 4931 6e09e884257d
child 4933 106e2a14ab3c
equal deleted inserted replaced
4931:6e09e884257d 4932:3567a3ec9d80
   291 	DrawString(x,y, STR_PURCHASE_INFO_RELIABILITY, 0);
   291 	DrawString(x,y, STR_PURCHASE_INFO_RELIABILITY, 0);
   292 	y += 10;
   292 	y += 10;
   293 
   293 
   294 	/* Additional text from NewGRF */
   294 	/* Additional text from NewGRF */
   295 	y += ShowAdditionalText(x, y, w, engine_number);
   295 	y += ShowAdditionalText(x, y, w, engine_number);
       
   296 	y += ShowRefitOptionsList(x, y, w, engine_number);
   296 }
   297 }
   297 
   298 
   298 /**
   299 /**
   299  * Draw the purchase info details of a train wagon at a given location.
   300  * Draw the purchase info details of a train wagon at a given location.
   300  * @param x,y location where to draw the info
   301  * @param x,y location where to draw the info
   335 		y += 10;
   336 		y += 10;
   336 	}
   337 	}
   337 
   338 
   338 	/* Additional text from NewGRF */
   339 	/* Additional text from NewGRF */
   339 	y += ShowAdditionalText(x, y, w, engine_number);
   340 	y += ShowAdditionalText(x, y, w, engine_number);
       
   341 	y += ShowRefitOptionsList(x, y, w, engine_number);
   340 }
   342 }
   341 
   343 
   342 void CcBuildWagon(bool success, TileIndex tile, uint32 p1, uint32 p2)
   344 void CcBuildWagon(bool success, TileIndex tile, uint32 p1, uint32 p2)
   343 {
   345 {
   344 	Vehicle *v, *found;
   346 	Vehicle *v, *found;