src/depot_gui.cpp
changeset 8131 160939e24ed3
parent 8121 3bc6351e7369
child 8144 65cec0877b78
equal deleted inserted replaced
8130:d2eb7d04f6e1 8131:160939e24ed3
     2 
     2 
     3 /** @file depot_gui.cpp */
     3 /** @file depot_gui.cpp */
     4 
     4 
     5 #include "stdafx.h"
     5 #include "stdafx.h"
     6 #include "openttd.h"
     6 #include "openttd.h"
     7 #include "functions.h"
       
     8 #include "train.h"
     7 #include "train.h"
     9 #include "roadveh.h"
     8 #include "roadveh.h"
    10 #include "ship.h"
     9 #include "ship.h"
    11 #include "aircraft.h"
    10 #include "aircraft.h"
    12 #include "table/strings.h"
    11 #include "table/strings.h"
    20 #include "vehicle_gui.h"
    19 #include "vehicle_gui.h"
    21 #include "station_map.h"
    20 #include "station_map.h"
    22 #include "newgrf_engine.h"
    21 #include "newgrf_engine.h"
    23 #include "spritecache.h"
    22 #include "spritecache.h"
    24 #include "strings_func.h"
    23 #include "strings_func.h"
       
    24 #include "window_func.h"
    25 
    25 
    26 /*
    26 /*
    27  * Since all depot window sizes aren't the same, we need to modify sizes a little.
    27  * Since all depot window sizes aren't the same, we need to modify sizes a little.
    28  * It's done with the following arrays of widget indexes. Each of them tells if a widget side should be moved and in what direction.
    28  * It's done with the following arrays of widget indexes. Each of them tells if a widget side should be moved and in what direction.
    29  * How long they should be moved and for what window types are controlled in ShowDepotWindow()
    29  * How long they should be moved and for what window types are controlled in ShowDepotWindow()