rubidium
|
df6446c07c
|
(svn r13183) -Codechange: make a window class of the VehicleViewWindow.
|
2008-05-19 09:39:05 +00:00 |
|
rubidium
|
3ee2556585
|
(svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
|
2008-05-18 16:51:44 +00:00 |
|
rubidium
|
ad6e52080c
|
(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so window_gui.h only needs to be included in *_gui.cpp.
|
2008-05-17 13:01:30 +00:00 |
|
rubidium
|
a89b5721a8
|
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
|
2008-05-17 12:48:06 +00:00 |
|
peter1138
|
e03193f9d7
|
(svn r13128) -Codechange: Make a class of the refit window
|
2008-05-16 23:23:38 +00:00 |
|
rubidium
|
a7c7067c4f
|
(svn r13120) -Codechange: make a class of the VehicleDetailsWindow.
|
2008-05-16 17:33:09 +00:00 |
|
rubidium
|
a7db265bb6
|
(svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore.
|
2008-05-13 14:43:33 +00:00 |
|
glx
|
dacd2c5de8
|
(svn r13047) -Codechange: remove vp_d
|
2008-05-11 15:08:44 +00:00 |
|
rubidium
|
ee3c14b344
|
(svn r13046) -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow.
|
2008-05-11 15:00:11 +00:00 |
|
rubidium
|
89a60ce249
|
(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.
|
2008-05-11 14:23:45 +00:00 |
|
rubidium
|
0f7d925121
|
(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
|
2008-05-09 09:29:27 +00:00 |
|
rubidium
|
11d36d5e46
|
(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used.
|
2008-05-08 14:14:16 +00:00 |
|
rubidium
|
92aac531c2
|
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
|
2008-05-08 11:50:34 +00:00 |
|
rubidium
|
c27f3cfa62
|
(svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations.
|
2008-05-06 22:17:12 +00:00 |
|
rubidium
|
9db77e3808
|
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
|
2008-05-06 22:08:18 +00:00 |
|
rubidium
|
8796331d83
|
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
|
2008-05-06 21:28:30 +00:00 |
|
rubidium
|
1ce0b03bf0
|
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
|
2008-05-06 15:11:33 +00:00 |
|
bjarni
|
d6c971fd9b
|
(svn r12912) -Codechange: overloaded ChangeVehicleViewWindow() so each argument can be either a Vehicle pointer or a VehicleID
|
2008-04-27 18:05:48 +00:00 |
|
rubidium
|
51c7ba39a4
|
(svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
|
2008-04-19 13:17:19 +00:00 |
|
rubidium
|
99733b2b3e
|
(svn r12788) -Codechange: unduplicate some vehicle GUI code. Patch by Alberth.
|
2008-04-19 13:07:37 +00:00 |
|
rubidium
|
8857f5057f
|
(svn r12766) -Add: sorting by road vehicle/train length. Based on a patch by Sir Bob.
|
2008-04-18 10:58:11 +00:00 |
|
rubidium
|
ca1f8fbe2e
|
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
|
2008-04-18 04:37:06 +00:00 |
|
rubidium
|
6d063c3ad6
|
(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
|
2008-04-17 19:10:30 +00:00 |
|
rubidium
|
22353393cd
|
(svn r12687) -Change: show when a vehicle is actually leaving the station instead of loading/unloading.
|
2008-04-13 16:48:28 +00:00 |
|
rubidium
|
cf250390c5
|
(svn r12615) -Codechange: rename some enums related to depot orders to make it more clear that they are no loading/unloading flags. Also add more type strictness.
|
2008-04-07 19:18:56 +00:00 |
|
rubidium
|
53d101cc99
|
(svn r12593) -Codechange: hide Order's flags in most of the code.
|
2008-04-06 15:09:45 +00:00 |
|
rubidium
|
935b562074
|
(svn r12588) -Codechange: do not access the destination of an order directly.
|
2008-04-06 07:48:51 +00:00 |
|
rubidium
|
3b0e3d8d30
|
(svn r12584) -Codechange: do not access the order type directly.
|
2008-04-05 23:36:54 +00:00 |
|
rubidium
|
df1d9bd880
|
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
2008-03-31 00:17:39 +00:00 |
|
rubidium
|
c51b81c247
|
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
|
2008-03-31 00:06:17 +00:00 |
|
rubidium
|
b84b16cfcd
|
(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.
|
2008-03-30 23:24:18 +00:00 |
|
rubidium
|
492d132831
|
(svn r12470) -Codechange: split order related types from order.h (and openttd.h) to order_type.h.
|
2008-03-28 16:36:32 +00:00 |
|
rubidium
|
105b95e94c
|
(svn r12441) -Feature: open the time table when pressing the order button while pressing the CTRL key. Patch by Phil Sophus.
|
2008-03-27 14:34:29 +00:00 |
|
smatz
|
d28cc5be80
|
(svn r12324) -Fix (r6789): vehicles could be sorted in a wrong order when a vehicle name changed - cached name was not invalidated
|
2008-03-02 00:25:54 +00:00 |
|
smatz
|
4a395562f2
|
(svn r12323) -Fix [FS#1821](r6789): vehicle sorting by name was broken, it was comparing two the same strings (when caching was not used)
|
2008-03-01 23:53:58 +00:00 |
|
glx
|
6f55c7e0e8
|
(svn r12261) -Fix [FS#1805]: autoreplace did not update vehicle index for timetable window
|
2008-02-25 23:12:55 +00:00 |
|
smatz
|
9bdb194b2a
|
(svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the train had negative income
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
|
2008-02-20 17:06:58 +00:00 |
|
smatz
|
fe48d0be21
|
(svn r12134) -Change: count the number of ticks a vehicle was running this day to calculate running cost
-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
|
2008-02-13 19:24:40 +00:00 |
|
peter1138
|
833a00def9
|
(svn r12133) -Fix: Vehicle sorting by max speed did not work properly for trains. Instead of trying to work it out again, just use the cached values...
|
2008-02-13 18:11:19 +00:00 |
|
maedhros
|
f95fb570ad
|
(svn r11994) -Codechange: Remove numbers from string names where the strings aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
|
2008-01-27 17:32:12 +00:00 |
|
smatz
|
dfb91c26ec
|
(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
-Fix: refit button widget was not correctly updated
|
2008-01-18 13:02:47 +00:00 |
|
peter1138
|
04da1e1d45
|
(svn r11915) -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
|
2008-01-18 10:36:55 +00:00 |
|
peter1138
|
1182a940cf
|
(svn r11912) -Codechange: use dropdown widget for autoreplace, station builder and (second?) vehicle list windows
|
2008-01-17 21:57:20 +00:00 |
|
frosch
|
3ae0c5316c
|
(svn r11899) -Cleanup: Remove ShowReplaceVehicleWindow() as it is basically a duplicate of ShowReplaceGroupVehicleWindow().
|
2008-01-17 17:35:59 +00:00 |
|
rubidium
|
736640fd87
|
(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*.
|
2008-01-15 18:44:22 +00:00 |
|
peter1138
|
1fa2285327
|
(svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
2008-01-14 16:10:58 +00:00 |
|
rubidium
|
9c0c798dd8
|
(svn r11834) -Codechange: only include settings_type.h if needed.
|
2008-01-13 14:37:30 +00:00 |
|
rubidium
|
90acd52f22
|
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
|
2008-01-13 01:21:35 +00:00 |
|
peter1138
|
0f7392bd61
|
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
2008-01-12 19:58:06 +00:00 |
|
rubidium
|
2fc62eab05
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
2008-01-12 14:10:35 +00:00 |
|