misc_gui.c
changeset 1935 f43f062c9498
parent 1914 5ede46fd496f
child 1938 21bd6ef5f85e
--- a/misc_gui.c	Wed Jun 15 14:04:48 2005 +0000
+++ b/misc_gui.c	Wed Jun 15 16:58:15 2005 +0000
@@ -593,6 +593,14 @@
 	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},