src/depot_gui.cpp
changeset 8254 1496654ca5e7
parent 8237 6f925c9cf836
child 8264 b1e85998c7d3
equal deleted inserted replaced
8253:eec832095805 8254:1496654ca5e7
    21 #include "newgrf_engine.h"
    21 #include "newgrf_engine.h"
    22 #include "spritecache.h"
    22 #include "spritecache.h"
    23 #include "strings_func.h"
    23 #include "strings_func.h"
    24 #include "window_func.h"
    24 #include "window_func.h"
    25 #include "vehicle_func.h"
    25 #include "vehicle_func.h"
    26 #include "player.h"
    26 #include "player_func.h"
    27 
    27 
    28 /*
    28 /*
    29  * Since all depot window sizes aren't the same, we need to modify sizes a little.
    29  * 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.
    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  * How long they should be moved and for what window types are controlled in ShowDepotWindow()
    31  * How long they should be moved and for what window types are controlled in ShowDepotWindow()