train_gui.c
changeset 4933 0ae35137aeca
parent 4932 4bf213d0ed53
child 4937 8cfdd86fd709
equal deleted inserted replaced
4932:4bf213d0ed53 4933:0ae35137aeca
   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 	if (rvi->capacity > 0) y += ShowRefitOptionsList(x, y, w, engine_number);
   297 }
   297 }
   298 
   298 
   299 /**
   299 /**
   300  * 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.
   301  * @param x,y location where to draw the info
   301  * @param x,y location where to draw the info