rubidium
|
4ea5308d49
|
(svn r14306) -Codechange: unify the code to draw the vehicle list.
-Fix [FS#2292]: inconsistency between drawn vehicle lists in the vehicle list and group windows.
|
16 years ago |
rubidium
|
ac48a45cb8
|
(svn r14303) -Codechange: make the vehicle list part of the group window look exactly like the vehicle list instead of some buttons being one pixel wider/smaller.
|
16 years ago |
rubidium
|
f60ef76050
|
(svn r14302) -Codechange: simplify and make the vehicle list and group windows behave the same w.r.t. getting wider (by default) for trains than the other vehicles.
|
16 years ago |
rubidium
|
3423721523
|
(svn r14301) -Codechange: give the vehicle list and group list the same relative size and the same absolute height for the vehicle list items.
|
16 years ago |
rubidium
|
c816cc37fd
|
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
|
16 years ago |
belugas
|
a63bcef135
|
(svn r13879) -Codechange: Replace numbers with Colours enum on engine, industries and group gui
|
16 years ago |
rubidium
|
6898a76c5f
|
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
|
16 years ago |
skidd13
|
ec261a6456
|
(svn r13587) -Codechange: make some globals members of VehicleListBase since they are used as such
-Cleanup: some small things referring the change
|
17 years ago |
skidd13
|
d85c5f020b
|
(svn r13534) -Codechange: Replace the main part of VehiclesListBase sorting with GUIList function calls
|
17 years ago |
peter1138
|
698a51a41e
|
(svn r13319) -Codechange: Remove use of imaginary horizontal scrollbar in the group vehicle list
|
17 years ago |
smatz
|
33dc3165be
|
(svn r13280) -Fix (r13276): MSVC compilation was broken
|
17 years ago |
skidd13
|
16cee252a7
|
(svn r13271) -Codechange: groups sorting uses GUILists Sort() now
|
17 years ago |
peter1138
|
0434e83e91
|
(svn r13270) -Codechange: There is no need to clear lists in the window constructor
|
17 years ago |
peter1138
|
781b90ac91
|
(svn r13266) -Codechange: Use SmallVector in GUIList
|
17 years ago |
rubidium
|
162e2e074b
|
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
|
17 years ago |
rubidium
|
3ee2556585
|
(svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
|
17 years ago |
rubidium
|
a89b5721a8
|
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
|
17 years ago |
rubidium
|
0d2e74fb71
|
(svn r13078) -Fix: group gui used the vehicle type before it was actually set.
|
17 years ago |
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.
|
17 years ago |
rubidium
|
ee3c14b344
|
(svn r13046) -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow.
|
17 years ago |
rubidium
|
89a60ce249
|
(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.
|
17 years ago |
rubidium
|
92aac531c2
|
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
|
17 years ago |
rubidium
|
c28ce39e3c
|
(svn r12987) -Codechange: split viewport and tile selection.
|
17 years ago |
rubidium
|
9db77e3808
|
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
|
17 years ago |
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.
|
17 years ago |
rubidium
|
8857f5057f
|
(svn r12766) -Add: sorting by road vehicle/train length. Based on a patch by Sir Bob.
|
17 years ago |
rubidium
|
f4b07a78c4
|
(svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs).
|
17 years ago |
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.
|
17 years ago |
smatz
|
d0fdbce6d2
|
(svn r12576) -Feature(tte) [FS#337]: highlight vehicle chain when dragging in the group and depot GUI if appropriate
|
17 years ago |
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.
|
17 years ago |
rubidium
|
bf54e0ba1c
|
(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.
|
17 years ago |
peter1138
|
38be279d3a
|
(svn r12374) -Fix (r11892): Don't close a dropmenu when clicking on a dropdown widget
|
17 years ago |
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
|
17 years ago |
smatz
|
d7a72c7002
|
(svn r12166) -Fix [FS#337]: when drag&drop mode was cancelled by keyboard input, depot/group window wasn't updated (original patch by GrimRC)
|
17 years ago |
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
|
17 years ago |
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.
|
17 years ago |
peter1138
|
727d07c67e
|
(svn r11904) -Codechange: use dropdown widget in 3 more windows, build vehicle, group vehicle list and station list.
|
17 years ago |
peter1138
|
41df004043
|
(svn r11892) -Fix (r11879): View switched from ungrouped to all vehicles as ungrouped is not technically a valid group, and ensure dropdown is removed
on any click in the window.
|
17 years ago |
peter1138
|
e2724bed6c
|
(svn r11880) -Codechange: Generate vehicle group action dropdown dynamically, and assign an enum for the function return codes.
|
17 years ago |
peter1138
|
389f8e0d8f
|
(svn r11879) -Fix: Only update group action drop down list when clicking on the dropdown text/button. Other times is not needed and caused a double free.
|
17 years ago |
peter1138
|
c2ae2334ec
|
(svn r11878) -Fix: Crash in MP in vehicle group window if the currently selected group is deleted by another player.
|
17 years ago |
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.
|
17 years ago |
rubidium
|
90acd52f22
|
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
|
17 years ago |
rubidium
|
2fc62eab05
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
17 years ago |
rubidium
|
c004cc1fd9
|
(svn r11801) -Codechange: remove some unneeded includes from some header files.
|
17 years ago |
rubidium
|
64d691bacc
|
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
|
17 years ago |
rubidium
|
b09d957f31
|
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
|
17 years ago |
rubidium
|
e2f7ec1d3e
|
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
|
17 years ago |
peter1138
|
890296c125
|
(svn r11742) -Codechange [FS#1319]: Run window tick events when paused, so that news pop-ups and the about window still progress. For other windows the events are ignored when paused.
|
17 years ago |
rubidium
|
722613f7f3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
17 years ago |