(svn r2441) -Feature: You can now give transfer order to set up feeder systems

This commit is contained in:
celestar
2005-06-15 16:58:15 +00:00
parent 85fae22fa8
commit 9b8cb17831
12 changed files with 124 additions and 51 deletions

View File

@@ -593,6 +593,14 @@ void ShowCostOrIncomeAnimation(int x, int y, int z, int32 cost)
AddTextEffect(msg, pt.x, pt.y, 0x250);
}
void ShowFeederIncomeAnimation(int x, int y, int z, int32 cost)
{
Point pt = RemapCoords(x,y,z);
SetDParam(0, cost);
AddTextEffect(STR_FEEDER, pt.x, pt.y, 0x250);
}
static Widget _tooltips_widgets[] = {
{ WWT_PANEL, RESIZE_NONE, 14, 0, 199, 0, 31, 0x0, STR_NULL},
{ WIDGETS_END},