train_gui.c
changeset 4932 4bf213d0ed53
parent 4931 c25335d7e99c
child 4933 0ae35137aeca
equal deleted inserted replaced
4931:c25335d7e99c 4932:4bf213d0ed53
   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;