src/window.cpp
changeset 9898 75347c78b276
parent 9508 e5ab9738298a
child 10180 a99cf854c6d0
equal deleted inserted replaced
9897:4d9a6ff6703e 9898:75347c78b276
    21 #include "vehicle_base.h"
    21 #include "vehicle_base.h"
    22 #include "settings_type.h"
    22 #include "settings_type.h"
    23 #include "cheat_func.h"
    23 #include "cheat_func.h"
    24 #include "window_func.h"
    24 #include "window_func.h"
    25 #include "tilehighlight_func.h"
    25 #include "tilehighlight_func.h"
       
    26 #include "network/network.h"
    26 
    27 
    27 #include "table/sprites.h"
    28 #include "table/sprites.h"
    28 
    29 
    29 static Point _drag_delta; ///< delta between mouse cursor and upper left corner of dragged window
    30 static Point _drag_delta; ///< delta between mouse cursor and upper left corner of dragged window
    30 static Window *_mouseover_last_w = NULL; ///< Window of the last MOUSEOVER event
    31 static Window *_mouseover_last_w = NULL; ///< Window of the last MOUSEOVER event
  1982 	DrawDirtyBlocks();
  1983 	DrawDirtyBlocks();
  1983 
  1984 
  1984 	FOR_ALL_WINDOWS(wz) {
  1985 	FOR_ALL_WINDOWS(wz) {
  1985 		if ((*wz)->viewport != NULL) UpdateViewportPosition(*wz);
  1986 		if ((*wz)->viewport != NULL) UpdateViewportPosition(*wz);
  1986 	}
  1987 	}
  1987 	DrawChatMessage();
  1988 	NetworkDrawChatMessage();
  1988 	/* Redraw mouse cursor in case it was hidden */
  1989 	/* Redraw mouse cursor in case it was hidden */
  1989 	DrawMouseCursor();
  1990 	DrawMouseCursor();
  1990 }
  1991 }
  1991 
  1992 
  1992 /**
  1993 /**