comparison src/misc_gui.cpp @ 8121:89722abcfd91 draft

(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
author rubidium <rubidium@openttd.org>
date Sat, 22 Dec 2007 23:30:28 +0000
parents b6ec923e9fa8
children c26c28875749
comparison
equal deleted inserted replaced
8120:b4a2c7b7ea3b 8121:89722abcfd91
19 #include "gui.h" 19 #include "gui.h"
20 #include "window_gui.h" 20 #include "window_gui.h"
21 #include "station_gui.h" 21 #include "station_gui.h"
22 #include "textbuf_gui.h" 22 #include "textbuf_gui.h"
23 #include "viewport.h" 23 #include "viewport.h"
24 #include "gfx.h"
25 #include "station.h" 24 #include "station.h"
26 #include "command_func.h" 25 #include "command_func.h"
27 #include "player.h" 26 #include "player.h"
28 #include "town.h" 27 #include "town.h"
29 #include "sound.h" 28 #include "sound.h"
726 * @param params (optional) up to 5 pieces of additional information that may be 725 * @param params (optional) up to 5 pieces of additional information that may be
727 * added to a tooltip; currently only supports parameters of {NUM} (integer) */ 726 * added to a tooltip; currently only supports parameters of {NUM} (integer) */
728 void GuiShowTooltipsWithArgs(StringID str, uint paramcount, const uint64 params[]) 727 void GuiShowTooltipsWithArgs(StringID str, uint paramcount, const uint64 params[])
729 { 728 {
730 char buffer[512]; 729 char buffer[512];
731 BoundingRect br; 730 Dimension br;
732 Window *w; 731 Window *w;
733 uint i; 732 uint i;
734 int x, y; 733 int x, y;
735 734
736 DeleteWindowById(WC_TOOLTIPS, 0); 735 DeleteWindowById(WC_TOOLTIPS, 0);