src/depot_gui.cpp
changeset 8264 b1e85998c7d3
parent 8254 1496654ca5e7
child 8479 05ee5ae44a55
equal deleted inserted replaced
8263:2b3e64c5e680 8264:b1e85998c7d3
     6 #include "openttd.h"
     6 #include "openttd.h"
     7 #include "train.h"
     7 #include "train.h"
     8 #include "roadveh.h"
     8 #include "roadveh.h"
     9 #include "ship.h"
     9 #include "ship.h"
    10 #include "aircraft.h"
    10 #include "aircraft.h"
    11 #include "table/strings.h"
       
    12 #include "table/sprites.h"
       
    13 #include "gui.h"
    11 #include "gui.h"
    14 #include "textbuf_gui.h"
    12 #include "textbuf_gui.h"
    15 #include "viewport_func.h"
    13 #include "viewport_func.h"
    16 #include "gfx_func.h"
    14 #include "gfx_func.h"
    17 #include "command_func.h"
    15 #include "command_func.h"
    22 #include "spritecache.h"
    20 #include "spritecache.h"
    23 #include "strings_func.h"
    21 #include "strings_func.h"
    24 #include "window_func.h"
    22 #include "window_func.h"
    25 #include "vehicle_func.h"
    23 #include "vehicle_func.h"
    26 #include "player_func.h"
    24 #include "player_func.h"
       
    25 
       
    26 #include "table/strings.h"
       
    27 #include "table/sprites.h"
    27 
    28 
    28 /*
    29 /*
    29  * Since all depot window sizes aren't the same, we need to modify sizes a little.
    30  * Since all depot window sizes aren't the same, we need to modify sizes a little.
    30  * 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.
    31  * 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.
    31  * How long they should be moved and for what window types are controlled in ShowDepotWindow()
    32  * How long they should be moved and for what window types are controlled in ShowDepotWindow()