diff options
Diffstat (limited to 'misc_gui.c')
-rw-r--r-- | misc_gui.c | 8 |
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}, |