summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-06-15 16:58:15 +0000
committercelestar <celestar@openttd.org>2005-06-15 16:58:15 +0000
commitc7de8340593e074502ab503224765cbba502ec1a (patch)
tree2eb137bb1707e901e92c6b76b07fab582068ccbc /misc_gui.c
parent15b0c3b4696e6a78d003861c92f1c20fd3866842 (diff)
downloadopenttd-c7de8340593e074502ab503224765cbba502ec1a.tar.xz
(svn r2441) -Feature: You can now give transfer order to set up feeder systems
Diffstat (limited to 'misc_gui.c')
-rw-r--r--misc_gui.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/misc_gui.c b/misc_gui.c
index 61ffc8377..c991d958a 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -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},