|
@@ -8,21 +8,22 @@
|
|
|
#include "debug.h"
|
|
|
#include "player_func.h"
|
|
|
#include "gfx_func.h"
|
|
|
#include "console.h"
|
|
|
#include "viewport_func.h"
|
|
|
#include "variables.h"
|
|
|
#include "table/sprites.h"
|
|
|
#include "genworld.h"
|
|
|
#include "blitter/factory.hpp"
|
|
|
#include "window_gui.h"
|
|
|
#include "zoom_func.h"
|
|
|
#include "core/alloc_func.hpp"
|
|
|
#include "map_func.h"
|
|
|
#include "vehicle_base.h"
|
|
|
|
|
|
#include "table/sprites.h"
|
|
|
|
|
|
/* delta between mouse cursor and upper left corner of dragged window */
|
|
|
static Point _drag_delta;
|
|
|
|
|
|
static Window _windows[MAX_NUMBER_OF_WINDOWS];
|
|
|
Window *_z_windows[lengthof(_windows)];
|
|
|
Window **_last_z_window; ///< always points to the next free space in the z-array
|