Mercurial > hg > openttd
comparison src/depot_gui.cpp @ 6125:46d001ebacf6 draft
(svn r8862) -Cleanup: doxygen changes, again. Mostly @files missing tags and a few comments style.
Some documentation addition, when i can easily supply them
author | belugas <belugas@openttd.org> |
---|---|
date | Fri, 23 Feb 2007 18:55:07 +0000 |
parents | 6845063aa422 |
children | e3e61b92574b |
comparison
equal
deleted
inserted
replaced
6124:b688d35abaf4 | 6125:46d001ebacf6 |
---|---|
1 /* $Id$ */ | 1 /* $Id$ */ |
2 | |
3 /** depot_gui.cpp */ | |
2 | 4 |
3 #include "stdafx.h" | 5 #include "stdafx.h" |
4 #include "openttd.h" | 6 #include "openttd.h" |
5 #include "functions.h" | 7 #include "functions.h" |
6 #include "train.h" | 8 #include "train.h" |
34 DEPOT_WIDGET_SELL, | 36 DEPOT_WIDGET_SELL, |
35 DEPOT_WIDGET_SELL_CHAIN, | 37 DEPOT_WIDGET_SELL_CHAIN, |
36 DEPOT_WIDGET_SELL_ALL, | 38 DEPOT_WIDGET_SELL_ALL, |
37 DEPOT_WIDGET_AUTOREPLACE, | 39 DEPOT_WIDGET_AUTOREPLACE, |
38 DEPOT_WIDGET_MATRIX, | 40 DEPOT_WIDGET_MATRIX, |
39 DEPOT_WIDGET_V_SCROLL, // Vertical scrollbar | 41 DEPOT_WIDGET_V_SCROLL, ///< Vertical scrollbar |
40 DEPOT_WIDGET_H_SCROLL, // Horizontal scrollbar | 42 DEPOT_WIDGET_H_SCROLL, ///< Horizontal scrollbar |
41 DEPOT_WIDGET_BUILD, | 43 DEPOT_WIDGET_BUILD, |
42 DEPOT_WIDGET_CLONE, | 44 DEPOT_WIDGET_CLONE, |
43 DEPOT_WIDGET_LOCATION, | 45 DEPOT_WIDGET_LOCATION, |
44 DEPOT_WIDGET_VEHICLE_LIST, | 46 DEPOT_WIDGET_VEHICLE_LIST, |
45 DEPOT_WIDGET_STOP_ALL, | 47 DEPOT_WIDGET_STOP_ALL, |
634 uint _block_sizes[4][2]; | 636 uint _block_sizes[4][2]; |
635 | 637 |
636 /* Array to hold the default resize capacities | 638 /* Array to hold the default resize capacities |
637 * First part is the vehicle type, while the last is 0 = x, 1 = y */ | 639 * First part is the vehicle type, while the last is 0 = x, 1 = y */ |
638 const uint _resize_cap[][2] = { | 640 const uint _resize_cap[][2] = { |
639 /* VEH_Train */ {6, 10 * 29 + 36}, // flags, unitnumber and unit count uses a total of 36 pixels and we set default to 10 units | 641 /* VEH_Train */ {6, 10 * 29 + 36}, ///< flags, unitnumber and unit count uses a total of 36 pixels and we set default to 10 units |
640 /* VEH_Road */ {5, 5}, | 642 /* VEH_Road */ {5, 5}, |
641 /* VEH_Ship */ {3, 3}, | 643 /* VEH_Ship */ {3, 3}, |
642 /* VEH_Aircraft */ {3, 4}, | 644 /* VEH_Aircraft */ {3, 4}, |
643 }; | 645 }; |
644 | 646 |